Let's try this one...
I have Apache 2.0.55 set up and also have Mongrel set up. I have
Radiant set up running under Mongrel, and have Apache proxying to the
Mongrel instance. That all seems to be working fine.
I thought I'd modify the settings a bit to let Apache serve up the
static files - images, stylesheets, etc. I have it set up, and am not
getting any errors.
However.
I'm not seeing any entries in the Apache access.log that indicate the
files are being served.
Here's my Apache config:
<VirtualHost *>
ServerName radiant.myserver.com
ErrorLog /var/log/apache2/error.log
Alias /images /var/www/radiant/public/images
Alias /stylesheets /var/www/radiant/public/stylesheets
ProxyPass /images !
ProxyPass /stylesheets !
ProxyPass / http://10.1.1.104:3000/
ProxyPassReverse / http://10.1.1.104:3000
ProxyPreserveHost on
</VirtualHost>
Anyone see any problem with my configuration? Is there any way to
tell/make sure that the Apache is handling the static files?
Thanks,
John
I have Apache 2.0.55 set up and also have Mongrel set up. I have
Radiant set up running under Mongrel, and have Apache proxying to the
Mongrel instance. That all seems to be working fine.
I thought I'd modify the settings a bit to let Apache serve up the
static files - images, stylesheets, etc. I have it set up, and am not
getting any errors.
However.
I'm not seeing any entries in the Apache access.log that indicate the
files are being served.
Where are you specifying your apache log? Does anything show up in it
when you make requests?
What does the mongrel.log say? One of them should say something...
Where are you specifying your apache log? Does anything show up in it
when you make requests?
I figured it would use the configuration of the default site, but I
guess it doesn't. I added:
LogLevel warn
CustomLog /var/log/apache2/rad.log combined
to the sites configuration, and that file is now being used.
What does the mongrel.log say? One of them should say something...
The mongrel.log file just shows that mongrel started up and the
location of it's PID file. Nothing else. The production.log file is
showing entries, which is fine.
Thanks.