rewrite help for w2box

lblasc nginx-forum at nginx.us
Thu May 14 14:38:48 MSD 2009


Hello,

No luck with rewrite for w2box. Can I get some help with this ?

apache .htaccess :

RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{QUERY_STRING} ^$
RewriteRule ^(.*)$ index.php?d=$1&BAD_HOSTING=%{HTTP:Authorization} 

RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{QUERY_STRING} ^(.+)$
RewriteRule ^(.*)$ index.php?%1&d=$1&BAD_HOSTING=%{HTTP:Authorization} 
	
RewriteCond %{QUERY_STRING} ^(.*)$
RewriteRule (.+).php $1.php?%1&BAD_HOSTING=%{HTTP:Authorization}

Thanks !

Posted at Nginx Forum: http://forum.nginx.org/read.php?2,2018,2018#msg-2018






More information about the nginx mailing list