You are not logged in.
Pages: 1
I've never dealt with anything cgi related. I'm getting permission denied on cgi scripts. I'm sure it's permissions related. Here is my error_log:
(13)Permission denied: exec of '/usr/share/bigsister/cgi/bswebalarm' failed, referer: http://192.168.0.105/bs/index1.html
And the current permissions for bswebalarm is:
-rwxr-xr-x 1 root root 9135 Jan 22 10:37 /usr/share/bigsister/cgi/bswebalarm
Also, I have this in my httpd.conf:
ScriptAlias /cgi-bin/ "/var/www/cgi-bin/"
<Directory "/var/www/cgi-bin">
AllowOverride None
Options FollowSymLinks
Order allow,deny
Allow from all
</Directory>
Is this user related? If so, which user?
Offline
The directory in httpd.conf and the directory of the cgi-script are not equal.
Greets
Sunnemer
Offline
Sorry, I also have this at the end of apache's httpd.conf:
Include /etc/bigsister/httpd.conf
which contains this:
ScriptAlias /bigsis/cgi /usr/share/bigsister/cgi
Alias /bigsis /var/lib/bigsister/www<Directory /var/lib/bigsister/www>
Order allow,deny
Allow from all
Options +FollowSymLinks
</Directory><Directory /usr/share/bigsister/cgi>
Order allow,deny
Allow from all
Options -FollowSymLinks +ExecCGI<IfModule mod_perl.c>
<FilesMatch ".mpl$">
SetHandler perl-script
PerlHandler Apache::Registry
PerlSendHeader On
PerlSetEnv PERL5LIB /usr/share/bigsister/bin
</FilesMatch>
</IfModule></Directory>
Offline
Bump.
Offline
Pages: 1