Passenger Redmine and apache can't run

1,495 views
Skip to first unread message

Le Dude

unread,
Apr 17, 2009, 12:35:06 AM4/17/09
to Phusion Passenger Discussions
Hi all.

I have been trying to make this redmine working with passenger with no
avail.

This is my configuration file httpd.conf

<VirtualHost *:80>
ServerName localhost
DocumentRoot /var/www/html
RailsBaseURI /redmine
</VirtualHost>

I have run the symbolic link:

ln -s /usr/local/apps/redmine/public /var/www/html/redmine

and I make sure that my /usr/local/apps/redmine/ and /var/www/html/
redmine are all owned by apache.apache

but after I restart my apache and try to connect to the redmine using
this URL
http://myserver/redmine

this was the error that I got:

You don't have permission to access /redmine on this server.

I know it got to be something simple but after spending 2 days
research and tinkering with it I still couldn't find the answer to it.

I can succesfully ran my redmine via this command:
ruby script/server -e production –p 3000

but I would like to have my apache run the whole redmine via port 80
and based on the research I did, I found passenger is the best route
to do it. Installation of passenger went very smoothly (I wish I can
say the same with ROR). Please help? Many Thanks..

Le Dude

unread,
Apr 17, 2009, 12:56:49 AM4/17/09
to Phusion Passenger Discussions
Ok I guess I'm going to answer my own questions. Since it's a
symbolic link, I added this line to the httpd.conf and that solve my
problem. Awesome.. Hope this help everyone. :-) It's amazing
sometime how you couldn't find a way to solve a problem and as soon as
you posted something, you somehow manage to figure out the resolutions
yourself. :-)

<VirtualHost *:80>
ServerName localhost
DocumentRoot /var/www/html
RailsBaseURI /redmine
<Directory /var/www/html>
Options FollowSymLinks <-------- This is the line I add
order allow,deny
allow from all
</Directory>

On Apr 16, 9:35 pm, Le Dude <ledu...@gmail.com> wrote:
> Hi all.
>
> I have been trying to make this redmine working with passenger with no
> avail.
>
> This is my configuration file httpd.conf
>
>    <VirtualHost *:80>
>       ServerName localhost
>       DocumentRoot /var/www/html
>     RailsBaseURI /redmine
>    </VirtualHost>
>
> I have run the symbolic link:
>
> ln -s /usr/local/apps/redmine/public /var/www/html/redmine
>
> and I make sure that my  /usr/local/apps/redmine/ and /var/www/html/
> redmine are all owned by apache.apache
>
> but after I restart my apache and try to connect to the redmine using
> this URLhttp://myserver/redmine
Reply all
Reply to author
Forward
0 new messages