Quantcast
Channel: Nginx Forum - How to...
Viewing all articles
Browse latest Browse all 4759

Re: Location try_files rewrite syntax

$
0
0
looks like i should have searched harder as i think i found the solution in this post

http://forum.nginx.org/read.php?11,16398,17787

all i had to do was amend the rewrite config location @rewrite { rewrite ^ /index.php; to the following

location @rewrite { rewrite ^(?!(/roundcube/)|(/phpmyadmin/))(.*) /index.php;

this now means clean urls are working for drupal and roundcube & phpmyadmin can also be accessed as required

mods, please mark as solved/closed
thanks

Viewing all articles
Browse latest Browse all 4759

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>