You are not logged in.

#1 2010-03-13 18:30:54

Stythys
Member
From: SF Bay Area
Registered: 2008-05-18
Posts: 878
Website

lighttpd redirecting

anyone know how, if possible, to have a top-level domain's root (archlinux-gaming.org) be relocated further in the directory tree, so like, if someone went to archlinux-gaming.org, it would show the page as if they went to archlinux-gaming.org/projects/gaming-repo. At the moment it just does a redirect but if this is possible I thought it'd be cleaner.


[home page] -- [code / configs]

"Once you go Arch, you must remain there for life or else Allan will track you down and break you."
-- Bregol

Offline

#2 2010-03-13 19:36:00

Daenyth
Forum Fellow
From: Boston, MA
Registered: 2008-02-24
Posts: 1,244

Re: lighttpd redirecting

I think the way we have it set up right now is going to be the cleanest.

Offline

#3 2010-03-13 19:38:31

Stythys
Member
From: SF Bay Area
Registered: 2008-05-18
Posts: 878
Website

Re: lighttpd redirecting

It's actually for a different site of mine, but we had a similar setup for arch-gaming so just wanted to use it as an example tongue


[home page] -- [code / configs]

"Once you go Arch, you must remain there for life or else Allan will track you down and break you."
-- Bregol

Offline

#4 2010-03-13 20:23:32

Peasantoid
Member
Registered: 2009-04-26
Posts: 928
Website

Re: lighttpd redirecting

You might be able to do that with:

url.rewrite-once = ( "/" => "/projects/gaming-repo", )

Offline

Board footer

Powered by FluxBB