Hi All, please see this rewrite block: if (!-e $request_filename) { rewrite ^/myadmin/(.*)$ /myadmin/index.php?/$1 last; rewrite ^/(.*)$ /index.php?/$1 last; break; } I want to redirect all request to /myadmin/* to /myadmin/index.php?/* and all request to not ubder myadmin to redirect to index.php?/* The second works, but the first does not. What could beby sipiatti - Migration from Other Servers
Hi, on an SMF forum a pretty url modul rewrites the board urls. On the other hand there is an another modul what acts like a subforum so the pretty rewrites its url so could not been found by the user. I thought I simply rewrites the request so everything could go back to normal. That rule I created: rewrite ^/talk/random-stuffs/index\.php.*$ /talk/index.php?action=arcade break; but iby sipiatti - Migration from Other Servers
Thanks, I changed them to 'last'. Waiting for the owner to test it...by sipiatti - Migration from Other Servers
There are some other rules in the server section, but as I see it won't conflict with my rules. I am really stucked :( Here is the complete stanza (servername edited to xxxxxx because I am not the owner and need to protect privacy, sorry): server { listen 80; server_name forum.xxxxxx.info chat.forum.xxxxxx.info forum-new.xxxxxx.info; root /var/www/www/by sipiatti - Migration from Other Servers
Thanks I will try. But if a match found there is no need to continue checking the rules, is it? Anyway from the logic point of view are my rules correct?by sipiatti - Migration from Other Servers
Hi, I have this rewriting rules for a vbulletin forum link modul: Options +FollowSymlinks RewriteEngine On #RewriteBase /links RewriteRule ^(+)/robots\.txt$ robots.txt RewriteRule ^whatsnew/links/([0-9]+)/page([0-9]+).html$ browselinks.php?do=newlinks&cutoffdate=$1&page=$2 RewriteRule ^whatsnew/links/(([0-9]?|-)+/?)$ browselinks.php?do=newlinks&cutoffdate=$1 RewriteRby sipiatti - Migration from Other Servers