Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 16 Nov 1999 10:39:06 -0500
From:      fluke <fluke@kernel-panic.net>
To:        Evren Yurtesen <yurtesen@ispro.net.tr>
Cc:        freebsd-isp@FreeBSD.ORG
Subject:   Re: problem with the web pages of users 
Message-ID:  <199911161539.KAA70140@memleak.kernel-panic.net>
In-Reply-To: Your message of "Tue, 16 Nov 1999 13:51:03 %2B0200." <Pine.BSF.4.05.9911161346450.19861-100000@finland.ispro.net.tr> 

next in thread | previous in thread | raw e-mail | index | archive | help
>Hello,
>
>We decided to have different machines for mail server
>and web server. 

Very good idea :)

>Our problem is, when we have our web pages in the other
>machine and accounts in the other machine how can we
>still use www.ourweb.com/~username type addresses?

I assume the mail server has all the users created and each of them has a real
home directory? If so, install another apache on the mail server, called 
something like www2.ourweb.com (from your example..) and do something similar
to this on www (in your srm.conf or equivalent:)

RedirectMatch permanent ^/~(.+) http://www2.ourweb.com/~$1

This makes any URL that matches the regex to be sent back to the 2nd web 
server.

Hmm I'm sure you could do something like use NIS and NFS export /home, but
this is by far (IMO) the way to go if you don't want to change the network in 
place.


Hope this helps.
antoine

>I hope my english was clear enough. If not I may try to
>rewrite my problem.
>
>Thank you
>
>Evren
>
>




To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-isp" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199911161539.KAA70140>