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 SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Redirect URL

Status
Not open for further replies.

jenica

IS-IT--Management
Mar 19, 2002
35
0
0
US
Hi,

I am trying to redirect the first page that is loaded when going to a URL.

For example:

If the URL is I want it to automatically go to
This needs to be a permanent change.

I have RedHat Linux and Apache 2.0.40.

TIA,
Jenica
 
So why do you need to re-direct, why not just change the DocumentRoot in httpd.conf to be that?

Or if your using virtual hosting then again add the DocumentRoot for that virtual host in its container?

You realy should check the FAQ's first can save us all a lot of time, they are put there for a reason? (and I'd hate to think Wullie has been wasting his time).

Good Luck,
Laurie.
 
Thanks Laurie,

I forget to look under the FAQ's. That helped!

Jenica
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top