Re: apache cgi question

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

 



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
http://www.bubbanfriends.org

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@xxxxxxxxxxxxxxxxx

with a message of: 

subscribe


-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux