I've removed the location and now it's working perfectly: if (!-e $request_filename) { rewrite ^(.*)$ /index.php last; break; }by TonHoekstra - How to...
Wolfsrudel Wrote: ------------------------------------------------------- > "If is evil"... use "try_files" instead. > > try_files $uri $uri/ /index.php; I've tried that but everything after the / (the request-uri) is 404. Example: http://www.google.com.proxy.org - HTTP/1.1 200 OK (but the css and logo is not working) http://www.google.com.proxy.org/imghpby TonHoekstra - How to...
I've a Suffix Proxy installed and I'm using the following rewrite with wildcard subdomain DNS on: location / { if (!-e $request_filename) { rewrite ^(.*)$ /index.php last; break; } } My suffix proxy has the following URL format: (subdomain and/or domain + domain extension to proxy).proxy.org/(request-uri) But when requested a page wby TonHoekstra - How to...
Hi all, I've a Glype proxy and I want to rewrite the URL's. All URLs on the page are automatically converted to: http://proxy.com/browse.php?u= Example: If I go to /browse on The Pirate Bay on my proxy I want to convert the URL from this: http://proxy.com/tpb/browse.php?u=http%3A%2F%2Fthepiratebay.se%2Fbrowse&b=0 To this: http://proxy.com/tpb/browse Also if i go to: http://proxy.cby TonHoekstra - How to...
![]() |
![]() |
![]() |
![]() |
|