Need to convert nginx regex to apache regex
I made a simple url redirect script which works with sqlite but for some reason nginx and php-fpm is causing a deadlock, and this isn't first time seeing deadlock on script which uses single file to store data, so i need to switch to apache due this problem as apache does not have this problem.
But while apache regex can be easily converted to nginx regex by using online tools, that's not a case when doing reverse convert. So here is regex which i need to convert: rewrite ^/out?$ http://bla.org/all.php?page=one&url=...a.php?page=two last; rewrite ^/(.*)/(.*)$ /bla.php last; |
Quote:
As for the 1st, are you trying to match just /ou and /out URIs? If that's the case then use: Code:
RewriteEngine On |
All times are GMT -5. The time now is 04:14 AM. |