[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Google
  Web www.spinics.net

cgi-bin RedHat 7.3



I have a problem with cgi, Apache 1.3.27-2 on
Red Hat 7.3. I am running the webserver on port 5555
I keep receiving this error message:

Forbidden
You don't have permission to access /cgi-bin/ on this server.

----------------------------------------------------------------------------
----

Apache/1.3.27 Server at www.mydomain.com Port 5555

Snipets from httpd.conf

ScriptAlias /cgi-bin/ "/var/www/cgi-bin/"

#
# "/var/www/cgi-bin" should be changed to whatever your ScriptAliased
# CGI directory exists, if you have that configured.
#
<Directory "/var/www/cgi-bin">
    AllowOverride None
    Options None
</Directory>

#######
AddHandler cgi-script .cgi .pl


<VirtualHost 172.16.1.2:5555>
    DocumentRoot /var/www/html/mydomain
    ServerName www.mydomain.com
    ScriptAlias /cgi-bin/ /var/www/html/mydomain/cgi-bin/
    ErrorLog /var/www/html/mydomain/error_log
    CustomLog /var/www/html/mydomain/access_log combined
    <Directory /var/www/html/mydomain/cgi-bin/>
     Options None
     Order allow,deny
     Allow from all
    </Directory>
</VirtualHost>
_______________________________________________
LinuxManagers mailing list - http://www.linuxmanagers.org
submissions: LinuxManagers@linuxmanagers.org
subscribe/unsubscribe: http://www.linuxmanagers.org/mailman/listinfo/linuxmanagers

[Home]     [Kernel List]     [Linux SCSI]     [Video 4 Linux]     [Linux Admin]     [Yosemite News]     [Motherboards]

Powered by Linux