httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Lester Caine <les...@lsces.co.uk>
Subject Re: [users@httpd] Setting Up Virtual Host Help Needed on WinXP
Date Fri, 04 Jun 2010 06:41:13 GMT
Chris Montgomery wrote:
> Well, not quite there yet. As I said in my other msg, I was able to
> successfully hit http://myapps/index.html and get my dummy page to come
> up after adding "myapps" to my hosts file and adding a Directory entry
> in httpd.conf (I was getting a Access Forbidden before that):
>
> <Directory "D:/webapps/myapps/">
> Order allow,deny
> Allow from all
> </Directory>
>
> Now, when I attempt to reach down into subdirectories, I am encountering
> a 404 Not Found error. For example, I have a test folder under
> D:/webapps/myapps/ but when I point my browser to
> "http://myapps/test/index.html" it throws the 404 error.
>
> There must be some directive in the httpd.conf file to allow sub-folders
> to be visible, right?

Your base httpd.conf file probably has a <Directory /> entry to disable the 
entire file system, but ... AH try taking the final slash off in
     DocumentRoot "D:/webapps/myapps/"
     DocumentRoot "D:/webapps/myapps"

-- 
Lester Caine - G8HFL
-----------------------------
Contact - http://lsces.co.uk/wiki/?page=contact
L.S.Caine Electronic Services - http://lsces.co.uk
EnquirySolve - http://enquirysolve.com/
Model Engineers Digital Workshop - http://medw.co.uk//
Firebird - http://www.firebirdsql.org/index.php

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message