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-go8te9J4rpw@public.gmane.org
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
--
http://www.cfcl.com/rdm Rich Morin
http://www.cfcl.com/rdm/resume rdm-go8te9J4rpw@public.gmane.org
http://www.cfcl.com/rdm/weblog +1 650-873-7841
Technical editing and writing, programming, and web development
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Ruby on Rails: Talk" group.
To post to this group, send email to
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---