Mod Rewrite

From LinuxReviews
Jump to: navigation, search

Mod Rewrite allows you to rewrite the URLs.

[edit] help for oliver

23:53 < oliver> I just want foo.php to be foo/
23:54 < oliver> in a general sense, so a new bar.php turns into bar/ as well
23:54 < oliver> GET params stay unchanged
23:55 < oliver> I just want *.php? turn into */?
23:56 <@thrasher7> RewriteRule ^([^/\.]+)/?$ $1.php [L]

[edit] Lots of info

Personal tools
hardware tests
Categories
Privacy policy
linux events
ipv6
Networking
IPv6

Search:

linux newz | random page | poetry | free blog