Passenger_wsgi.py given precedence over DirectoryIndex?
- by Walkerneo
I was having an issue with my site today, where apache wasn't serving index.php by default.
I had moved passenger_wsgi.py to the directory above document root so that I could serve python files without having to use PassengerAppRoot in the .htaccess file. I wanted to do this because I set up a development sub-domain on the site, and I wanted to use a different passenger_wsgi for the two domains, but that meant having different .htaccess files for the different PassengerAppRoots.
Is there a way to have passenger_wsgi.py where it was and still let apache serve the index.phps?
edit: I'm sorry, I'm tired. I just realized that the way this probably works is that passenger_wsgi.py is handling the routing instead of apache.