Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Site Redirect

Status
Not open for further replies.

gringomike

Technical User
Joined
Aug 6, 2003
Messages
148
Location
GB
Hi,

I have a virtual host defined in my httpd.conf file for two websites but need to redirect one to point to the other.

website1 at the moment has two commonly used URLs;


I need to redirect the wws address to the first one as it will soon be moving.

I've tried using the ServerAlias command inside the virtualhost directive for the wws address but I've been unsuccessful;

ServerAlias website1

Can anybody tell me what I should do in order to get this to work?

Thanks in advance!

GM
 
I've also tried;

Redirect /wws.website1.co.uk /website1/index.htm

This was also unsuccessful....

Thanks!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top