Francis Brown
Jul 25 2003, 02:21 PM
I'm sorry if this sounds simple but what direcotry is the defualt directory people will see when they access
www.myserver.com?
I've tried putting index.htm and index.html files in /home/admin/public_html but it dosn't display the file.
Any suggestions?
beley
Jul 25 2003, 02:36 PM
It's probably /var/www/html but check your httpd.conf file in /etc/httpd/conf and look for the "DocumentRoot" variable.
Francis Brown
Jul 25 2003, 02:45 PM
Perhaps apache isn't setup right, I went to that directory and found an index.html file, and it's content suggests that If I had apache setup right it would display.
DocumentRoot /usr/local/apache/htdocs
blakex
Jul 25 2003, 09:24 PM
QUOTE
Originally posted by Francis Brown
Perhaps apache isn't setup right, I went to that directory and found an index.html file, and it's content suggests that If I had apache setup right it would display.
DocumentRoot /usr/local/apache/htdocs
Yes, that is the directory shown and where you need to place the index.html file. See this thread for more that I started a few days ago:
http://forum.rackshack.net/showthread.php?...&threadid=28201
-ToXiC-
Jul 25 2003, 10:29 PM
or you could could edit the httpd.conf to point to a new directory like i did..
blakex
Jul 30 2003, 03:01 AM
QUOTE
Originally posted by -ToXiC-
or you could could edit the httpd.conf to point to a new directory like i did..
So let's say I go into httpd.conf and change DirectoryRoot to /home/admin/public_html/...
I've tried this, but it doesn't seem to work when I go to my domain.
-ToXiC-
Jul 30 2003, 03:26 AM
you have to change this as well..
to
and restart apache.
blakex
Jul 30 2003, 03:27 AM
QUOTE
Originally posted by -ToXiC-
and restart apache.
I changed the second reference, but didn't restart - thanks for the reply - as you can tell, I'm quite new to this...
-ToXiC-
Jul 30 2003, 03:28 AM
yw
blakex
Jul 30 2003, 03:42 AM
I'm still having some problems. Before I restarted, I would get the "success" message from Apache, but now, after changing both references to /home/admin/public_html, all I get is a directory listing which still appears to be the apache directory as it has different index.html files.
It wouldn't be a huge problem if I could just upload a couple files into the apache directory, but my FTP program is retarded and even though I can connect securely, I can't upload and I am unsure if I can upload via SSH.
blakex
Jul 30 2003, 01:51 PM
Just wondering if anyone could help me out here qucikly
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please
click here.