apache cgi question
kluu te
linuxpower at operamail.com
Fri Mar 12 15:37:04 UTC 2004
I can run cgi scripts in my browser from my /cgi-bin/ dir
but I can not execute cgi scripts from within html scripts with <|--#exec cgi="./counter.cgi" -->
I have typed
Options +ExecCGI
AddType application/x-httpd-cgi .cgi
AddHandler cgi-script cgi pl
in .htaccess in documentroot dir and typed this in httpd.conf within my <Directory "/var/www/html">
AllowOverride Options
But still it doesn't work.
The permission is set to 775 for the script and it works when I type perl counter.cgi but not from a html page.
Any ideas?
--
_____________________________________________________________
Web-based SMS services available at http://www.operamail.com.
>From your mailbox to local or overseas cell phones.
Powered by Outblaze
More information about the redhat-list
mailing list