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

Re: apache cgi question

On Fri, 12 Mar 2004, kluu te wrote:

> 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?

Why not just put the script into the cgi-bin dir, and then reference it 
that way?

Mike Burger

Visit the Dog Pound II BBS
telnet://dogpound2.citadel.org or http://dogpound2.citadel.org:2000

To be notified of updates to the web site, visit 
http://www.bubbanfriends.org/mailman/listinfo/site-update, or send a 
message to:

site-update-request bubbanfriends org

with a message of: 


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