thanatas11 Posted May 6, 2008 Share Posted May 6, 2008 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 Quote Link to comment Share on other sites More sharing options...
thanatas11 Posted May 6, 2008 Author Share Posted May 6, 2008 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. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.