[CLUE-Tech] apache DocumentRoot

David Willson DLWillson at TheGeek.NU
Wed Mar 21 09:24:28 MST 2001


Do an "ls -l" within your doc-root (/www/var) and send that in.  I am
interested in whether you have an index.html or similar.  You will need one
to load a default document.

-----Original Message-----
From: clue-tech-admin at clue.denver.co.us
[mailto:clue-tech-admin at clue.denver.co.us]On Behalf Of
jason at matchingmoms.com
Sent: Tuesday, March 20, 2001 8:33 PM
To: clue-tech at clue.denver.co.us
Subject: [CLUE-Tech] apache DocumentRoot


When I type http://192.168.0.200/cgi-bin/test.pl my test script comes up
fine in my browser.

However, when I type http://192.168.0.200/ I get a:
Not Found
The requested URL / was not found on this server.
error.

Related, I think, is the following:
root /etc/apache# /usr/sbin/apachectl configtest
Syntax error on line 17 of /etc/apache/srm.conf:
DocumentRoot must be a directory

So, I've attached the relevant portion of /etc/apache/srm.conf:

# DocumentRoot: The directory out of which you will serve your
# documents. By default, all requests are taken from this directory, but
# symbolic links and aliases may be used to point to other locations.
DocumentRoot /www/var

# UserDir: The name of the directory which is appended onto a user's home
# directory if a ~user request is recieved.


Any help would be appreciated!

Jason Friedman




More information about the clue-tech mailing list