Linux Reference4.1.4 mod_rewrite |
20.02.2008 |
| ← 4.1.3 mod_proxy | [ up ] - [ top ] - [ linux a-z ] | 4.2 FTP → |
An Example
You may create such a .htaccess file within the directory where URL rewriting should be applied.RedirectMatch permanent /pcms/a http://www.google.ch RewriteEngine on # RewriteRule ^foo.html$ bar.html RewriteRule ^(.+).html$ /pcms/?p=$1&r=html [L] RewriteRule ^(.+)\/$ /pcms/?p=$1&r=slash
See also:
- /perl/mod perl proxy
- Apache URI Rewrites
- Reference CInternet:Webmaster
Module mod_rewrite.
httpd.apache.org/docs/2.0/mod/mod_rewrite.html
copyright by retoh - created with mytexi