NameSilo

.htaccess => Lighttpd config

Namecheap AuctionsNamecheap Auctions
SpaceshipSpaceship
Spacemail by SpaceshipSpacemail by Spaceship
Watch

col

Established Member
Impact
5
I'm in need of "translating" the following .htaccess file to code for lighttpd.conf.

.httpd
Code:
Options +Indexes
RewriteEngine on
RewriteRule ^go-(.*)-(.*).html$ index.php?go=$1&id=$2 [L,NC]
RewriteRule ^(.*)-(.*)-(.*).html$ index.php?go=$2&id=$3 [L,NC]
RewriteRule ^([0-9]+)/[^/]+/([0-9]+)/$ index.php?go=subcat&id=$1&pageNum_pages=$2 [L,NC]
RewriteRule ^([0-9]+)/.*$ index.php?go=subcat&id=$1 [L,NC]

I've been trying the following code in lighttpd.conf for the domain, but it's not working:
Code:
url.rewrite = ( "^go-(.*)-(,*).html$" => "index.php?go=$1&id=$2",
                    "^(.*)-(.*)-(.*).html$" => "index.php?go=$2&id=$3",
                    "^([0-9]+)/[^/]+/([0-9]+)/$" => "index.php?go=subcat&id=$1&pageNum_pages=$2",
                    "^([0-9]+)/.*$" => "index.php?go=subcat&id=$1")

Any suggestions?
 
0
Close
The views expressed on this page by users and staff are their own, not those of NamePros.
GoDaddyGoDaddy
Nobody got a clue?
 
0
Close
Appraise.net

We're social

Escrow.com
Spaceship
Domain Recover
CryptoExchange.com

NamePros updates

Search: choose where to search from the All tab
Open the search at the top of any page. On the All tab, the list next to the search box lets you choose where to search: everything, all...
AIVikings
Catchy
  • The sidebar remains visible by scrolling at a speed relative to the page’s height.
Back