I'm trying to deploy my local Django project on my RedHat server. So I install all the libraries and dependencies that I needed (also mod_wsgi).
So, I edit my project's settings and move my local project to the server. But I'm facing an issue: when I try to reach the URL of my project, I have the explorer view.
I also edit the httpd.conf file:
WSGIScriptAlias /var/www/html/virtualEnv/ /var/www/html/virtualEnv/ThirdPartyApplications/ThirdPartyApplications/wsgi.py
WSGIPythonPath /var/www/html/virtualEnv/ThirdPartyApplications/:/var/www/html/virtualEnv/lib/python2.7/site-packages
WSGIDaemonProcess http://licops.app.ale-international.com/ python-path=/var/www/html/virtualEnv/ThirdPartyApplications/:/var/www/html/virtualEnv/lib/python2.7/site-packages
WSGIProcessGroup http://licops.app.ale-international.com/
<Directory /var/www/html/virtualEnv/ThirdPartyApplications/>
<Files wsgi.py>
Order deny,allow
Allow from all
</Files>
</Directory>
EDIT : @FlipperPA
So far, I'm running this conf in my /etc/httpd/conf.d/djangoproject.conf :
WSGISocketPrefix /var/run/wsgi
NameVirtualHost *:448
Listen 448
ServerName http://server.name-international.com
ErrorLog /home/myuser/apache_errors.log
WSGIDaemonProcess MyApp python-path=/var/www/html/MyApp:/var/www/html/MyApp/MyApp/lib/python2.7/site-packages
WSGIProcessGroup MyApp
WSGIScriptAlias /MyApp /home/user/MyApp/MyApp/wsgi.py
Alias /static /var/www/html/MyApp/MyApp/static