.htaccess: Transparently adding a name to the request
Posted
by Jon
on Server Fault
See other posts from Server Fault
or by Jon
Published on 2009-09-22T09:51:30Z
Indexed on
2010/04/11
8:03 UTC
Read the original article
Hit count: 317
.htaccess
I've read this tutorial about how to modify your .htaccess in order to server many web2py applications but it doesn't seem to work. Here is my .htaccess
RewriteEngine On
RewriteRule ^dispatch\.fcgi/ - [L]
RewriteRule ^(.*)$ dispatch.fcgi/$1 [L]
RewriteCond %{HTTP_HOST} =www.moublemouble.com [NC, OR]
RewriteCond %{HTTP_HOST} =moublemouble.com [NC]
RewriteRule ^/(.*) /moublemouble/$1 [PT,L]
All I get is a 500 Internal Error and .htaccess is not my strong point. Any clues?
© Server Fault or respective owner