well, you need to do some manual editing of the httpd.conf file...

You need to add this line where it says:
#To use CGI script:

(AddHandler  cgi-script  .cgi .pl) without the parenthesis,of course
anywhere in the main config.

then in each users public_html or www directory config,at bottom:
(using mine...but change it to yours)

<Directory /home/kit/www>
        Options ExecCgi Includes IncludesNOEXEC MultiViews Indexes
FollowSymlinks SymLinksIfOwnerMatch
        AllowOverride AuthConfig FileInfo Indexes Limit Options
</Directory>
<Directory /home/kit/www/cgi-bin>
        Options ExecCgi Includes IncludesNOEXEC MultiViews Indexes
FollowSymlinks SymLinksIfOwnerMatch
        AllowOverride AuthConfig FileInfo Indexes Limit Options
#this is what you add;below:
ScriptAlias /cgi-bin/ /home/kit/www/cgi-bin/
AddHandler cgi-script .cgi .pl
</Directory>


vick Julius wrote:
> 
> Hi
> how can I  allow users to run CGI scripts in their home directories (in
> Apache)?
> thanks
> Vick
> _________________________________________________________________________
> Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.

-- 
            Registered Linux User: 167369
<============= http://www.kompukit.com =============>
[EMAIL PROTECTED]                        ICQ# 7110071
Personal WebServer:       http://kompukit.dyndns.org
WebDesigner:      http://www.kompukit.com/kitdesigns
(Personal Server runs: M-F= 7pm-12am & S+S=12pm-12am)
                     (US EST)

Reply via email to