Проблемы с файлами конфигурации Apache для виртуальных хостовApache

Ответить
Anonymous
 Проблемы с файлами конфигурации Apache для виртуальных хостов

Сообщение Anonymous »


I seem to be getting into a issue with configuration files for virtualhosts with apache. When I copy them to the conf.d directory, they read in fine and work fine. I setup a a2ensite and a2dissite script which makes a symlink to the configuration files in sites-available to the sites-enabled directory.

However.. when I goto run httpd, it doesn't seem to want to read them. Only until they are copied to the conf.d directory does apache seem to see them and load them.

I included the

IncludeOptional sites-enabled/*.conf

in the httpd.conf conf file in /etc/httpd/conf/

I even checked the sexlinux security setting for that directory . unconfined_u:object_r:httpd_config_t:s0 sites-enabled

I am kind of stuck as to why apache doesn't seem to want to read in and see the config files in sites-enabled when I have them copied there. It is baffling me. Its got to be something simple I am missing.


Источник: https://stackoverflow.com/questions/780 ... tual-hosts
Ответить

Быстрый ответ

Изменение регистра текста: 
Смайлики
:) :( :oops: :roll: :wink: :muza: :clever: :sorry: :angel: :read: *x)
Ещё смайлики…
   
К этому ответу прикреплено по крайней мере одно вложение.

Если вы не хотите добавлять вложения, оставьте поля пустыми.

Максимально разрешённый размер вложения: 15 МБ.

Вернуться в «Apache»