ahh - I'm running Ubuntu v10.04 ... I just told it to install nginx and that is what it gave me. I've upgraded to nginx 1.0.10 now ... the config no longer fails, and from what I can tell, the matching is working fine - thanks. However, there is some conflict with something else in my config which is preventing it from working completely. Perhaps you can shed some light on it for me? I'mby Simon - Migration from Other Servers
nginx 0.7.65by Simon - Migration from Other Servers
I checked my setup, pretty sure I have PCRE v7.8 installed ... either way, the ?P<name> syntax didn't work either - same error.by Simon - Migration from Other Servers
Thanks locojohn ... I can see the logic behind what you've written - makes sense. However, nginx doesn't like it :( 'Restarting nginx: : unknown "catid" variable' Any suggestions?by Simon - Migration from Other Servers
I have the following Apache rewrite code to check for requests for image files in my photo gallery which are no longer there (because they have been moved to a CDN server), and rewrite the request to a PHP script which interprets the request and subsequently redirects the request to the new CDN location: RewriteCond %{REQUEST_FILENAME} !-f RewriteRule ^gallery/data/([0-9]*)/(.*)$ showphoto.phpby Simon - Migration from Other Servers
![]() |
![]() |
![]() |
![]() |
|