0
votes

I follow this link for deploying django https://github.com/Johnnyboycurtis/webproject#apache-and-mod_wsgi

i'm using apache on xampp and this is my text adding to httpd.conf

Listen 8080
ServerName localhost:8080 
#first i try to use port 80 but it not work so i change to 8080 it not work too
#Django Project
LoadFile "C:/Users/Anaconda3/envs/ar-django/python39.dll"
LoadModule wsgi_module "C:/Users/Anaconda3/envs/ar-django/lib/site-packages/mod_wsgi/server/mod_wsgi.cp39-win_amd64.pyd"
WSGIPythonHome "C:/Users/Anaconda3/envs/ar-django"
WSGIScriptAlias / "C:/xampp/htdocs/tutorial/tutorial/wsgi.py"
WSGIPythonPath "C:/xampp/htdocs/tutorial/"

<Directory "C:/xampp/htdocs/tutorial/tutorial/">
    <Files wsgi.py>
        Require all granted
    </Files>
</Directory>

Alias /static "C:/xampp/htdocs/tutorial/static/"
<Directory "C:/xampp/htdocs/tutorial/static/">
    Require all granted
</Directory>

and when i run mod_wsgi-express module-config this is my output

LoadFile "C:/Users/Anaconda3/envs/ar-django/python39.dll"
LoadModule wsgi_module "C:/Users/Anaconda3/envs/ar-django/lib/site-packages/mod_wsgi/server/mod_wsgi.cp39-win_amd64.pyd"
WSGIPythonHome "C:/Users/Anaconda3/envs/ar-django"

when i run apache server. apache PID keep changing

what wrong with setting in httpd.conf file and how to fix it

Thanks for any kind of help