|
PRIVATE NOTICE FROM JWselamat
--
eik27 Try Search here http://filesoup.com/forum/index.php?act=Search
|
||
|
This topic is about aknova 3.5.0 and lighttpd, the author, thorin, wrote about: Hi, anyone know how to lighttpd-ize the aknova .htaccess file? Should I use url rewrite in lighttpd.conf? I'm sure I'm not the first one to tr ... To read more just scroll down
![]() ![]() |
Jul 19 2008, 11:21 PM
Post
#1
|
|
|
Member
Group: Member Posts: 16 Joined: 31-May 07 Member No.: 34,112 |
Hi, anyone know how to lighttpd-ize the aknova .htaccess file? Should I use url rewrite in lighttpd.conf? I'm sure I'm not the first one to try this.
This post has been edited by thorin: Jul 20 2008, 01:14 AM |
|
|
|
Jul 20 2008, 07:09 AM
Post
#2
|
|
Newbie
Group: Member Received 1 Thanks Posts: 2 Joined: 5-February 08 Member No.: 40,751 |
CODE $HTTP["host"] == "your.domain" { url.rewrite-once = ( "^/tor/([0-9]+)$" => "/details.php?id=$1", "^/sub/([0-9]+)$" => "/sub.php?id=$1", "^/sub/([0-9]+)/pg/([0-9]+)$" => "/sub.php?id=$1&pg=$2", "^/cat/([0-9]+)$" => "/cat.php?id=$1", "^/rss/([0-9]+).xml$" => "/rss.php?type=cat&id=$1", "^/pg/([0-9]+)$" => "/news.php?news_index=$1", "^/news/comment/([0-9]+)$" => "/newscomment.php?id=$1", "^/tor/get/([0-9]+)$" => "/tor.php?id=$1", "^/tor/txt/([0-9]+)$" => "/txt.php?id=$1", "^/tor/report/([0-9]+)$" => "/details.php?idx=report&id=$1", "^/tor/comments/([0-9]+)$" => "/comments.php?id=$1", "^/tor/files/([0-9]+)$" => "/files.php?id=$1", "^/search/rss/([a-zA-Z]+)$" => "/rss.php?type=search&term=$1", "^/user/([0-9]+)$" => "/profile.php?id=$1", "^/tor/vote/([0-9]+)$" => "/vote.php?id=$1", "^/tor/update/([0-9]+)$" => "/update.php?id=$1", "^/cloud$" => "/cloud.php", #"^/forum$" => "/forum.php", "^/formats$" => "/formats.php", "^/decoder$" => "/decoder.php", "^/dvd$" => "/dvd.php", "^/news$" => "/news.php", "^/news/rss.xml$" => "/newsrss.php", "^/profile$" => "/profile.php", "^/rss.xml$" => "/rss.php", "^/chat$" => "/shout.php", "^/torrents$" => "/browse.php", "^/register$" => "/register.php", "^/about$" => "/about.php", "^/upload$" => "/upload.php", "^/scrape$" => "/scrape.php", "^/announce$" => "/announce.php", "^/tools$" => "/tools.php", "^/altasearcha" => "/altasearcha.php", "^/stats$" => "/stats.php", "^/stats/advanced$" => "/trackers.php", "^/login$" => "/login.php", "^/logout$" => "/logout.php", "^/help$" => "/faq.php", "^/search$" => "/search.php" ) Try smth like this. This post has been edited by Aesthete: Jul 20 2008, 07:09 AM |
|
|
|
Jul 20 2008, 09:34 AM
Post
#3
|
|
|
Member
Group: Member Posts: 16 Joined: 31-May 07 Member No.: 34,112 |
Thanks. Works perfectly (if you add "}" at the end).
Next n00b question: I have torrents from ibitzy in /get, I can see them in stats, how to I get them to be listed on the main page? "Latest files (sorted)" shows uploaded torrents only, not the ones from ibitzy. This post has been edited by thorin: Jul 20 2008, 09:38 AM |
|
|
|
![]() ![]() |
|
Lo-Fi Version | SEO by MinervaSEO © Icelabz.net | Time is now: 1st December 2008 - 10:54 PM |