LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
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, 05:01 AM   #1
fakie_flip
Senior Member
 
Registered: Feb 2005
Location: San Antonio, Texas
Distribution: Gentoo Hardened using OpenRC not Systemd
Posts: 1,495

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 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 05:03 AM.
 
Old 10-03-2012, 08:43 PM   #2
fakie_flip
Senior Member
 
Registered: Feb 2005
Location: San Antonio, Texas
Distribution: Gentoo Hardened using OpenRC not Systemd
Posts: 1,495

Original Poster
Rep: Reputation: 85
bump
 
  


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
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

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:03 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
Open Source Consulting | Domain Registration