5

cherrypy application returning 404 with WSGIScriptAlias

view full story
linux-howto

http://serverfault.com – I have a cherrypy wsgi app tha works fine when it is mounted at the root url: <VirtualHost 127.0.0.1:80> ServerName test.com ServerAlias test WSGIScriptAlias / /var/www/app/app.wsgi ErrorLog /var/www/logs/error_log CustomLog /var/www/logs/access_log combined </VirtualHost> But it returns a 404 when trying to mount to any other url: <VirtualHost 127.0.0.1:80> ServerName test.com ServerAlias test WSGIScriptAlias /myapp /var/www/app/app.wsgi ErrorLog /var/www/logs/error_log CustomLog /var/www/logs/access_log combined </Virtual (HowTos)