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

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.