Apache: stealth mode with mod rewrite

From phpCMS

Jump to: navigation, search

[edit] phpCMS Stealth Mode with Apache mod_rewrite

To use phpCMS in Stealth Mode with Apache's mod_rewrite, put a .htaccess file in the root directory of your web site with the following content:

RewriteEngine On
RewriteRule (.*)\.htm$  /parser/parser.php?file=$1.htm [PT,QSA]

A sample .htaccess file is delivered with the phpCMS package where you only have to un-comment (and possibly adapt the paths in) the relevant lines.

Main Page: Tutorials MainPage | Top Page: MiniHowTos MainPage

Diese Seite in anderen Sprachen: Deutsch

Personal tools