[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

RE: URL forwarding




> -----Original Message-----
> From: Sebastiaan [mailto:S.Breedveld@ITS.TUDelft.NL]
> Sent: Wednesday, October 16, 2002 12:14 PM
> To: debian-user@lists.debian.org
> 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> 


Erik



Reply to: