FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » General » General Chit Chat » Apache Redirect
Show: Today's Messages :: Unread Messages :: Show Polls :: Message Navigator
| Subscribe to topic | Bookmark topic 
Switch to threaded view of this topic Create a new topic Submit Reply
Apache Redirect [message #18351] Tue, 18 May 2004 15:22 Go to next message
Xonk is currently offline  Xonk   Palestinian Territory
Messages: 67
Registered: March 2004
Karma: 0
Member
add to buddy list
ignore all messages by this user
Hello,

when surfing www.fudforum.org there's a redirect to fudforum.org.
How can I configure such a redirect with the apache?
I have the problem, that cookies in the IE are not accepted with 'middle-cookie-security' when surfing my page with www.
The URL configured in the fudforum is without www. When surfing my page without www the cookie will be set.

Thanks in advance,

Sven
Re: Apache Redirect [message #18353 is a reply to message #18351] Tue, 18 May 2004 15:28 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
add to buddy list
ignore all messages by this user
I just use PHP in this case, but you can do it with mod_rewrite.

FUDforum Core Developer
Re: Apache Redirect [message #19125 is a reply to message #18353] Fri, 25 June 2004 18:20 Go to previous messageGo to next message
alansmith is currently offline  alansmith   United Kingdom
Messages: 49
Registered: February 2004
Location: Seaton Devon
Karma: 0
Member
add to buddy list
ignore all messages by this user
You can also do it with 304 in .htaccess files. I am not sure exactally how off the top of my head it has been a while but this is the recommended solution as it causes search engines to update correctly.
Re: Apache Redirect [message #19736 is a reply to message #19125] Sat, 28 August 2004 02:39 Go to previous message
hyperbrain is currently offline  hyperbrain   Germany
Messages: 2
Registered: August 2004
Location: Mettlach - Germany
Karma: 0
Junior Member
add to buddy list
ignore all messages by this user
Do it in php. Your index.php should look like:

<?php
   header
("Location: http://fudforum.org");  // Address to redirect
?>


greetings

HyperBrain
Quick Reply
Formatting Tools:   
  Switch to threaded view of this topic Create a new topic
Previous Topic: hi im new here
Next Topic: Furthermore Inc Bothers the Mambo Community - Brian Connolly at large
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Mon Jul 28 02:15:59 EDT 2014

Total time taken to generate the page: 0.01000 seconds