LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (http://www.linuxquestions.org/questions/linux-software-2/)
-   -   Apache with Gitorious causing redirects (http://www.linuxquestions.org/questions/linux-software-2/apache-with-gitorious-causing-redirects-4175429268/)

fakie_flip 09-27-2012 06:01 AM

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.

fakie_flip 10-03-2012 09:43 PM

bump


All times are GMT -5. The time now is 05:47 PM.