Wrong Handler settings for Shared Apache Settings
|Reported by:||cdavidowskiatcd||Owned by:||nobody|
|Has patch:||no||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
I was setting up a dev environment following the the directions for running django on a shared hosting provider with apache found at: http://docs.djangoproject.com/en/1.1/howto/deployment/fastcgi/#running-django-on-a-shared-hosting-provider-with-apache
I was running into problems with the script not being executed, but being printed out to the browser when I tried to access the page. I narrowed it down to a wrong AddHandler line.
it says to use the following line for AddHandler
AddHandler fastcgi-script .fcgi
I had to use the following line to get it to work.
AddHandler cgi-script .fcgi