httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Artiom Morozov <art...@phreaker.net>
Subject Re: rewrite rule w/o index.html reference
Date Tue, 02 Apr 2002 07:26:08 GMT
Imho you can't live without index, because when it comes to .htaccess 
URL to FS mapping is already done. You should use rewrite from main 
config or use simplier Alias there...

îÁ 2002.04.02 03:37 Joe Kmoch ÎÁÐÉÓÁÌ:
> I managed to figure out the rewrite rules needed to access a part of
> my
> site through a simpler command like   www.whs.edu/x  where x is some
> part
> of our site buried pretty deep.
> 
> In any case, here's what I put in .htaccess
> 
> RewriteEngine on
> RewriteBase     /teacher-recruiting
> RewriteRule     ^index\.html$    teacher-recruitment-2002.html
> 
> This works except that I need a blank file named index.html - I tried
> a
> few things in that third line, but nothing worked.  I worked with the
> mod_rewrite.html document, but nothing here or in the other site with
> samples seems to do the trick.
> 
> Can someone lead me to what I want?
> 
> Thanks!
> 
> Joe
> --
> Joe Kmoch                                     Washington High School
> Director, Academy of Information Technology   2525 N. Sherman Blvd
> kmoch@whs.edu                                 Milwaukee, WI  53210
> (414) 875-5982 (desk)                         (414) 875-5900 (school)
> (414) 875-5980 (academy)                      (414) 875-5915 (fax)
> 
> 
> 
> 

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


Mime
View raw message