AlixAbbasi / mongoose

Mongoose Embedded HTTP Server
MIT License
0 stars 0 forks source link

How to redirect all requests to the index.php #395

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Basically I want to redirect all requests to the index.php.

So I would like to start moongoose with the following htaccess rule

is it possible to do that with moongoose?

RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]

Regards

Deniz

Original issue reported on code.google.com by deniz2...@gmail.com on 20 Apr 2013 at 4:55