The URL you are using is pointing at a folder (the htdocs folder) rather than at a specific document.  Apache would, by default, attempt to give a directory listing of everything in this folder but your statement "Indexes -MultiViews" specifically tells it not to do this and thus the error 'Directory index forbidden by rule'.
You could proceed as follows -
1. Change your URL to http://999.999.99.9:8742/mydoc.html 
2. Add a file index.html file in your folder.  You may still have to change the URL - try http://999.999.99.9:8742/
 
Justin.
 
 -----Original Message-----
From: [email protected] [mailto:[EMAIL PROTECTED]On Behalf Of andrew_david_kerr
Sent: Wednesday, November 16, 2005 4:35 PM
To: [email protected]
Subject: [Easy400Group] Error 'Directory index forbidden by rule'

Having followed through Giovanni's instructions on manually
implementing an Apache instance (FAQ 39), I have hit the above error
on the directory where my home page is located (/www/testa/htdocs/).
I have ensured that the profile QTMHHTTP has rights to the
directories.

My config is very simple and copied straight from Giovanni's version.
Just changed the name 'mama' to 'testa' everywhere and the server
instance comes up fine. But if I run http://999.999.99.9:8742 I get
a '403' and the above message (ZSRV_MSG0356) in the log. My config
looks like this

ServerRoot /www/testa
DocumentRoot /www/testa/htdocs
Listen 8742
CGIConvMode %%EBCDIC/EBCDIC%%
MaxCGIJobs 40
MaxPersistentCGI 70
DefaultFsCCSID 37
DefaultNetCCSID 819

Options +ExecCGI +FollowSymLinks +SymLinksIfOwnerMatch -Includes -
Indexes -MultiViews
ThreadsPerChild 40
UseCanonicalName Off
TimeOut 120
ErrorLog logs/basic_error_log
IdentityCheck On
LogFormat "%h %l %u %t \"%r\" %>s %b" common
CustomLog logs/access_log Common
LogMaint logs/basic_error_log 30 0
LogMaint logs/access_log 30 0
BrowserMatch "Mozilla/2" nokeepalive
BrowserMatch "JDK/1\.0" force-response-1.0
BrowserMatch "Java/1\.0" force-response-1.0
BrowserMatch "RealPlayer 4\.0" force-response-1.0
BrowserMatch "MSIE 4\.0b2;" nokeepalive downgrade-1.0 force-response-
1.0
<Directory />
   Order Deny,Allow
   Deny From all
</Directory>
<Directory /www/testa/htdocs>
   Order Allow,Deny
   Allow From all
</Directory>


Any ideas? Thanks....
   





SPONSORED LINKS
How to format a computer hard drive Cobol programmer Iseries 400
How to format a computer


YAHOO! GROUPS LINKS




Reply via email to