I'm having a bit of trouble with Apache's virtual hosts.
My httpd.conf file contains:
<VirtualHost *:80> ServerName xyz.cfcl.com ServerAdmin rdm@cfcl.com ErrorLog /dev/null CustomLog /dev/null common ProxyRequests Off ProxyPass / http://fido.cfcl.com:3002 ProxyPassReverse / http://fido.cfcl.com:3002 </VirtualHost>
This lets requests get to a copy of RoR 1.2 (Locomotive) on fido. Mostly, this works fine. For example, http://localhost:3002 and http://xyz.cfcl.com/ both bring up a welcome page.
However, although http://localhost:3002/stylesheets/base.css brings up a CSS file, http://xyz.cfcl.com/stylesheets/base.css brings up the nastygram:
Bad Request Your browser sent a request that this server could not understand. Apache/1.3.33 Server at tchm.cfcl.com Port 80
In fact, ANY file in the public directory (e.g., {404,500}.html) acts this way. Any idea on whether this is an Apache or Rails problem and (more critically) what to do about it?
-r