Look for existing lines in main Apache configuration file of: # Virtual hosts #Include /private/etc/apache2/extra/httpd-vhosts.conf
The '#' is a comment character. Remove the '#' in front of the 'Include' line. Graham > On 3 Sep 2018, at 4:27 pm, Νίκος Βέργος <[email protected]> wrote: > > >Can you validate the virtual host site file is even being read, if it is a > >separate file, by adding a syntax error into it? Just add a new line in the > >VirtualHost of 'XXX'. That isn't obviously a valid directive and so >should > >create an error when you restart or start Apache. > > Hello Graham, > > I just added 'XXX' in '/etc/httpd/conf/httpd-vhosts.conf' and Apache > restarted without error. So, you are right it does NOT evan being read the > whole time! I'am using CemtOS by the way. > > >If using CentOS/Fedora, is the virtual host site file include in the main > >Apache configuration file? > > I don't know. How can i check that Directive if is present? What's its name? > > > -- > You received this message because you are subscribed to the Google Groups > "modwsgi" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected] > <mailto:[email protected]>. > To post to this group, send email to [email protected] > <mailto:[email protected]>. > Visit this group at https://groups.google.com/group/modwsgi > <https://groups.google.com/group/modwsgi>. > For more options, visit https://groups.google.com/d/optout > <https://groups.google.com/d/optout>. -- You received this message because you are subscribed to the Google Groups "modwsgi" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/modwsgi. For more options, visit https://groups.google.com/d/optout.
