I found the problem with the Y.
It was this "[PHP] echo date(Y);[/PHP]" code in my CMS content, where the Y
not was quoted 'Y'.
I changed it to "[PHP] echo date('Y');[/PHP]" and all went fine now.
The [PHP] is just a replacement tag of the CMS, where you can render PHP
code in the system.
All work
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
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.*)\.html $name;
}
...
server {
...
location ^~ /config/phpwcms/{ deny all
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)($|/)
> > - [L]
> I think that say "anything that matches th
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