[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 6:00 PM
> To: Price, Erik
> Cc: Sebastiaan; debian-user@lists.debian.org
> Subject: RE: URL forwarding
> 
> 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 ?



Doesn't that mean that you need to use it in a /.htaccess file?  Are you modifying httpd.conf or a .htaccess file?



Erik



Reply to: