[users@httpd] Redirections in Apache

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I would like to know how to complete a request to redirect a website that is currently virtually hosted so that the virtual host will now point to a URL not on our network?

 

The virtual host is currently defined as follows:

 

# Web World Wonders

<VirtualHost 150.176.9.174>

        ServerAdmin WWFeedback@xxxxxxxx

        DocumentRoot /usr/local/apache/htdocs/webfiles/others/webworlds

        ServerName webworldwonders.firn.edu

        ErrorLog /usr/local/apache/logs/webworlds_error_log

        CustomLog /usr/local/apache/logs/webworlds_access_log common

        ScriptAlias /cgi-bin/ "/usr/local/apache/cgi-bin/firnhostedsites/webworldwonders/"

</VirtualHost>

 

 

They now want this to point to a new URL, http://hauss.freac.fsu.edu/webworld

Would I put a statement under the redirect section of httpd.conf as shown below?  Would I also get rid of the virtual host definition or does that have to remain in place?

 

#

# Redirect allows you to tell clients about documents which used to exist in

# your server's namespace, but do not anymore. This allows you to tell the

# clients where to look for the relocated document.

# Format: Redirect old-URI new-URL

#

Redirect /usr/local/apache/htdocs/webfiles/others/webworlds  http://hauss.freac.fsu.edu/webworld

 

Denise O. James

Systems Project Analyst

Florida Department of Education

Education Data Center Rm. B2-24

325 W. Gaines Street

Tallahassee, FL 32399-0400

Phone and Fax:  (850) 245-9805

denise.james@xxxxxxxxx

 

 


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux