Link to home
Start Free TrialLog in
Avatar of qazaka
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
Avatar of ahoffmann
ahoffmann
Flag of Germany image

did all the users have execute permissions on the dir?
ASKER CERTIFIED SOLUTION
Avatar of gashalot
gashalot

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of qazaka
qazaka

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

Avatar of qazaka

ASKER

plus : i am using apache 1.2.6 /frontpage
Avatar of qazaka

ASKER

some one pls tell me