From: Nick Coyne Date: 2007-09-13T02:18:17+09:00 Subject: Re: Proxying junebug through Apache I'm going in circles here... Bob, I tried your vhost setup, no luck though. I've set permissions on the junebug folder to be the same owner and group as the Apache user (www-data). No difference. I load my original file in, which now looks like this: ServerName my.server.name ProxyRequests Off #Proxy ACL Order allow,deny Allow from all #Proxy directives ProxyPass / http://localhost:3301/ ProxyPassReverse / http://localhost:3301/ ProxyPreserveHost On #Turn rewriting on RewriteEngine On RewriteLogLevel 0 #Redirect non-static documents RewriteCond %{DOCUMENT_ROOT}%{REQUEST_FILENAME} !-f RewriteRule ^/(.*)$ http://localhost:3301%{REQUEST_URI} [P,QSA,L] DocumentRoot /home/nick/cvwiki/public/ ErrorLog /home/nick/cvwiki/error-cvwiki.log CustomLog /home/nick/cvwiki/access-cvwiki.log combined The error I'm now receiving is "503 Service Temporarily Unavailable" which apparently usually means that Apache can't find anything in the place its being told to look. If I go to port 3301 in my browser Junebug is running just fine. mmmmph. Nick Bob Showalter wrote: > On 9/12/07, Nick Coyne wrote: >> included in the configuration using LoadModule. > You need to load mod_proxy and mod_proxy_http. My LoadModule's look like > this: > > LoadModule proxy_module libexec/apache22/mod_proxy.so > LoadModule proxy_http_module libexec/apache22/mod_proxy_http.so > > For the permissions, you need something like this inside your > block: > > > Order Allow,Deny > Allow from all > > > Most of this you can find by reading the Apache docs under setting up > reverse proxies (which is what this is). -- Posted via http://www.ruby-forum.com/.