403 Forbidden when accessing http://mydomain/cgi-bin/openwebmail/openwebmail.pl
I installed latest version of webmail 2.52 on a new CentOS4 box with perl compiled as per webmail requirements. If I run the openwebmail.pl script in the terminal mode (SSH) it runs fine and returns html code for the login page. If I run it in a browser I get the
Forbidden You don't have permission to access /cgi-bin/openwebmail/openwebmail.pl on this server. Additionally, a 403 Forbidden error was encountered while trying to use an ErrorDocument to handle the request. Here is a relevant portion of my httpd.conf file: <VirtualHost *:80> ServerAdmin admin DocumentRoot /var/www/ ServerName ns5.mtsolutions.net AddHandler cgi-script cgi AddHandler cgi-script pl <Directory "/var/www/cgi-bin/openwebmail/"> AllowOverride None AddHandler cgi-script cgi pl Options FollowSymLinks +ExecCGI DirectoryIndex openwebmail.pl Order allow,deny Allow from all </Directory> </VirtualHost> I can run other perl scripts just fine from the cgi-bin directory and if I created a new directory and I can run perl scripts just fine from that directory just not /openwebmail directory. I have read and reread FAQ for openwebmail no go!! I have it running on a Fedora Box just fine seems like an Apache2 issue ? Thanks!! |
Take a look here.
|
No Go
I already have I have cut an paste that config and no go. That may work for some people but it doesn't help me. It seems to be only the openwebmail folder if I create other directory's in the cgi-bin directory they all will run cgi and .pl files
If I copy a working .pl file into openwebmail folder I get the error message ? I have searched all the search engines and read all the openwebmail files and nothing ? I have found others with the same issue and no resolution ? Thanks, |
Quote:
Code:
AllowOverride Options Also check the permissions of the folder and the cgis to see if the user that runs apache has the rights to execute the scripts |
All times are GMT -5. The time now is 03:39 PM. |