qazaka
asked on
freebsd ..perl
hi,
i would like to 'enable' the .pl and .cgi outside the cgi-bin folder, so i add something like this :-
ScriptAlias /cgi-bin/ /usr/home/genius/cgi-bin/
AddHandler cgi-script .cgi .pl
but i found that some of the user can not running the scripts and some of them can...amazing ?
besides changing inside the httpd.conf , where can we check?
thanx
i would like to 'enable' the .pl and .cgi outside the cgi-bin folder, so i add something like this :-
ScriptAlias /cgi-bin/ /usr/home/genius/cgi-bin/
AddHandler cgi-script .cgi .pl
but i found that some of the user can not running the scripts and some of them can...amazing ?
besides changing inside the httpd.conf , where can we check?
thanx
did all the users have execute permissions on the dir?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
i had chmod 755 those files
i found this in one of the conf files
<Directory /usr/local/www/cgi-bin>
AllowOverride All
Options None
</Directory>
something strange happened..
i test the testing.pl and testing .cgi in 3 users outside the cgi-bin folder
user a
testing.pl (executable)
testing .cgi (executable)
user b
testing.pl (failed) view as text file
testing .cgi (executable)
user c
testing.pl (failed) internal server error
testing .cgi (failed) internal server error
whats wrong ?
help me pls
thanx
ASKER
plus : i am using apache 1.2.6 /frontpage
ASKER
some one pls tell me