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

Home » General » General Chit Chat » Apache Redirect
Show: Today's Messages :: Polls :: Message Navigator
Switch to threaded view of this topic Create a new topic Submit Reply
Apache Redirect [message #18351] Tue, 18 May 2004 19:22 Go to next message
Xonk is currently offline  Xonk   Palestinian Territory
Messages: 67
Registered: March 2004
Karma: 0
Member
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 19: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
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 22: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
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 06:39 Go to previous message
hyperbrain is currently offline  hyperbrain   Germany
Messages: 2
Registered: August 2004
Location: Mettlach - Germany
Karma: 0
Junior Member
Do it in php. Your index.php should look like:

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


greetings

HyperBrain
  Switch to threaded view of this topic Create a new topic Submit Reply
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 Nov 25 21:50:20 GMT 2024

Total time taken to generate the page: 0.02683 seconds