Mongrel behin Apache proxy: get "permission denied"

I am trying to run a Typo app behind on mongrel, with Apache proxying on
Windows XP. The idea is to have the subdirectory /ebway point to my app.
I am using the following code in my http.conf:

LoadModule proxy_module modules/mod_proxy.so
LoadModule proxy_http_module modules/mod_proxy_http.so
ProxyRequests Off

<Proxy *>
	Order deny,allow
	Allow from all
</Proxy>


Alias /ebway "c:/mongrel/ebway/public"

<Directory "c:/mongrel/ebway/public">
	Options Indexes FollowSymLinks
	AllowOverride none
	Order allow,deny
	Allow from all
</Directory>

ProxyPass /ebway/ http://127.0.0.1:4000/

ProxyPass /ebway http://127.0.0.1:4000/
ProxyPassReverse /ebway/ http://127.0.0.1:4000/

Which works for .html files and the rest of the app, but if I try to
access images or .css files I get “permission denied” errors.

(I have set the base url of the app, that shouldn’t be the problem)

I came up with the answer myself, I’ll share it, since I haven’t got any
replies:

Typo uses files from directories other than public as well, simply
change

<Directory “c:/mongrel/ebway/public”>
Options Indexes FollowSymLinks
AllowOverride none
Order allow,deny
Allow from all

to

<Directory “c:/mongrel/ebway”>
Options Indexes FollowSymLinks
AllowOverride none
Order allow,deny
Allow from all

and it should work.

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs