httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <exgul...@ualr.edu>
Subject Re: [users@httpd] Address CGI w/ URL and not Path Name
Date Sun, 17 Dec 2006 22:37:55 GMT
Are you referring to the Document Root in httpd.conf?  I still need the document root from
the file system, but is there a way that when cgi is used it is fed a different argument?

EG

----- Original Message -----
From: Steve Swift 
Date: Saturday, December 16, 2006 2:04 am
Subject: Re: [users@httpd] Address CGI w/ URL and not Path Name
To: users@httpd.apache.org

> When you use the "C:/directory/file" format your browser is 
> fetching the
> file directly from the filesystem and displaying it as best it 
> can; your
> apache webserver is not involved in the process at all. So there 
> will be no
> execution of the CGI script, as that takes place inside apache.
> 
> On 15/12/06, exgulley@ualr.edu wrote:
> >
> > I have a set of cgi scripts that will only run when addressed 
> with an '
> > http://type URL' and not the 'C:/directory/file' format. When 
> I need to
> > use cgi Apache produces a 'Save As' Dialog box because the 
> http server is
> > being bypassed. I can't figure out how to rewrite how my cgi 
> programs are
> > addressed. I don't want the Document Root included, I need 
> the http://
> > format for them to run.
> >
> > EG
> >
> 
> 
> 
> -- 
> Steve Swift
> http://www.swiftys.org.uk
> 

Mime
View raw message