Apache redirect

Status
Not open for further replies.


I actually solved it now.

My approach:

Create a vhost conf file for each domain, only content: the redirect.


ServerName newblue.com
ServerAlias www.newblue.com

Redirect permanent / http://oldblue.com

The project is important and time-critical, so I decided against trying to be clever.

::emp::
 
Yeah, I always use dumb code. Chances are it will be me trying to understand the stuff a year later... ahem...

::emp::
 
I actually solved it now.

My approach:

Create a vhost conf file for each domain, only content: the redirect.


ServerName newblue.com
ServerAlias www.newblue.com

Redirect permanent / Old Blue.com

The project is important and time-critical, so I decided against trying to be clever.

::emp::

That's how I would have told you to do it, fuck the rewrites.
 
Status
Not open for further replies.