-----BEGIN PGP SIGNED MESSAGE-----

I use these settings in my access.conf:

<DirectoryMatch ^/home/.*/public_html>
Options SymLinksIfOwnerMatch Indexes
AllowOverride None
</DirectoryMatch>

<DirectoryMatch ^/home/.*/public_html/cgi-bin>
Options ExecCGI SymLinksIfOwnerMatch
AllowOverride None
AddHandler cgi-script .cgi .pl
</DirectoryMatch>

Nothing needed in srm.conf.
I can not be positively sure I did not have to change something elsewhere
since this is something I set up a few months ago, but I think that was all
there was to do.

- -Lex


On Wed, 9 Jun 1999, Shao Zhang wrote:

> Hi,
>       Can anyone help me set up apache so that all the users can execute 
> their own cgi scripts??
> 
>       I have set the following, but it does not work:
> 
>       in srm.conf: AddHandler cgi-script .cgi
> 
>       in access.conf: 
>               <Directory /home/*/public_html>
>               AllowOverride All
>               Options ExecCGI FollowSymLinks Indexes
>               allow from all
>               </Directory>
> 
> 
>       and the error message reads:
> 
>       [Wed Jun  9 18:12:31 1999] [error] [client 203.17.36.12] Options 
> ExecCGI is off in this directory: /home/shao/public_html/try/cgi-bin/hello.cgi
>       [Wed Jun  9 18:12:32 1999] [error] [client 203.17.36.12] Options 
> ExecCGI is off in this directory: /home/shao/public_html/try/cgi-bin/hello.cgi
> 
>       Thanks for any help in advance.
> 
> Shao.
> 
> -- 
> ____________________________________________________________________________
> Shao Zhang - Running Debian 2.1  ___ _               _____
> Department of Communications    / __| |_  __ _ ___  |_  / |_  __ _ _ _  __ _ 
> University of New South Wales   \__ \ ' \/ _` / _ \  / /| ' \/ _` | ' \/ _` |
> Sydney, Australia               |___/_||_\__,_\___/ /___|_||_\__,_|_||_\__, |
> Email: [EMAIL PROTECTED]                                                  
> |___/ 
> _____________________________________________________________________________
> 
> 
> -- 
> Unsubscribe?  mail -s unsubscribe [EMAIL PROTECTED] < /dev/null
> 
> 

-----BEGIN PGP SIGNATURE-----
Version: 2.6.3i
Charset: noconv

iQB1AwUBN17qvzgIWdzVLpk5AQGfpQMAwR9p7h4XeGwXniAsJjTRFsmuUZZ3L11c
2D3KMte4D5wyFMRBZRqKUiEbV6UnyxclhNWaPJumpgcmmHpXQHTemgOiEWKZolj6
P0FonuKsbh/IIMsPLKLvwUCw9lCh/Rak
=XXVQ
-----END PGP SIGNATURE-----

Reply via email to