LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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.

Notices



Reply
 
Search this Thread
Old 09-27-2012, 06:01 AM   #1
fakie_flip
Senior Member
 
Registered: Feb 2005
Location: san antonio, texas
Distribution: Fedora 64 bit RAID0 + LUKS, CentOS (server), Backtrack, Gentoo Hardened
Posts: 1,441

Rep: Reputation: 81
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 http://cloudslice.no-ip.org/~bullshark , it redirects back to http://cloudslice.no-ip.org. 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
http://cloudslice.no-ip.org/~bullshark
In the file /var/www/accessgit.log

http://vpaste.net/Nt0Q2


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

http://vpaste.net/CJoJB

Config files:

/etc/httpd/conf/httpd.conf

http://vpaste.net/x7tT3


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.

Code:
[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.

Code:
[root@alpha git]# find . -name '.htaccess'
./gitorious/vendor/plugins/ultrasphinx/test/integration/app/public/.htaccess
[root@alpha git]# pwd
/home/git
[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 06:03 AM.
 
Old 10-03-2012, 09:43 PM   #2
fakie_flip
Senior Member
 
Registered: Feb 2005
Location: san antonio, texas
Distribution: Fedora 64 bit RAID0 + LUKS, CentOS (server), Backtrack, Gentoo Hardened
Posts: 1,441

Original Poster
Rep: Reputation: 81
bump
 
  


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


All times are GMT -5. The time now is 02:39 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration