Hi!
Options +Indexes +FollowSymLinks
RewriteEngine On
RewriteRule ^new.html$ old.html [R]In der Adressleiste steht dann http://localhost/srv/www/htdocs/rewrite/old.html anstatt http://localhost/rewrite/old.html
Wie kann das sein, muss ja irgendwas mit absoluten/relativen Angaben zu tun haben, oder?
Siehe Doku: http://httpd.apache.org/docs-2.0/mod/mod_rewrite.html#redirect
Note: When you use this flag, make sure that the
substitution field is a valid URL! If not, you are
redirecting to an invalid location! And remember that
this flag itself only prefixes the URL with
http://thishost[:thisport]/, rewriting continues.
Usually you also want to stop and do the redirection
immediately. To stop the rewriting you also have to
provide the 'L' flag.
Grüße
Andreas
SELFHTML Linkverzeichnis: http://aktuell.de.selfhtml.org/links/