Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
PostPosted: Thu Jun 17, 2010 2:50 pm 
Offline
Newbie

Joined: Thu Jun 17, 2010 2:43 pm
Posts: 2
Hi, everybody,
I'm new to linode. Support couldn't solve my problem and advised to post it here.
I've istalled Redmine according to linode's howto (http://library.linode.com/development/p ... untu-10.04) on projects.podberihost.ru. When I'm trying to connect this URL I'm getting 403 error. At the same time projects.podberihost.ru:8080 works correctly. How can I get projects.podberihost.ru to work?

this is my /etc/apache2/sites-available/projects.podberihost.ru file
Code:
<VirtualHost 178.79.133.57:80>
ServerAdmin admin@podberihost.ru
ServerName projects.podberihost.ru

ProxyPass / http://localhost:8080/

# Uncomment the line below if your site uses SSL.
#SSLProxyEngine On
</VirtualHost>

/opt/nginx/conf/nginx.conf is here http://pastebin.com/sJJDwD91
Where did I went wrong?
Please help me.
(i'm not native English speaker, so please don't mind if i say something ridiculous)
Thanks


Top
   
 Post subject:
PostPosted: Thu Jun 17, 2010 2:58 pm 
Offline
Senior Member

Joined: Sun Mar 07, 2010 7:47 pm
Posts: 1970
Website: http://www.rwky.net
Location: Earth
Ensure whatever user apache is running has had read access to where your redmine directory, also make sure you've granted access to the directory with

<Directory /path/to/redmine>
Allow from all
</Directory>

In your virtual host for apache.


Top
   
 Post subject:
PostPosted: Thu Jun 17, 2010 3:37 pm 
Offline
Newbie

Joined: Thu Jun 17, 2010 2:43 pm
Posts: 2
obs wrote:
Ensure whatever user apache is running has had read access to where your redmine directory

I gave Apache access with following commands:
Code:
usermod -a -G redmine www-data
chmod -R 744 /srv/www/projects.podberihost.ru


Is it right? I've taken apache username from /etc/apache2/envvars

obs wrote:
also make sure you've granted access to the directory with

<Directory /path/to/redmine>
Allow from all
</Directory>

Where (what file) should I put these lines?
(I'm new to Linux too)


Top
   
 Post subject:
PostPosted: Thu Jun 17, 2010 4:59 pm 
Offline
Senior Member

Joined: Sun Mar 07, 2010 7:47 pm
Posts: 1970
Website: http://www.rwky.net
Location: Earth
This one

/etc/apache2/sites-available/projects.podberihost.ru


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic


Who is online

Users browsing this forum: No registered users and 3 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
RSS

Powered by phpBB® Forum Software © phpBB Group