LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 02-23-2009, 06:30 AM   #1
your_shadow03
Senior Member
 
Registered: Jun 2008
Location: Germany
Distribution: Slackware
Posts: 1,461
Blog Entries: 6

Rep: Reputation: 51
Issue during viewgit setup?


I have a Git Repository setup and want to access the Repo through apache.


I edited localconfig.php file as:
Code:
<?php
/** @file
 * Example localconfig.php. See config.php for more information.
 */

// This is the only mandatory setting
$conf['projects'] = array(
        'GIT' => array('repo' => '/home/radon/repository/.git'),
);

// A bit sorter datetime format: YY-MM-DD HH:MM
$conf['datetime'] = '%y-%m-%d %H:%M';

// Extra security
$conf['allow_checkout'] = false;
<?
Copied example-htaccess to .htaccess and modified:
Code:
Options -Indexes
php_flag register_globals off
php_flag magic_quotes_gpc off

RewriteEngine On
RewriteBase /var/www/html/viewgit/
RewriteRule ^([^.]*).git/(.*)   ?a=co&p=$1&r=$2
~
Juts for Your Information, I have migrated SVN Repo today to GIT and I migrated with user radon.
Now Whenever I open http://localhost/viewgit,
it shows
Code:
 "You dont have permission to access /viewgit on this server
any idea what I am missing out?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Issue during Sendmail Setup?? your_shadow03 Linux - Newbie 5 09-25-2008 08:14 AM
Issue during Nagios Setup????? ajeetraina Linux - Software 1 12-07-2007 03:52 PM
ET: setup issue Thombose Linux - Games 4 05-12-2007 09:47 AM
mysql inital setup issue madhavr Linux - Server 5 05-08-2007 01:30 PM
Setup Issue Pi_X_eLDistortion Linux - Newbie 4 07-19-2005 12:50 PM


All times are GMT -5. The time now is 09:15 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration