Dear Customers,
since the upgrade from apache2 to nginx I have two problems.
This problem is very important to fix asap.
Forum: Katzen Forum
If you click on the last post (right side), sometimes you will be redirected to the original URL (showthread.php).
Normaly any original URL should be redirect to the rewritten URL.
Here is my nginx vhost config:
Code:server { listen 80; server_name katzen-forum.de *.katzen-forum.de; root /srv/www/katzen-forum.de/htdocs; access_log /srv/www/katzen-forum.de/logs/access.log apache; error_log /srv/www/katzen-forum.de/logs/error.log error; if ($host !~* "^www.katzen-forum.de$"){ rewrite ^(.*)$ http://www.katzen-forum.de$1 permanent; break; } location ~ /vbseo/(includes|resources/html|resources/xml)/ { allow 127.0.0.1; deny all; } location / { index index.html index.htm index.php; rewrite ^/((urllist|sitemap_).*\.(xml|txt)(\.gz)?)$ /vbseo_sitemap/vbseo_getsitemap.php?sitemap=$1 last; try_files $uri $uri/ /vbseo.php?$args; } location ~ \.php$ { fastcgi_pass katzenforum_backend; fastcgi_index index.php; fastcgi_param SCRIPT_FILENAME /srv/www/katzen-forum.de/htdocs$fastcgi_script_name; include fastcgi_params; } location ~ /(.*\.php)$ { rewrite ^/(.*)$ /vbseo.php last; } location ~ /\.ht { deny all; } include vhosts/error; }


LinkBack URL
About LinkBacks





Reply With Quote
