GoFuckYourself.com - Adult Webmaster Forum

GoFuckYourself.com - Adult Webmaster Forum (https://gfy.com/index.php)
-   Fucking Around & Business Discussion (https://gfy.com/forumdisplay.php?f=26)
-   -   anyone using lighttpd? (https://gfy.com/showthread.php?t=878033)

xanx 12-27-2008 11:09 AM

anyone using lighttpd?
 
How in the world do you do a 301 redirect, I just want to point to a file from it's old location to the new but can't seem to find any documentation on this.

Inter-Sex 12-27-2008 11:28 AM

Sorry, thought a 403

AdultEUhost 12-27-2008 11:32 AM

url.rewrite-once = ( "^/file.html" => "http://www.domain.com/file.php")

AdultEUhost 12-27-2008 11:37 AM

Or you can also use:

$HTTP["host"] =~ “www.domain.com” {
url.redirect = (
”^/file.html” => “http://www.domain2.com/file.php″
)
}

xanx 12-27-2008 11:53 AM

ah, ok makes sense, thanks man

HomerSimpson 12-27-2008 12:54 PM

lighty all the way...

AdultEUhost 12-27-2008 01:24 PM

Quote:

Originally Posted by xanx (Post 15250620)
ah, ok makes sense, thanks man

you're welcome :)


All times are GMT -7. The time now is 02:08 PM.

Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc