httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rodenberger, Jim" <jh...@ti.com>
Subject RE: [users@httpd] CGI script
Date Mon, 14 Jul 2003 14:45:19 GMT
Stand,

Were you able to get this to work?  I was not sure if the second mail
message was a resolution.  I am having the same problem you are having.

Thanks,

Jim

-----Original Message-----
From: Stand H [mailto:hstandit@yahoo.com] 
Sent: Monday, July 14, 2003 2:39 AM
To: users@httpd.apache.org
Subject: [users@httpd] CGI script

Hi all,

>From apache documentation:

Syntax: Options [+|-]option [[+|-]option] ...
Context: server config, virtual host, directory,
.htaccess

and

ExecCGI 
Execution of CGI scripts is permitted.

<VirtualHost www.myvirtualhost.com>
        ServerAdmin webmaster@myvirtualhost.com
        ServerName www.myvirtualhost.com
        ServerAlias myvirtualhost.com
        DocumentRoot /web/myvirtualhost/htdocs
        ErrorLog logs/error_log
        TransferLog logs/access_log
        Options Includes ExecCgi


I put a cgi script, called it myscript.cgi, on my
virtual web root. With "Options Includes ExecCgi" I
expected myscript.cgi could be executed on my virtual
document root but it couldn't unless I created
<Directory /web/myvirtualhost/htdocs> and put "Options
Includes ExecCgi" in it. 
I got an error message
"Options ExecCGI is off in this directory:
/web/myvirtualhost/htdocs/myscript.cgi"

>From the documentation I think I can execute cgi
script on my virtual-host's document-root when I have
Options ExecCgi in <VirtualHost> directive. 

I'm not clear, so please anyone explain to me more.

Thanks,

Stand

__________________________________
Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!
http://sbc.yahoo.com

---------------------------------------------------------------------
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@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org

---------------------------------------------------------------------
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@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message