Hi everybody, Just a quick hello to you all. I'm new to NginX and everything that goes with it, however I'm trying to do away with Apache and make the move (with some difficulties http://forum.nginx.org/read.php?9,242759). See you all around, Glenn.by The RealGlenn - New Member Introductions
Just to update, this code: if (!-f $request_filename){ set $rule_0 1$rule_0; } if (!-d $request_filename){ set $rule_0 2$rule_0; } if ($rule_0 = "21"){ rewrite /. /index.php last; } if ($http_host ~* "^www.(.*)$"){ set $rule_1 1$rule_1; set $bref_1 $1; } if ($rule_1 = "1"){ rewrite ^/(.*)$ http://$bref_1 permanent; } seemed to work when I enby The RealGlenn - Migration from Other Servers
I have been pointed in this direction in regards to converting an apache .htaccess file to work with the excellent centminmod script. The original file look like this: <IfModule mod_rewrite.c> RewriteEngine On RewriteBase / RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /index.php RewriteCond %{HTTP_HOST} ^www\.(.*)$ RewriteRule ^(.*)$ htby The RealGlenn - Migration from Other Servers