Welcome Guest ( Log In | Register )


This is NOT a Search Box
PRIVATE NOTICE FROM
--
The Hills 4x17 Untitled (torrent) has just been added.
(Today, 12:19 AM)
--
The Hills 4x17 Untitled (torrent) has just been added.
PRIVATE NOTICE FROM
--
Survivors 1x03 Untitled (torrent) has just been added.
(Today, 12:11 AM)
--
Survivors 1x03 Untitled (torrent) has just been added.
PRIVATE NOTICE FROM snookered
--
thais is not a search box mate
(Yesterday, 10:09 PM) snookered
--
thais is not a search box mate
PRIVATE NOTICE FROM snookered
--
If you see advertising/spam in the forums, please click for that post. Thank you smile.gif
(Yesterday, 10:08 PM) snookered
--
If you see advertising/spam in the forums, please click for that post. Thank you smile.gif
PRIVATE NOTICE FROM brigitte
--
BitMe.ORG
(Yesterday, 09:59 PM) brigitte
--
BitMe.ORG
PRIVATE NOTICE FROM brigitte
--
BitMe.ORG
(Yesterday, 09:58 PM) brigitte
--
BitMe.ORG
PRIVATE NOTICE FROM ladyhawk
--
nite babe
(Yesterday, 09:46 PM) ladyhawk
--
nite babe
PRIVATE NOTICE FROM BrutallyFrank
--
Me too: goodnight y'all
(Yesterday, 09:44 PM) BrutallyFrank
--
Me too: goodnight y'all
PRIVATE NOTICE FROM ladyhawk
--
well im gonna love u and leave u all im up early nite soupers take care
(Yesterday, 09:38 PM) ladyhawk
--
well im gonna love u and leave u all im up early nite soupers take care
PRIVATE NOTICE FROM ladyhawk
--
i said that wrong btw soz pmsl
(Yesterday, 09:33 PM) ladyhawk
--
i said that wrong btw soz pmsl
PRIVATE NOTICE FROM BrutallyFrank
--
Apparently not: for you it's going to be spanking good ...
(Yesterday, 09:31 PM) BrutallyFrank
--
Apparently not: for you it's going to be spanking good ...
PRIVATE NOTICE FROM ladyhawk
--
not for me lmao
(Yesterday, 09:31 PM) ladyhawk
--
not for me lmao
PRIVATE NOTICE FROM BrutallyFrank
--
Is it going to be a sleepless night, WH?
(Yesterday, 09:29 PM) BrutallyFrank
--
Is it going to be a sleepless night, WH?
PRIVATE NOTICE FROM wildhog
--
spank you lh
(Yesterday, 09:29 PM) wildhog
--
spank you lh
PRIVATE NOTICE FROM ladyhawk
--
hi yah wild hog lol
(Yesterday, 09:28 PM) ladyhawk
--
hi yah wild hog lol
ShoutOut! © InvisionMint
Float shoutbox?

aknova 3.5.0 and lighttpd

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

> 

If you would like to advertise your Hosting, Services or Products on Filesoup, please contact snookered for a quote.

 
Reply to this topicStart new topic
> aknova 3.5.0 and lighttpd
thorin
post Jul 19 2008, 11:21 PM
Post #1


Member
Group Icon

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
Go to the top of the page
 
+
Aesthete
post Jul 20 2008, 07:09 AM
Post #2
Newbie
Group Icon

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
Go to the top of the page
 
+
thorin
post Jul 20 2008, 09:34 AM
Post #3


Member
Group Icon

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
Go to the top of the page
 
+

Reply to this topicStart new topic
Tags
No Tag inserted yet

1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 







Xbox Mod Chip | Shares | Power Rangers | Remortgages | Bad Credit Mortgages
RSS Lo-Fi Version | SEO by MinervaSEO © Icelabz.net Time is now: 3rd December 2008 - 12:37 AM