Re: cgi script as domain root index (howto)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



It was thus said that the Great Tim Johnson once stated:
> * Eric Covener <covener@xxxxxxxxx> [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@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux