Setting correct file/folder permissions

Vishnupradeep intermedia.vishnu at gmail.com
Wed Dec 7 20:07:25 UTC 2011


Using Fedora 16. Installed apache , git-core, gitweb and have drupal on
/vaw/www/html
Trying to setup gitweb to share my repos with friends. After setup the UI
is working at domian.com/git but when clicked on one of the repo it
displayed.
Forbidden

You don't have permission to access /git/13igdocs/.git/ on this server.
------------------------------
Apache/2.2.21 (Fedora) Server at intermediatech.myftp.org Port 80


**I am using no-ip.com. so the server will not be online 24/7.

== contents of /etc/httpd/conf.d/git.conf ==
Alias /git /var/www/git
<Directory /var/www/git>
                Options +ExecCGI
                AddHandler cgi-script cgi

                DirectoryIndex gitweb.cgi

                RewriteEngine On
                RewriteCond %{REQUEST_FILENAME} !-f
                RewriteCond %{REQUEST_FILENAME} !-d
                RewriteRule ^.* /gitweb.cgi/$0 [L,PT]
</Directory>


== contents of /etc/gitweb.conf ==
$projectroot = '/var/www/git';
$projects_list=$projectroot;
$feature{'pathinfo'}{'default'} = [1];

$feature{'blame'}{'default'} = [1];
$feature{'blame'}{'override'} = [1];

$feature{'pickaxe'}{'default'} = [1];
$feature{'pickaxe'}{'override'} = [1];

$feature{'snapshot'}{'default'} = [1];
$feature{'snapshot'}{'override'} = [1];

$feature{'search'}{'default'} = [1];

$feature{'grep'}{'default'} = [1];
$feature{'grep'}{'override'} = [1];

$my_uri = "/git";

*Pls help me solve the problem*. I don't know if this is helpfull for
finding solution. Still gving the output of *sudo ps aux|grep http*

root     17173  0.0  0.3 495632 10280 ?        Ss   01:13   0:00
/usr/sbin/httpd -k start
apache   17175  0.0  0.2 495632  6868 ?        S    01:13   0:00
/usr/sbin/httpd -k start
apache   17176  0.0  0.2 495632  6876 ?        S    01:13   0:00
/usr/sbin/httpd -k start
apache   17177  0.0  0.2 495632  6872 ?        S    01:13   0:00
/usr/sbin/httpd -k start
apache   17178  0.0  0.2 495632  6872 ?        S    01:13   0:00
/usr/sbin/httpd -k start
apache   17179  0.0  0.2 495632  6876 ?        S    01:13   0:00
/usr/sbin/httpd -k start
apache   17180  0.0  0.2 495632  6628 ?        S    01:13   0:00
/usr/sbin/httpd -k start
apache   17181  0.0  0.2 495632  6872 ?        S    01:13   0:00
/usr/sbin/httpd -k start
apache   17182  0.0  0.2 495632  6632 ?        S    01:13   0:00
/usr/sbin/httpd -k start
vishnu   17562  0.0  0.0 109236   832 pts/0    S+   01:31   0:00 grep
--color=auto http




----
Linux Blog: http://xtreme-linux.blogspot.com/
Fedora Blog: http://xtreme-fedora.blogspot.com/
My Blog: http://sharedonweb.blogspot.com/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.fedoraproject.org/pipermail/users/attachments/20111208/4d987c41/attachment.html 


More information about the users mailing list