httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From BAO RuiXian <ruixian....@pp.inet.fi>
Subject Re: [users@httpd] redirecting...
Date Mon, 30 Jun 2003 13:38:12 GMT
Or just add

	DirectoryIndex /cgi-bin/myindexscript.cgi

to the document root directory. This will cause the index producing cgi 
script being excuted.

Good luck

Bao

Andrew Berkowitz wrote:
> Add:
>      DirectoryIndex myindexscript.cgi 
> and
>      AddHandler cgi-script .cgi
> 
> to your httpd.conf. Then redirect to the directory.
> 
> 
> 
> --- "Ling F. Zhang" <lingfengz@yahoo.com> wrote:
> 
>>when one browses to http://localhost/
>>they get the document <apache path>/htdocs/index.html,
>>right?
>>but I write a CGI script to generate this page
>>automatically and dynamically...I want that when the
>>user browses to http://localhost/
>>they get <apache path>/cgi-bin/myindexscript.cgi
>>
>>how do I do that?
>>appearantly
>>"RedirectPermanent" only works for path, not file...
>>
>>__________________________________
>>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