I'm running RedHat 5.1 with Apache Web Server. I've been successful in seeing 
and replacing the "It worked! Test Page for Apache Installation" 
(/home/httpd/html/index.html) from other machines.

I have a HTML Form in the same directory as the test page.  When I place 
script-files in /home/httpd/cgi-bin and set the Form Method=Post 
Action=/cgi-bin/scriptname.pl I get a "Forbidden" Error (accessing cgi-bin) 
when I submit the form. 
What am I doing wrong here?

Permissions for /home/httpd, /home/cgi-bin, and /home/html are all drwxr-xr-x
I haven't created any .htaccess in any directories to override the *.conf 
files, which are very close to defaults but listed below:

httpd.conf
    ServerType standalone
    Port 80
    HostnameLookups off
    User nobody
    Group nobody
    ServerRoot /etc/httpd
    ErrorLog /var/log/httpd/error_log
    TransferLog /var/log/httpd/access_log
    PidFile /var/run/httpd.pid


srm.conf
    DocumentRoot /home/httpd/html
    UserDir public_html
    DirectoryIndex index.html index.htm index.shtml index.cgi
    [AddIcon Lines]
    [AddEncoding Lines]
    [AddLanguage Lines]
    AccessFileName .htaccess
    ScriptAlias /cgi-bin/ /home/httpd/cgi-bin/
    AddHandler server-parsed .shtml
    

access.conf:
    </Directory /home>
    Options Indexes IncludesNOEXEC
    AllowOverride None
    </Directory>

    <Directory /home/httpd/html>
    Options Indexes Includes ExecCGI FollowSymLinks
    AllowOverride None
    order allow,deny
    allow from all
    </Directory>

    <Directory /home/httpd/cgi-bin>
    AllowOverride None
    Options ExecCGI
    </Directory>


Reply via email to