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:
<Virtualhost *:80 *:8000>
ServerName my.server.name
ProxyRequests Off
#Proxy ACL
<Proxy *>
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 S. wrote:
On 9/12/07, Nick C. [email protected] 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:
<Proxy *>
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).