Koozali.org: home of the SME Server

cgi bin

stephen noble

cgi bin
« on: May 22, 2000, 11:36:47 AM »
as a relative newbie ...

i have this perl script which i succesfully installed on my rh6.0 pc
on e-smith 3.1 however i get an internal server error

install steps were
1.mkdir cgi-bin/story
2.copy files story.cgi and storyconfig to /cgi-bin
3.chown of story.cgi to the owner of apache
 (www on e-smith ?? , it 's nobody on rh6.0)
4.chmod story.cgi so it's executable
5.copy some images to html/images
6.edit storyconfig to localise

the ibay is readwrite by the intranet

i get 6 lines of errors complaining of only one instance of a html tag
then a complaint it can't find storyconfig (in a list of perl directories)

as i said it worked on rh6.0

cgi-bin is very accesible to the average user
but if you need to chown and chmod scripts is their any in point being that way

regards
stephen

stephen noble

RE: cgi bin
« Reply #1 on: May 23, 2000, 08:02:59 AM »
i got it to run by deleting the -wT form the first line
does this matter in a non-secure area

the owner of the story.cgi file didn't matter
but had to be chmod +x story.cgi

what is the recomended way to do this
get the administration to ssh in ?
write a form that passes a file name to the chmod command ??

stephen