[ale] odd http.conf question

Jim Popovitch jimpop at micromuse.com
Thu Jan 10 22:32:31 EST 2002


Hi Robert,

Here is what I use for situations similar to yours,
  Redirect permanent /mailman/ https://lists.sitename.com/mailman/
The above will convert URLs like this:
  http://www.sitename.com/mailman/admin
to this:
  https://lists.sitename.com/mailman/admin/
(notice all the trailing backslashes, they are important)

You can also do stuff like this with RedirectMatch:
  RedirectMatch /(*.gif) http://images.sitename.com/images/$1
where the above line will convert this:
  http://www.sitename.com/banner.gif
into this:
  http://images.sitename.com/images/banner.gif

hth,

-Jim P.


-----Original Message-----
From: Robert L. Harris [mailto:Robert.L.Harris at rdlg.net]
To: ale at ale.org
Sent: Thursday, January 10, 2002 6:37 PM
To: Atlanta Linux Enthusiasts
Subject: [ale] odd http.conf question




Ok,  I have 2 web servers running.  1 visable to the outside world, one
not.  I have a redirect along the lines of:

Redirect /path/to/private/area http://internalserver.my.com

The problem is the URL returned to the browser is
"http://internalserver.my.com"
instead of http://externalserver.my.com/path/to/private/area"

Will a rewrite rule fix this or is there a better way?  I'm still reading
the
apache.org docs.


:wq!
---------------------------------------------------------------------------
Robert L. Harris                |  Micros~1 :
Senior System Engineer          |    For when quality, reliability
  at RnD Consulting             |      and security just aren't
                                \_       that important!
DISCLAIMER:
      These are MY OPINIONS ALONE.  I speak for no-one else.
FYI:
 perl -e 'print $i=pack(c5,(41*2),sqrt(7056),(unpack(c,H)-2),oct(115),10);'


---
This message has been sent through the ALE general discussion list.
See http://www.ale.org/mailing-lists.shtml for more info. Problems should be
sent to listmaster at ale dot org.


---
This message has been sent through the ALE general discussion list.
See http://www.ale.org/mailing-lists.shtml for more info. Problems should be 
sent to listmaster at ale dot org.






More information about the Ale mailing list