httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andrew Berkowitz <bar...@rocketmail.com>
Subject Re: [users@httpd] redirecting...
Date Mon, 30 Jun 2003 10:02:08 GMT
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
> 


__________________________________
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


Mime
View raw message