Jump to content

Apache/2.2.8 (Fedora) not returning files


Recommended Posts

I got a server from godaddy and am having problems getting it to return files.

 

This is on a Red Hat Fedora Core 7 box

 

I have made a copy of the httpd.conf file that you can view at

http://thunderboltsolutions.com/httpd.txt

 

Basically my problem is apache will not showing files.  I have turned off the welcome message in /etc/httpd/conf.d/welcome.conf to get an empty directory listing.

 

I have poked and prodded and can't get files to show, it always show an empty apache directory listing.

 

Here is some shell that shows I'm in the correct directory and have permissions for the index.html file

 

[root@ip-208-109-22-120 html]# pwd

/var/www/html

[root@ip-208-109-22-120 html]# ls -lA

total 4

-rwxrwxrwx 1 apache apache 12 May  5 13:38 index.html

 

 

I have restarted the httpd several times with

/etc/init.d/httpd restart

and get no error messages

Link to comment
https://forums.phpfreaks.com/topic/104425-apache228-fedora-not-returning-files/
Share on other sites

Gah I found out the problem.  When setting up the dns entry for godaddy on their simple panel, it will create another user on the machine and then add some code that makes this directory your root. 

 

The offending file was /etc/httpd/conf.d/turbopanel.conf

 

 

I went back in to the simple panel and deleted this user/dns setup and all is working again.  So much for those 4 hours of my life.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.