Hi all, This line "RewriteRule ^/index.html$ new.html" shows error. But "RewriteRule /index.html$ new.html" sucess !!! And if I put the follow: RewriteRule ^/test.html$ index.html But I haven't test.html !!! What's happen ??? Ricardo Rodrigo-57 wrote: > > Try with > RewriteRule ^/index.html$ new.html > > 2009/4/14 ricardo13 <ricardoogrande@xxxxxxxxx> > >> >> Hi all, >> >> I'm doing some tests with module rewrite (mod_rewrite), but I'm have >> problems. >> I typed the follow in http.conf: >> >> <IfModule rewrite_module> >> RewriteEngine on >> RewriteRule ^index.html$ new.html >> </IfModule> >> >> When I type in browser localhost/index.html don't happen nothing. I have >> file index.html and new.html !!! >> What's happen ??? <IfModule rewrite_module> is wrong ??? >> >> Ricardo >> >> >> -- >> View this message in context: >> http://www.nabble.com/Problem-with-Mod_Rewrite-tp23040977p23040977.html >> Sent from the Apache HTTP Server - Users mailing list archive at >> Nabble.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@xxxxxxxxxxxxxxxx >> " from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx >> For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx >> >> > > -- View this message in context: http://www.nabble.com/Problem-with-Mod_Rewrite-tp23040977p23044296.html Sent from the Apache HTTP Server - Users mailing list archive at Nabble.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@xxxxxxxxxxxxxxxx " from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx