I have no idea what the module file is called for that distro. Look in the 
Apache modules directory to confirm you have it and what it is called.

> On 3 Sep 2018, at 6:01 pm, Νίκος @ SuperHost <[email protected]> 
> wrote:
> 
> LoadModule wsgi_module modules/mod_wsgi.so
> Include /etc/httpd/conf/httpd-vhosts.conf
> Iam using python36u-mod_wsgi though? is the loadmodule still the same?
> 
> Στις Δευ, 3 Σεπ 2018 στις 10:57 π.μ., ο/η Graham Dumpleton 
> <[email protected] <mailto:[email protected]>> έγραψε:
> The example is not Debian, it is from macOS.
> 
> Just add the 'Include' at the end of httpd.conf and give it the full path 
> name to your file for your virtual host.
> 
> If you don't have a LoadModule line for wsgi_module, you will need to add it 
> before including the file, or at the start of the virtual host file.
> 
> Graham
> 
>> On 3 Sep 2018, at 5:54 pm, Νίκος @ SuperHost <[email protected] 
>> <mailto:[email protected]>> wrote:
>> 
>> I just checked, there arent present, Also you line seems to search for 
>> Debian distro while iam using CentOS.
>> 
>> Στις Δευ, 3 Σεπ 2018 στις 10:35 π.μ., ο/η Graham Dumpleton 
>> <[email protected] <mailto:[email protected]>> έγραψε:
>> 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] 
>>> <mailto:[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 a topic in the 
>> Google Groups "modwsgi" group.
>> To unsubscribe from this topic, visit 
>> https://groups.google.com/d/topic/modwsgi/qUrloVGZRDA/unsubscribe 
>> <https://groups.google.com/d/topic/modwsgi/qUrloVGZRDA/unsubscribe>.
>> To unsubscribe from this group and all its topics, 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] 
>> <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 a topic in the Google 
> Groups "modwsgi" group.
> To unsubscribe from this topic, visit 
> https://groups.google.com/d/topic/modwsgi/qUrloVGZRDA/unsubscribe 
> <https://groups.google.com/d/topic/modwsgi/qUrloVGZRDA/unsubscribe>.
> To unsubscribe from this group and all its topics, 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] 
> <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.

Reply via email to