httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ben Mihailescu <>
Subject Re: [users@httpd] Allowing CGI from a specific directory
Date Thu, 07 Nov 2002 14:56:39 GMT
I got it. Sometimes it's right under your nose...I guess it's time to 
stop starring into the monitor and get some sleep. Thanks Owen!

Cheers, Ben

Boyle Owen wrote:

>>-----Original Message-----
>>From: Ben Mihailescu []
>>Sent: Mittwoch, 6. November 2002 18:08
>>I would like to allow one of my
>>users to run cgis from his www directory. How would I go about it?
>>Here's the pertinent section of httpd.conf:
>> #
>>    ScriptAlias /cgi-bin/ "/home/deptinfo/www"
>>    ScriptAlias /www/ "/home/tabot/www/"
>>    #
>>    # "/var/apache/cgi-bin" should be changed to whatever your 
>>    # CGI directory exists, if you have that configured.
>>    #
>>    <Directory "/home/tabot/www/">
>>        AllowOverride All
>>        Options None
>>        Order allow,deny
>>        Allow from all
>>    </Directory>
>>My error_log entry looks like this:
>>[Wed Nov  6 11:57:27 2002] [error] [client] Options
>>ExecCGI is off in this directory: /home/tabot/www/ta_appl.cgi
>I guess you didn't understand this message? You have said "Options None"
>in the directory container above. So you have switched off all options,
>including ExecCGI (if you look up the "Options" directive in the docs,
>you will see that one of the arguments is "ExecCGI", which allows
>execution of CGIs). So what you need is:
><Directory "/home/tabot/www/">
>  AllowOverride All 
>  Options ExecCGI <-------- NB
>  Order allow,deny 
>  Allow from all
>Was there are reason you said "Options None" in the first place?
>Owen Boyle
>This message is for the named person's use only. It may contain
>confidential, proprietary or legally privileged information. No
>confidentiality or privilege is waived or lost by any mistransmission.
>If you receive this message in error, please notify the sender urgently
>and then immediately delete the message and any copies of it from your
>system. Please also immediately destroy any hardcopies of the message.
>You must not, directly or indirectly, use, disclose, distribute, print,
>or copy any part of this message if you are not the intended recipient.
>The sender's company reserves the right to monitor all e-mail
>communications through their networks. Any views expressed in this
>message are those of the individual sender, except where the message
>states otherwise and the sender is authorised to state them to be the
>views of the sender's company. 
>The official User-To-User support forum of the Apache HTTP Server Project.
>See <URL:> for more info.
>To unsubscribe, e-mail:
>   "   from the digest:
>For additional commands, e-mail:

Ben Mihailescu
System Administrator
Electrical and Computer Engineering
McGill University, Montreal, Canada

View raw message