Hi, On Wed, 16 Oct 2002, Price, Erik wrote:
> > > > -----Original Message----- > > From: Sebastiaan [mailto:[EMAIL PROTECTED]] > > Sent: Wednesday, October 16, 2002 12:14 PM > > To: [EMAIL PROTECTED] > > Subject: URL forwarding > > > My current situation is that I own a domain, say > > mydomain.com, and that I > > have a webpage on a fast webserver, say www.myweb.com/~mypage/. > > > > What I would like to do is that www.mydomain.com becomes an > > equivalent for > > www.myweb.com/~mypage/. > > > > It is not possible to handle this with DNS (at least, I have > > not succeeded > > until now). I run the DNS server my own, and if needed I can > > run a HTTP > > server too. > > > > I think this is easily done with Apache. Does anyone have any > > hints for > > this problem? > > Yes, using the mod_rewrite module that can be DSO'd into the web server. Read all >about it here: > > <http://httpd.apache.org/docs/misc/rewriteguide.html> > > Hey, looks like the stuff I need. Unfortunetely I am unable to configure it correctly. I am stranded at: RewriteEngine on RewriteBase %{REQUEST_URI} RewriteRule ^(.+) http://www.myweb.com/~mypage/$1 but after a apachectl configtest, it complains about: RewriteBase: only valid in per-directory config files Any idea how to translate www.mydomain.com to www.myweb.com/~mypage ? Thanks again, Sebastiaan > Erik > -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]