> Does this need to be inside the <Directory> markers or anywhere in the
> httpd.conf? I run virtual hosts but my main site is the one I'm using
> this on and it uses the main http.conf.
Should be ok anywhere. If you want to debug, you can use
RewriteLogLevel 5, RewriteLog <someplace>.
Quote:> I put in what you posted, changed it to my domain and made sure I was
> using mod_rewrite but it's not working. If I go to mail.mydomain.com it
> brings up the website and the address in the browser stays at
> mail.mydomain.com. Any ideas on what could be wrong?
You didn't say you restarted the server, but I'll assume you did. If
you've already got namebased virtualhosts you might try:
Redirect / http://www.mydomain.com/
Could also be a browser cache issue, you might make sure to clear caches
and restart the browser. Also, you could use telnet or lynx to check
the http headers:
lynx -dump -head http://mail.mydomain.com/
telnet mail.mydomain.com 80
GET / HTTP/1.1
<hit enter twice after that last line>
-adam | "Be liberal in what you accept, and
Systems Administrator | conservative in what you send"
Indiana University | -Jon Postel
Bloomington, Indiana |