I found the problem with the Y. It was this " echo date(Y);" code in my CMS content, where the Y not was quoted 'Y'. I changed it to " echo date('Y');" and all went fine now. The is just a replacement tag of the CMS, where you can render PHP code in the system. All works fine now. Thanksby dansch8888 - Nginx Mailing List - English
Hi Francis, I got a way more familar now with this nginx config files. It works fine for me. The only thing that I still not get figured out, is this FastCGI "Y" error. It doesn't happen at the old webserver which is an apache/fastcgi environment, but I cannot play around with this, because it is just a webspace. At the line 2287 there is this code eval($s.";"); andby dansch8888 - Nginx Mailing List - English
Hi Francis, after some testing I use this rules now. These are working fine with my environment. **Nginx Site Config /etc/nginx/sites-available/default :** map $request_uri $bit_of_qs { default ""; ~/(?P<name>.*)\.html $name; } ... server { ... location ^~ /config/phpwcms/ { deny all; } location ^~ /filearchive/ { deny all; } location ^~ /upload/ { deny all; } loby dansch8888 - Nginx Mailing List - English
Hi Francis, thank you for this really good explanation. I tried your examples and they work very well. In the next days I will test it more extensive. > > (track|include|img|template|picture|filearchive|content|robots\.txt|favicon\.ico)($|/) > > - > I think that say "anything that matches that pattern should be served > as a plain file, and not given to the phpby dansch8888 - Nginx Mailing List - English
I try to convert apache rewrite rules for CMS phpwcms (www.phpwcms.de), but with the online converter tools and some adjustments recommended at the nginx wiki I still struggle with that. That's my configuration **Server** Debian Whezzy nginx v 1.6.2 php5-fpm 5.5.20-1~dotdeb.1 (fpm-fcgi) **Rewrite Rule Apache** RewriteEngine on RewriteBase / RewriteRule ^ (track|include|img|template|piby dansch8888 - Nginx Mailing List - English
![]() |
![]() |
![]() |
![]() |
![]() |