Is the Apache web server hosted on your own local machine. If it is try 
http://localhost <http://localhost/> instead if it is listening on standard 
port 80.

Trying to use actual IP of your local machine may well fail on Windows 
depending on how the firewall is configured.

Also, it may not work depending on whether Apache configuration was done 
correctly. All too common for people to get confused around how to set up 
VirtualHost definitions in Apache configuration. Since you don't say where you 
added WSGIScriptAlias directive and what VirtualHost definitions you have, is 
hard to say whether that may be the issue.

Graham

> On 1 Nov 2024, at 4:36 AM, Gaetano Leoni <[email protected]> wrote:
> 
> Hi I managed to fix the httpd.conf file and now when I launch http -d it 
> doesn't return any error.
> I launched xampp and invoked the webserver with 192.3168.x.xx but it fails to 
> connect, what can I do to figure out where the error is ?
> I have checked all the files present in the logs folder and no errors appear
> 
> Il giorno gio 31 ott 2024 alle ore 10:50 Graham Dumpleton 
> <[email protected] <mailto:[email protected]>> ha scritto:
>> If you are installing on Windows using "pip install" method, after you do 
>> that you need to run:
>> 
>>     mod_wsgi-express module-config
>> 
>> This will output some lines like:
>> 
>>     LoadModule wsgi_module 
>> /usr/local/lib/python2.7/site-packages/mod_wsgi/server/mod_wsgi-py27.so
>>     WSGIPythonHome /usr/local/lib
>> 
>> That example is for Linux though.
>> 
>> On Windows the suffix on the loadable Apache module referenced by LoadModule 
>> will be .pyo or .pyd from memory, it will not be a .so extension.
>> 
>> That you say you are getting error about mod_wsgi.so file being missing 
>> means that you probably didn't do that and have copied too literally the 
>> Django documentation or something else which says to use a .so extension.
>> 
>> So verify what you used for LoadModule directive and ensure it matches what 
>> that command outputs.
>> 
>>> On 31 Oct 2024, at 8:29 PM, Gaetano Leoni <[email protected] 
>>> <mailto:[email protected]>> wrote:
>>> 
>>> Which of the following did you do?
>>> I followed the directions in this 
>>> linkhttps://docs.djangoproject.com/en/5.1/howto/deployment/wsgi/modwsgi/ 
>>> <http://docs.djangoproject.com/en/5.1/howto/deployment/wsgi/modwsgi/>
>>> 
>>> * Install system Apache/mod_wsgi package.
>>> I only installed xammp
>>> 
>>> * Install using pip install mod_wsgi and configure Apache to use that.
>>> From https://pypi.org/ I downloaded mod_wsgi and installed using pip 
>>> install mod_wsgi
>>> WSGIScriptAlias / /xampp/htdocs/PalestraGes/PalestraGes/wsgi.py
>>> WSGIPythonHome /xampp/htdocs/PalestraGes/venv
>>> WSGIPythonPath /xampp/htdocs/PalestraGes.
>>> 
>>> <Directory /xampp/htdocs/PalestraGes/PalestraGes>.
>>> <Files wsgi.py>
>>> Require all granted
>>> </Files>
>>> </Directory>
>>> 
>>> * Build and install mod_wsgi from source code.
>>> I read that you have to compile a file. I downloaded the 
>>> mod_wsgi-5.0.1.tar.gz folder and in the src/server folder there are several 
>>> files but I don't know which one I should use or how to compile it (I think 
>>> it's refereed to the mod_wsgi.so file ?)
>>> 
>>> * Some other way.
>>> In the notes I read that in the apache folder there should be the mod_WSGI 
>>> folder but it is not present
>>> 
>>> 
>>> Il giorno dom 27 ott 2024 alle ore 20:53 Graham Dumpleton 
>>> <[email protected] <mailto:[email protected]>> ha scritto:
>>>> What steps did you take to install mod_wsgi?
>>>> 
>>>> Which of the following did you do?
>>>> 
>>>> * Install system Apache/mod_wsgi package.
>>>> * Install using pip install mod_wsgi and configure Apache to use that.
>>>> * Build and install mod_wsgi from source code.
>>>> * Some other way.
>>>> 
>>>> What changes did you make to the Apache configuration?
>>>> 
>>>>> On 28 Oct 2024, at 3:49 AM, Gaetano Leoni <[email protected] 
>>>>> <mailto:[email protected]>> wrote:
>>>>> 
>>>>> Hi, has anyone ever installed mod_wsgi with apache ?
>>>>> I read How to use Django with Apache and mod_wsgi and after installing 
>>>>> mod_wsgi and updating http.conf apache doesn't start because mod_WSGI.so 
>>>>> file is missing and also mod_wsgi folder is not present inside apache 
>>>>> folder
>>>>> 
>>>>> -- 
>>>>> 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 view this discussion visit 
>>>>> https://groups.google.com/d/msgid/modwsgi/61ea575a-dbb6-42ce-bfa0-f2c6a2cef30fn%40googlegroups.com
>>>>>  
>>>>> <https://groups.google.com/d/msgid/modwsgi/61ea575a-dbb6-42ce-bfa0-f2c6a2cef30fn%40googlegroups.com?utm_medium=email&utm_source=footer>.
>>>> 
>>>> 
>>>> -- 
>>>> 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 view this discussion visit 
>>>> https://groups.google.com/d/msgid/modwsgi/639316B7-7623-441F-B84D-85723FF41F29%40gmail.com
>>>>  
>>>> <https://groups.google.com/d/msgid/modwsgi/639316B7-7623-441F-B84D-85723FF41F29%40gmail.com?utm_medium=email&utm_source=footer>.
>>> 
>>> 
>>> -- 
>>> 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 view this discussion visit 
>>> https://groups.google.com/d/msgid/modwsgi/CAAucONSPGq%3DcB43qjMhSM4shp03gC3g3Fv%2BG1FkwhZAHs9TJWg%40mail.gmail.com
>>>  
>>> <https://groups.google.com/d/msgid/modwsgi/CAAucONSPGq%3DcB43qjMhSM4shp03gC3g3Fv%2BG1FkwhZAHs9TJWg%40mail.gmail.com?utm_medium=email&utm_source=footer>.
>> 
>> 
>> -- 
>> 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 view this discussion visit 
>> https://groups.google.com/d/msgid/modwsgi/0B18E630-D322-47EC-989F-735A904E12AB%40gmail.com
>>  
>> <https://groups.google.com/d/msgid/modwsgi/0B18E630-D322-47EC-989F-735A904E12AB%40gmail.com?utm_medium=email&utm_source=footer>.
> 
> 
> -- 
> 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 view this discussion visit 
> https://groups.google.com/d/msgid/modwsgi/CAAucONQLuoe5k907Ery5U%3D%2Ba8bufrd4yW5CuM8-%3DouAGioG-OQ%40mail.gmail.com
>  
> <https://groups.google.com/d/msgid/modwsgi/CAAucONQLuoe5k907Ery5U%3D%2Ba8bufrd4yW5CuM8-%3DouAGioG-OQ%40mail.gmail.com?utm_medium=email&utm_source=footer>.

-- 
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 view this discussion visit 
https://groups.google.com/d/msgid/modwsgi/1B7FB0EA-E080-437E-A7E9-075B7FF838E5%40gmail.com.

Reply via email to