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

[cobalt-users] global directory



Hi guys. I have a form script called formmail.php (like formmail.pl) . I want to share it
with all my clients. I have made a directory cgi-pub in the /home/sites/home/web
so anyone should run it from his site, like: http://www.domain.com/cgi-pub/formmail.php.
I have added the following line in the httpd.conf file:

SciptAlias /cgi-pub/ /home/sites/home/web/cgi-pub/

(yes, I restarted the httpd...;-) )

Unfortunately, the script cannot be run in any site . The browser returns 500 error. When I share
a .pl or .cgi file, everything is ok. So, I thought that the "ScriptAlias" line works only with script files
like pl or cgi. How can I share the formmail.php file? What do I have to do? Thanks!