This looks like an impossible problem to solve. Anyplace else I can address this problem. Following are the two test URLs. The clean URL is converted to the .php url by the above rules. But the CSS still gives a problem. http://test.redanyway.com/post/805/1239860588/crazy-evening-crazier-friends http://test.redanyway.com/post.php?id=805&time=1239860588&slug=crazy-evening-crazier-fby ffernic - Migration from Other Servers
Thanks Jim. I am trying a lot of stuff. Will let you know if something works or I come across some other problem.by ffernic - Migration from Other Servers
Nginx.conf server { listen 80; server_name test.domain.com; index index.php; #charset koi8-r; #access_log logs/host.access.log main; location / { root test.domain.com/html; index index.php index.html index.htm; if (!-e $request_filename) { rewrite ^\/post\/(\d+)\/(\d+)\/(\w+by ffernic - Migration from Other Servers
Thanks Jim. How silly of me to forget the /. The rules work fine and the page is rendered but I get a garbled CSS. My top navigation bar appears as a three line bar at the leftmost side. So I guess although PHP is working fine, the CSS files are having a problem. Is it because I am missing in adding something or the way I write my CSS? With the original URL (w/o) the rule the CSS is rendered prby ffernic - Migration from Other Servers
I want to write nginx rewrite rules for clean URLs. Everytime the user hits http://domain.com/abc/12/16/abc-def-ghi I need to execute domain.com/abc.php?a=12&b=16&c=abc-def-ghi. Now my regex is right as per rubular: ^\/abc\/(\d+)\/(\d+)\/(\w+\S+)$ http://rubular.com/regexes/11063 and rule is if (!-e $request_filename) { rewrite ^\/abc\/(\d+)\/(\d+)\/(\w+\S+)$ abc.php?a=$1&by ffernic - Migration from Other Servers
Hello, I have setup a Wordpress MU blog as www.domain.com/blog on nginx. Everything works fine except the rewrite rules. The apache rules for WP MU I was using are: <IfModule mod_rewrite.c> RewriteEngine On RewriteBase /blog/ RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /blog/index.php </IfModule> The nginx rules I am usingby ffernic - How to...