Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 09-27-2012, 05:01 AM   #1
Senior Member
Registered: Feb 2005
Location: San Antonio, Texas
Distribution: Gentoo Hardened using OpenRC not Systemd
Posts: 1,452

Rep: Reputation: 85
Apache with Gitorious causing redirects

I followed the instructions here to set up Gitorious (uses Apache), and it seems to have caused a problem with how Apache is behaving.

I installed on my cloud server. Whenever I try to access a user's public_html such as , it redirects back to I was told there could be a hidden rewrite, not sure what that means exactly.

Even attempting to generate a 404 error by trying to access a file that does not exist is not showing in the logs. I have log files under /var/log/httpd/, but I think those are old and not in use anymore.

Here's some configuration files that might possibly tell an Apache Veteran why this redirecting is occurring.

Is Gitorious trying to take over my entire Apache and expect only it to be using Apache?

Log files:

These are the logs generated by requesting
In the file /var/www/accessgit.log

There's also a directory /var/www/error/ containing these files.

Config files:


Here's a list of files under /etc/httpd/conf.d/. If you think any of them are relevant, tell me, and I will paste the contents.

[root@alpha conf.d]# ls
README  ssl.conf.disabled  welcome.conf  xsendfile.conf  xsendfile.conf_backup
[root@alpha conf.d]#
I think /home/git/gitorious/public is the www-root. And it does not contain a .htaccess file. I found this one.

[root@alpha git]# find . -name '.htaccess'
[root@alpha git]# pwd
[root@alpha git]#
If there's any more information I can provide to help troubleshoot the problem, then tell me, and I'll give that information. userdir is enabled in httpd.conf, and I uncommented a code block for public_html in the config also.

This is all running on a CentOS 6.1 x86_64 server.

Last edited by fakie_flip; 09-27-2012 at 05:03 AM.
Old 10-03-2012, 08:43 PM   #2
Senior Member
Registered: Feb 2005
Location: San Antonio, Texas
Distribution: Gentoo Hardened using OpenRC not Systemd
Posts: 1,452

Original Poster
Rep: Reputation: 85


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
LXer: how to setup gitorious on ubuntu server 11.10 LXer Syndicated Linux News 0 04-05-2012 07:50 AM
need help with apache redirects in complex conf arrangement sneakyimp Linux - Server 1 10-20-2010 01:32 PM
Automatic Redirects in Apache kaplan71 Linux - Server 1 03-08-2007 07:09 AM
Apache redirects?! How rincewind Linux - Software 3 02-23-2005 02:43 PM
Apache: Request exceeded the limit of 10 internal redirects guarriman Linux - General 1 01-26-2005 08:06 AM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:11 PM.

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