Webrick Apache virtualhost hell

Added by John Reynolds about 10 years ago

Hello,

I have a 7.1 version of redmine running in Ubuntu just fine, as long as I just use webrick.
I have the redmine folder in my home directory, and have the permissions set per the documentation, etc.

I have the most simple virtualhost proxy script imaginable, which used to work on InstantRails. In fact, it does seem to work OK, but I always get a permissions error. I have actually taken the entire directory and put it into /var/www/ and chmod to everything root - still nothing.
Here is the virtual host directive, in the /etc/apache2/httpd.conf file.

<VirtualHost *:80>
ServerName bugtraq
ProxyPass / http://localhost:3000/
ProxyPassReverse / http://localhost:3000
</VirtualHost>

I'm at the point I'm about to go back to Windows/InstantRails because I can't get this forwarding working.
Any pointers would be appreciated.

Replies (2)

RE: Webrick Apache virtualhost hell - Added by Eric Davis about 10 years ago

Check out my configuration on Issue 1145 You will have to adapt it a bit but that is what I was running for several months with 0 issues.

Eric

RE: Webrick Apache virtualhost hell - Added by Mat Schaffer about 10 years ago

Also check out this thread.

Also chown'ing to root might not be the best idea since your web server probably runs as something along the lines of www-data.

(1-2/2)