Welcome Guest ( Log In | Register )


This  is  NOT  a  Search  Box
PRIVATE NOTICE FROM JWselamat
--
(Today, 10:39 PM) JWselamat
--
PRIVATE NOTICE FROM eik27
--
jakub stefano
(Today, 10:36 PM) eik27
--
jakub stefano
PRIVATE NOTICE FROM JWselamat
--
nite BF
(Today, 10:22 PM) JWselamat
--
nite BF
PRIVATE NOTICE FROM ladyhawk
--
nite jw take care
(Today, 10:20 PM) ladyhawk
--
nite jw take care
PRIVATE NOTICE FROM ladyhawk
--
still smell frank when he says he is off lmao
(Today, 10:19 PM) ladyhawk
--
still smell frank when he says he is off lmao
PRIVATE NOTICE FROM JWselamat
--
Night sleep2.gif LH
(Today, 10:19 PM) JWselamat
--
Night sleep2.gif LH
PRIVATE NOTICE FROM ladyhawk
--
see u 2 morrow take care
(Today, 10:19 PM) ladyhawk
--
see u 2 morrow take care
PRIVATE NOTICE FROM BrutallyFrank
--
I'm off too: have to get up 'early'
(Today, 10:19 PM) BrutallyFrank
--
I'm off too: have to get up 'early'
PRIVATE NOTICE FROM ladyhawk
--
im going 2 bed gonna love yous and leave yous nite boys x x
(Today, 10:18 PM) ladyhawk
--
im going 2 bed gonna love yous and leave yous nite boys x x
PRIVATE NOTICE FROM JWselamat
--
shouldend put my nose in places but like it anyway
(Today, 10:18 PM) JWselamat
--
shouldend put my nose in places but like it anyway
PRIVATE NOTICE FROM BrutallyFrank
--
no comment
(Today, 10:17 PM) BrutallyFrank
--
no comment
PRIVATE NOTICE FROM ladyhawk
--
right
(Today, 10:17 PM) ladyhawk
--
right
PRIVATE NOTICE FROM JWselamat
--
wild pig im
(Today, 10:16 PM) JWselamat
--
wild pig im
PRIVATE NOTICE FROM ladyhawk
--
ugly yeh ur right
(Today, 10:16 PM) ladyhawk
--
ugly yeh ur right
PRIVATE NOTICE FROM ladyhawk
--
it looks like a hog eh
(Today, 10:16 PM) ladyhawk
--
it looks like a hog eh
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:

 







Mortgage | Loans | Loans | Mobile Phones | Free Advertising
RSS Lo-Fi Version | SEO by MinervaSEO © Icelabz.net Time is now: 1st December 2008 - 10:54 PM