/var/www/hello.php
, the following URLs will load the same file:
- http://localhost/hello.php
- http://localhost/hello
- http://localhost/hello/goodbye/
The only situation I can imagine where you would absolutely need
mod_rewrite
is if you need to have URLs like http://example.com/1234
, you can't handle that with MultiViews (but you can handle http://example.com/article/1234
).
No comments:
Post a Comment