Opened 15 years ago
Closed 15 years ago
#12961 closed (invalid)
Wrong Handler settings for Shared Apache Settings
Reported by: | cdavidowskiatcd | Owned by: | nobody |
---|---|---|---|
Component: | Documentation | Version: | 1.1 |
Severity: | Keywords: | ||
Cc: | Triage Stage: | Unreviewed | |
Has patch: | no | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description
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
Thanks.
The instructions provided are correct, as long as mod_fastcgi is available on your apache install.