Well, with a little perseverance I've managed to come up with the following which gets everything working. I removed $uri/ from try_files in the /admin location block and voila! I hope this helps someone anyway. server { listen 80; server_name mrkennie.kicks-ass.net; index index.php index.html index.htm; root /home/customers/webs/kryogenic/mrkennie.kicks-ass.net/mushin/;by mrkennie - How to...
The following seems to work and is able to run other scripts normally such as phpmyadmin etc. I can access /admin/foo/bar just fine but /admin/ just downloads index.php. I've cleared my browser cache in case that was causing it but this has me stumped. It's not matching any rules I have and I can't seem to find why. Does anyone have any ideas? listen 80; server_name mrkennie.kicks-asby mrkennie - How to...
I fixed this particular problem by not using fastcgi_split_path_info and simply assigning PATH_INFO to $args and fixing the path to $document_root/mushin/admin as part of SCRIPT_FILENAME and PATH_TRANSLATED. I suspect there are other, possibly better ways but this seems to work just fine for me so far.by mrkennie - How to...
Hi, I am soon to set up a new server which is replacing an old one which is currently running apache. I've been dabbling with lighttpd but I really want to use Nginx because, well basically, it's cool! Anyhow, I have a shared PHP app which will serve several different websites but I'm stuck (and perhaps slightly confused) with how I should actually approach this. Normally in Apache I would setuby mrkennie - How to...
![]() |
![]() |
![]() |
![]() |
|