17 messages in ru.sysoev.nginxRe: can some1 please convert this hta...
FromSent OnAttachments
Lemon HeadJan 15, 2009 11:53 am 
Igor SysoevJan 15, 2009 12:05 pm 
Lemon HeadJan 15, 2009 1:40 pm 
Lemon HeadJan 16, 2009 2:15 am 
Igor SysoevJan 16, 2009 4:09 am 
mikeJan 16, 2009 9:41 am 
Igor SysoevJan 16, 2009 11:09 am 
Lemon HeadJan 20, 2009 5:14 am 
Igor SysoevJan 20, 2009 5:18 am 
Lemon HeadJan 20, 2009 5:24 am 
Lemon HeadJan 20, 2009 5:35 am 
Igor SysoevJan 20, 2009 6:18 am 
Lemon HeadJan 20, 2009 6:53 am 
Igor SysoevJan 20, 2009 7:30 am 
Lemon HeadJan 20, 2009 9:38 am 
Lemon HeadJan 20, 2009 9:40 am 
Igor SysoevJan 20, 2009 1:44 pm 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:Re: can some1 please convert this htaccess to nginx rewrite?Actions...
From:Igor Sysoev (is@rambler-co.ru)
Date:Jan 20, 2009 7:30:40 am
List:ru.sysoev.nginx

On Tue, Jan 20, 2009 at 03:53:53PM +0100, Lemon Head wrote:

tried it but no dice http://site.com/forum leads to "page not found"

Does the file /usr/share/nginx/html/forum/vbseo.php exist ?

http://site.com/forum/ redirects to http://site.com/index.php not sure it matters but inside the forum folder there are 2 index files,the standard vbulletin one and an .html one which redirects to http://site.com/forum/index.php , it redirected fine with my previous config but not after puting

Then you need to add

fastcgi_index index.php;

inside

location /forum/ { rewrite ^/forum/((urllist|sitemap_).*\.(xml|txt)(\.gz)?)$ /forum/vbseo_sitemap/vbseo_getsitemap.php?sitemap=$1 last;

error_page 404 = /forum/vbseo.php; }

the suggested changes , also i just saw your topic about the new nginx version and i started to wonder what version i have on my vps,i installed it from the fedora packages so i wasnt sure,i checked and found out its the old stable one (0.6.34) , you think that if ill upgrade to the newest devlopment version it will sort it out? , thanks for all of your help

No, this should work with 0.6.34.