Re: [users@httpd] cannot get RewriteRule for just the document root to work

2011-02-18 Thread Lance Campbell
That did it! Thanks a lot for your help. It seems like every query I did in Google brought back results for redirecting all content within a domain to another domain. -- Thanks, Lance Campbell Project Manager/Software Architect/DBA Web Services at Public Affairs 217.333.0382 On Fri, 2011-0

Re: [users@httpd] cannot get RewriteRule for just the document root to work

2011-02-18 Thread Eric Covener
> RewriteCond %{HTTP_USER_AGENT} iPhone.* > RewriteRule ^/   http://test.webservices.illinois.edu/mobile.html [R,L] RewriteRule ^/$   http://test.webservices.illinois.edu/mobile.html [R,L] - The official User-To-User support foru

[users@httpd] cannot get RewriteRule for just the document root to work

2011-02-18 Thread Lance Campbell
Assume my site is: acme.com The following redirects and works as expected: RewriteCond %{HTTP_USER_AGENT} iPhone.* RewriteRule ^/index.html http://test.webservices.illinois.edu/mobile.html [R,L] So if I go to http://acme.com/index.html it redirects me to the mobile.html page. BUT if I go to ht