Jonas Nicklas
2006-Jun-22 09:15 UTC
[Rails] 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) -- Posted via http://www.ruby-forum.com/.
Jonas Nicklas
2006-Jun-24 13:23 UTC
[Rails] Re: Mongrel behin Apache proxy: get "permission denied"
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 </Directory> to <Directory "c:/mongrel/ebway"> Options Indexes FollowSymLinks AllowOverride none Order allow,deny Allow from all </Directory> and it should work. -- Posted via http://www.ruby-forum.com/.