On 27/02/2013 11:49 AM, "Tim Johnson" <t...@akwebsoft.com> wrote: > > Using apache on Mac OSX 10.7. > I have a test django application with a executable file named > > index.fcgi (permissions = 755) > > My .htaccess looks like this : > ############################################################# > AcceptPathInfo On > AddHandler fcgid-script .fcgi > RewriteEngine on > RewriteCond %{REQUEST_FILENAME} !-f > RewriteRule ^(.*)$ index.fcgi/$1 [L,QSA] > ############################################################# > When I point my browser to the directory in which the file > is located, the code is printed out, rather than executed. > > I'm sure that there are other options to be enabled, but I am brand > new to fastcgi (note: fastcgi is enabled). > Try adding Options +ExecCGI
> If this is deployed to a website where my domain is hosted, I will > not have access to apache configuration, thus .htaccess must do > all the work (if possible). > > TIA > -- > Tim > tim at tee jay forty nine dot com or akwebsoft dot com > http://www.akwebsoft.com > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org > For additional commands, e-mail: users-h...@httpd.apache.org >