You might want to double check that "mod_mine"... is it really yours? -Dave----- Original Message ----- From: "S.A. Birl" <sbirl+Apache-List@xxxxxxxxxxxxxxxxxx>
To: <users@xxxxxxxxxxxxxxxx> Sent: Friday, March 17, 2006 8:17 AM Subject: [users@httpd] Help: CGI not executing outside of /cgi-bin/
Apache 2.0.51 Solaris 9 Im trying to get 1 file, show.cgi, to execute outside of /cgi-bin/ show.cgi (PERL) resides under /foo/bar For now show.cgi is just a "Hi" program. #!/usr/bin/perl -T use strict; use warnings; printf("Content-Type: text/html\n\n"); printf("hi"); owner: nobody perms: 555 Executes fine from the commandline. For most part I know what needs to be added to make this work, but Im getting the source code on the screen, instead of the output. Nothing in the error log; access log returns a 200. I looked at http://httpd.apache.org/docs/2.0/howto/cgi.html to see if I was missing anything. Apparently not. <Directory "/usr/local/apache/htdocs/foo/bar"> AllowOverride Options Options +ExecCGI <IfModule mod_mine.c> # <Files "show.cgi"> AddHandler cgi-script .cgi # </Files> </IfModule> </Directory> Ive looked at the other directives for /foo and for /, but I cannot see anything that would cause the source code to print out. I dont use .cgi extensions anywhere else on the web server. What could I be forgetting? Thanks Birl Please do not CC me responses to my own posts. I'll read the responses on the list. Archives http://mail-archives.apache.org/mod_mbox/httpd-users/ --------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server Project. See <URL:http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx " from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx
--------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server Project. See <URL:http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx " from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx