The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Special Forums > Web Programming, Web 2.0 and Mashups
.
google unix.com




Thread: Login Page
View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
  #2 (permalink)  
Old 05-19-2009
pupp's Avatar
pupp pupp is offline Forum Staff  
cap_10hdx 1
  
 

Join Date: Feb 2008
Location: Jersey Shore
Posts: 553
you want your DocumentRoot directory. look in httpd.conf for this path. after that, you can place it anywhere you want.
example
Code:
# view /etc/apache/httpd.conf
...

DocumentRoot "/var/apache2/htdocs"
...
now you can put it in any directory after that path in /var/apache2/htdocs
you could make a directory called test and put it in there. set your permissions and owner.
next, make sure apache is up and then put in your usually address in a browser like 'http://localhost/test/test.html'
you should see your page.