[ILUG] URL Redirection in Apache
kguest at stockbyte.com
Wed Jan 7 15:32:36 GMT 2004
On Wed, 2004-01-07 at 15:16, HAMILTON,DAVID (HP-Ireland,ex2) wrote:
> I need to set Apache up to automagically take any requests to
> http://foo.bar.local/ and redirect them to
> Someone has suggested using mod_rewrite, but I can't make head or tail of
> the documentation (http://httpd.apache.org/docs/misc/rewriteguide.html), and
> am not sure if it is the best option anyway.
> Any ideas?
add these 2 lines to your virtualhost declaration in httpd.conf:
RewriteRule ^/.*$ http://server1.bar.local:7779/forms.....
Stockbyte Royalty Free Photos
This email has been scanned for all viruses by the MessageLabs Email
Security System. For more information on a proactive email security
service working around the clock, around the globe, visit
More information about the ILUG