Hi,
Sometimes the Apache log file (something like /var/log/apache2/error.log, but it may be /var/log/apache2/yourdomain-error.log) has an additional error message that may help you track down the problem.
Regards,
Antonis
Antonis Christofides http://djangodeployment.com
On 2017-08-30 10:10, deepak gupta wrote:
I have Django App--Using Django 1.9, Apache 2.4.6Hosted on HTTPSCertificate is : Multi Domain Certificate: *.customer.mydomain.com
I am facing the Issue of HTTP Error 403 - Forbidden , The Web server is configured to not list contents of this directory or you do not have enough permission to access the resource.
My .conf file is:
Listen 80NameVirtualHost *:80<VirtualHost *:80>Redirect permanent / https://xxx.xx.mydomain.com</VirtualHost>Listen 443NameVirtualHost *:443<VirtualHost *:443>ServerName xxx.xx.mydomain.com:443SSLEngine onSSLCertificateKeyFile /etc/apache2/ssl/private.keySSLCertificateFile /etc/apache2/ssl/star.xx.mydomain.com.crtSSLCertificateChainFile /etc/apache2/ssl/intermediates.ca-bundleSetEnvIf User-Agent ".*MSIE.*" nokeepalive ssl-unclean-shutdownAlias /static /opt/myproject/myproject/media<Directory /opt/myproject/><Files wsgi.py>Order allow,denyAllow from allRequire all granted</Files></Directory>
WSGIDaemonProcess processgroupname python-path=/opt/myproject:/opt/virtualenv/lib/python2.7/site-packagesWSGIProcessGroup processgroupnameWSGIScriptAlias / /opt/myproject/myproject/wsgi.pyWSGIPassAuthorization On</VirtualHost>Listen 8080NameVirtualHost *:8080<VirtualHost *:8080>Alias /static /opt/myproject/myproject/media<Directory /opt/myproject/myproject/><Files wsgi.py>Order allow,denyAllow from allRequire all granted</Files></Directory>
WSGIDaemonProcess processname python-path=/opt/myproject:/opt/virtualenv/lib/python2.7/site-packagesWSGIProcessGroup processnameWSGIScriptAlias / /opt/myproject/myproject/wsgi.pyWSGIPassAuthorization On</VirtualHost>
Do any one has idea or solution on this issue
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAP%3DkbM2fQ7VC4Ygtn-62CTrKF73xX45j47eYVepZjb_%2BP7dBOg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
No comments:
Post a Comment