httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sean Conner <...@conman.org>
Subject Re: [users@httpd] cgi script as domain root index (howto)
Date Mon, 01 Nov 2010 09:05:30 GMT
It was thus said that the Great Tim Johnson once stated:
> * Eric Covener <covener@gmail.com> [101031 17:14]:
> > >  """
> > >  You don't have permission to access /index.py on this server
> > >  """
> > 
> > Check your error log for a more informative message.
> 
>   Yeah right. :) why didn't I remember to do that?  
>   
>   From /var/log/apache2/error.log (on ubuntu 10.04) 
>   Options ExecCGI is off in this directory: /home/http/index.py 
>   
>   Alas, I have tried adding +ExecCgi to `default' without any luck.
> 
>   Example:
>       <Directory /home/http/> 
>         #Options Indexes FollowSymLinks MultiViews
>         Options +ExecCGI Indexes FollowSymLinks MultiViews
>         #AllowOverride None
>         AllowOverride all
>         #AllowOverride FileInfo
>         Order allow,deny
>         allow from all
>     </Directory>
> 
> 
>   Further comments are welcome. But you have put me on a better
>   track. Thanks

  You might want to add

	AddHandler cgi-script .py
	DirectoryIndex index.py index.html index.htm

  in the appropriate spot in your configuration file.

  -spc


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message