[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[cobalt-users] [XTR] cgi-bin outsite web



I am attempting to create a working script folder outside the main web
folder on an XTR (at /home/sites/site6/cgi-bin). I have researched the
archives and looked at http://httpd.apache.org/docs/howto/cgi.html. I have
already tried various configurations but the best I can get is that scripts
placed in the folder will work if I do not use .cgi or .pl as an extension.
If I use a .cgi or .pl extension I get a "Script File Not Found!" error.

I have a test script that is working with any extension except .cgi or .pl
(or without any extension) but as soon as it is renamed with a .cgi or .pl
extension it stops working.

I have added "ScriptAlias /cgi-bin/ /home/sites/site6/cgi-bin/" to
httpd.conf. I have also renamed the folder (and the httpd.conf entry) as
cgibin (rather than cgi-bin), as suggested in several posts, but it doesn't
make any difference. I have also tried various other changes to httpd.conf:
removing the AddHandler cgi-wrapper .cgi  AddHandler cgi-wrapper .pl
entries, adding AddHandler cgi-script .cgi AddHandler cgi-script .pl or
AddHandler cgi-script cgi AddHandler cgi-script pl for example.

I have also looked at the srm.conf file but haven't made any changes here as
this would make server wide changes - I only want this for this particular
virtual server.

Can anyone help here PLEASE!!

Best regards

Brian Dowding
[mailto:webmaster@xxxxxxxxxxxxxxxxxxxxxx]