Hello everyone,
Unfortunately I am unable to post in the general rewrite section because my account does not show as a registered owner ( although I am an admin of a board which has bought and registered vbSEO ).
I am currently migrating the server from Apache2 to lighttpd ( 1.4.13 ) and am having some issues with rewrite rules. Although I have run searches on the Rewrite and Custom Rewrite threads for "lighttpd.conf", "url.rewrite", "lighty" and a few other search terms I've gotten no Joy.
The following are the apache rewrite rules we are currently using:
And the following are rewrite rules I've found and implimented from google:Code:21 # Rewrite rules! 22 RewriteEngine On 23 24 RewriteRule ^((urllist|sitemap_).*\.(xml|txt)(\.gz)?)$ vbseo_sitemap/vbseo_getsitemap.php?si temap=$1 [L] 25 26 RewriteCond %{QUERY_STRING} !vbseourl= 27 RewriteCond %{REQUEST_URI} !(admincp/|modcp/|chat|cron) 28 RewriteRule ^(.*\.php(/.*)?)$ vbseo.php?vbseourl=$1 [L,QSA] 29 30 RewriteCond %{REQUEST_FILENAME} !\.(jpg|gif)$ 31 RewriteRule ^(archive/.*)$ vbseo.php?vbseourl=$1 [L,QSA] 32 33 RewriteCond %{REQUEST_FILENAME} !-f 34 RewriteCond %{REQUEST_FILENAME} !-d 35 RewriteCond %{REQUEST_FILENAME} !^(admincp|modcp|clientscript|cpstyles|images)/ 36 RewriteRule ^(.+)$ vbseo.php?vbseourl=$1 [L,QSA]
While the rules seem to work okay, there are a number of places where they stop working. The first one reported was:Code:8 # vbSEO stuff. 9 url.rewrite-once = ( 10 "^/blogs/([-a-z0-9]+)/([0-9]+)/([0-9]+)/([0-9]+)\.html(?:\?(.*))?" => "/blogs/viewblog.php?username=$1&m onth=$3&year=$2&day=$4", 11 "^/blogs/([-a-z0-9]+)/([0-9]+)/([0-9]+)/(?:\?(.*))?" => "/blogs/viewblog.php?username=$1&month=$3&year=$ 2", 12 "^/blogs/([-a-z0-9]+)/category/([,0-9]+)\.html(?:\?(.*))?" => "/blogs/viewblog.php?username=$1&categoryi d=$2", 13 "^/blogs/([-a-z0-9]+)/arsiv\.html(?:\?(.*))?" => "/blogs/viewblog.php?username=$1&displaymode=archive", 14 "^/blogs/([-a-z0-9]+)/([-a-zA-Z0-9_]+)-([0-9]+)/yorum-([0-9]+)\.html(?:\?(.*))?" => "/blogs/viewblog.php ?username=$1&entrytitle=$2&entry=$3&c=$4", 15 "^/blogs/([-a-z0-9]+)/([-a-zA-Z0-9_]+)-([0-9]+)/(?:\?(.*))?" => "/blogs/viewblog.php?username=$1&entryti tle=$2&entry=$3", 16 "^/blogs/([-a-z0-9]+)/$(?:\?(.*))?" => "/blogs/viewblog.php?username=$1", 17 "^/tags/([0-9]+)/(.+)$(?:\?(.*))?" => "/tags/index.php?tag=$1&page=$2", 18 "^/tags/(.+)$(?:\?(.*))?" => "/tags/index.php?tag=$1", 19 "^/(sitemap.*\.(xml|txt)(\.gz)?)$" => "/vbseo_sitemap/vbseo_getsitemap.php?sitemap=$1", 20 "^(/(highslide|tags|xcache|geek|gars|stats|mert|serenity|cey|arcade|mysmiliesvb|admincp|modcp|clientscri pt|cpstyles|images|sonstil|kirmizi|files|galeri|vampir|summer|avatars|attachments|custompics|customavatars)/ .*)$" => "$1", 21 "^/(archive/.*)$" => "/vbseo.php?vbseourl=$1", 22 "^(.*clear\.gif)$" => "$1", 23 "^/(.+)\?(.*)$" => "/vbseo.php?vbseourl=$1&$2", 24 "^/(.+)$" => "/vbseo.php?vbseourl=$1" 25 )
I figured someone must have a set of rules that work with lighty, or can point me in the right direction?14:07:01 <@Tuesday> Enturbulation.org Activism Forums <- white page?
14:08:34 <@Tuesday> all the /new/ pages are coming up white for me


LinkBack URL
About LinkBacks





Reply With Quote
