Hello, I'm running into a strange problem where having a trailing slash on the end of a WSGIScriptAlias directive is causing me serious issues:
Using this version on Oracle Linux 6: python32-mod_wsgi-3.4-1.ius.el6.x86_64 Note line 94. 83 # member.thecallingmaniac.com.2.jason.step.appcove.net|NoSSL (DevLevel.2) 84 <VirtualHost 127.0.0.1:8123> 85 ServerName member.thecallingmaniac.com.2.jason.step.appcove.net 86 DocumentRoot /home/jason/DevLevel.2/TCM/Web/MemberSite 87 RewriteEngine on 88 RewriteOptions inherit 89 AddDefaultCharset UTF-8 90 RewriteEngine on 91 RewriteRule ^/m$ /mobile/ [R,L] 92 RewriteRule \.(py|pyc|pyo|wsgi)$ - [F] 93 WSGIScriptAlias /api/callcenter/ /home/jason/DevLevel.2/TCM/Web/MemberSite/api/callcenter/index.wsgi 94 WSGIScriptAlias /mobile /home/jason/DevLevel.2/TCM/Web/MemberSite/mobile/index.wsgi 95 WSGIScriptAlias / /home/jason/DevLevel.2/TCM/Web/MemberSite/index.wsgi 96 WSGIProcessGroup Port8123 97 LogLevel info 98 ErrorLog /home/jason/DevLevel.2/TCM/apache-error.log 99 </VirtualHost> When requesting /mobile/login... If it is "/mobile/", then I receive the following message in my apache error log: [Thu Oct 18 15:31:14 2012] [error] [client 192.168.50.229] Target WSGI script not found or unable to stat: /home/jason/DevLevel.2/TCM/Web/MemberSite/mobile/index.wsgilogin If it is "/mobile", then everything works fine. The strange part here is at the end of the error message, we have "index.wsgilogin". If I change the request to "/mobile/foobarbaz", then the error ends with "index.wsgifoobarbaz" Is this a bug, or a feature? Thanks! Jason Garber -- You received this message because you are subscribed to the Google Groups "modwsgi" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/modwsgi?hl=en.
