Re: accessing localhost

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Check your httpd.conf file, verify the default document root is /var/www/html (could be something else)
 
Here's a snap of where I put my document root - changed from /var/www/html: (about a third of the way down)
 
# This should be changed to whatever you set DocumentRoot to.
#
<Directory "/home/domains">
#
#
 
After you are done reading the httpd.conf file, and find the document root, upload an index.html file there, then:
 
service httpd restart
 
then opening a browser and typing:  localhost
 
should bring up that page.
 
Scott
 
 
 
 
 
 

-----------------------------------------------
> SELECT * FROM users WHERE clue > 0
0 rows returned
----- Original Message -----
From: redhat
Sent: Monday, January 12, 2004 11:06 PM
Subject: Re: accessing localhost

Craig White wrote:
On Mon, 2004-01-12 at 11:27, redhat wrote:

  
Ok, why don't we start from the beginning...

How do I set up a website on my single home computer for viewing on the same single home computer?
    
---
simple question - simple answer

put documents in /var/www/html - generally a file by the name of
index.html index.htm index.php will load by default

Craig


  
Ok, the site is set with index.php and other php files.  I went and added an index.html file just to test and I still get forbidden errors.

Is there an on-web doc for setting this up? 

What services must be running?  Httpd and what else?

[Index of Archives]     [Fedora Users]     [Centos Users]     [Kernel Development]     [Red Hat Install]     [Red Hat Watch]     [Red Hat Development]     [Red Hat Phoebe Beta]     [Yosemite Forum]     [Fedora Discussion]     [Gimp]     [Stuff]     [Yosemite News]

  Powered by Linux