Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Redirecting requests

0 views
Skip to first unread message

Keith Jackson

unread,
Dec 20, 1996, 3:00:00 AM12/20/96
to

I'm currently using one server for virtual sites, our site,
and user web pages. I'd like to run a second server strictly
for user pages. This seems to be quite possible to do with
mod_rewrite or the UserDir directive, however, I haven't
been able to figure out how to do it with my particular
set of circumstances. I'm very green when it comes to regular
expressions- I'm just now really trying to make
use of them.

The hang up for me is that the user directories aren't
all in the same place so mapping to one specific
sub isn't possible, i.e., /users/a/*, users/b/* users/.../* .
BTW, the user pages are currently served via an nfs
mounted drive, which is also part of the desire to
redirect the requests to a server running on the
machine which owns that drive.

Could anyone help me out here? Any pointers or suggestions
would be very welcome, and I would be eternally grateful.

Regards.
--

Ralf S. Engelschall

unread,
Dec 21, 1996, 3:00:00 AM12/21/96
to

In comp.infosystems.www.servers.unix Keith Jackson <ke...@wavetech.net> wrote:

> I'm currently using one server for virtual sites, our site,
> and user web pages. I'd like to run a second server strictly
> for user pages. This seems to be quite possible to do with
> mod_rewrite or the UserDir directive, however, I haven't
> been able to figure out how to do it with my particular
> set of circumstances. I'm very green when it comes to regular
> expressions- I'm just now really trying to make
> use of them.

Hmmm.... an understanding of regular expressions is needed if you want to use
mod_rewrite. But you could steel a lot of hints from existing rewriting rules
in the documentation of mod_rewrite.

> The hang up for me is that the user directories aren't
> all in the same place so mapping to one specific
> sub isn't possible, i.e., /users/a/*, users/b/* users/.../* .
> BTW, the user pages are currently served via an nfs
> mounted drive, which is also part of the desire to
> redirect the requests to a server running on the
> machine which owns that drive.

> Could anyone help me out here? Any pointers or suggestions
> would be very welcome, and I would be eternally grateful.

I suggest you to read the mod_rewrite documentation, especially the part of
the "Homogenous URL Layout" example. There is exactly such a intranet
configuration which redirects user space according to real servers (which
really hold the stuff locally).

Greetings,
Ralf S. Engelschall
r...@engelschall.com
http://www.engelschall.com/

0 new messages