Yep. Same issue as: https://groups.google.com/forum/#!topic/modwsgi/X_Z4FQxXVoQ
We are still pondering what is going wrong in that case and why this has started recently. I don't control those binary builds, and I don't specifically know if the 3.5 versions have been rebuilt recently and whether that is causing an issue. The 4.4.X builds are knew, but have warned against them for now unless keen to experiment and let me know if they work. You might want to monitor that other discussion. I am trying to work out the next thing to suggest in the other discussion. The only difference in your case is that you are using the fact that mod_access_compat is loaded and using the Apache 2.2 style directives of: Order allow,deny Allow from all rather than newer Apache 2.4 way of: Require all granted Graham On 04/12/2014, at 11:22 AM, marco del corto <[email protected]> wrote: > I have a problem about how to configure mod_wsgi to run a basic WSGI > application > I followed the guide at > https://code.google.com/p/modwsgi/wiki/QuickConfigurationGuide > here my environment: > - Windows 8.1 > - Apache 2.4.10 (httpd-2.4.10-win64-VC11) > - Python 3.4 (python-3.4.2.amd64.msi) > my steps: > 1. Get Windows binaries from > http://www.lfd.uci.edu/~gohlke/pythonlibs/#mod_wsgi (download of > mod_wsgi-3.5.ap24.win-amd64-py3.4.zip - that contains: mod_wsgi.so) > 2. added the following line to httpd.conf > LoadModule wsgi_module modules/mod_wsgi.so > 3. created a file myapp.wsgi in folder “C:\Apache24\wsgi_scripts\” with: > def application(environ, start_response): > status = '200 OK' > output = 'myapp.wsgi - Hello World!' > response_headers = [('Content-type', 'text/plain'), > ('Content-Length', str(len(output)))] > start_response(status, response_headers) > return [output] > 4. added following lines to httpd.conf > <VirtualHost *:80> > ServerName www.vm1w8.com > ServerAlias vm1w8.com > ServerAdmin [email protected] > DocumentRoot c:/Apache24/htdocs > <Directory c:/Apache24/htdocs> > Order allow,deny > Allow from all > </Directory> > WSGIScriptAlias /myapp C:/Apache24/wsgi-scripts/myapp.wsgi > <Directory C:/Apache24/wsgi-scripts> > Order allow,deny > Allow from all > </Directory> > </VirtualHost> > 5. after restart Apache I get: > from url www.vm1w8.com -> a page with "It works!" (from default apache > index.html) > from url www.vm1w8.com/myapp -> a page with: > Forbidden > You don't have permission to access /myapp on this server. > note: the file C:/Apache24/wsgi-scripts/myapp.wsgi has read-execute > permission for Apache user > can you help me to understand where is the problem? > thanks > > -- > 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 http://groups.google.com/group/modwsgi. > For more options, visit 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 http://groups.google.com/group/modwsgi. For more options, visit https://groups.google.com/d/optout.
