LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
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, 05:30 AM   #1
your_shadow03
Senior Member
 
Registered: Jun 2008
Location: Germany
Distribution: Slackware
Posts: 1,466
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



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 07:14 AM
Issue during Nagios Setup????? ajeetraina Linux - Software 1 12-07-2007 02:52 PM
ET: setup issue Thombose Linux - Games 4 05-12-2007 08:47 AM
mysql inital setup issue madhavr Linux - Server 5 05-08-2007 12:30 PM
Setup Issue Pi_X_eLDistortion Linux - Newbie 4 07-19-2005 11:50 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:00 AM.

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
Open Source Consulting | Domain Registration