Thomas,

Sorry I was unable to get a reply off to you yesterday.
This line is the source of your problem:

Options -ExecCGI -FollowSymLinks -SymLinksIfOwnerMatch -Includes
-IncludesNoExec -Indexes -MultiViews

-Indexes set a default restriction on listing the contents of a
directory. This is a good practice. Now since you want certain folders
to have the ability to show the directory index you can add Options
+Indexes to the directory containers where you want to allow listing the
contens.

For example

<Directory /www/http108/htdocs> 
  24         Order Allow,Deny 
  25         Allow From all 
  26    </Directory> 

Could be changed to:

<Directory /www/http108/htdocs> 
  24         Order Allow,Deny 
  25         Allow From all 
             Options +Indexes
             IndexOptions -SelectiveDirAccess
  26    </Directory>  

This would allow directory listing in htdocs and it's subfolders.
Its probably not a good idea to give the +Index option for your document
root, so add a <Directory></Directory> container for your subfolders or
change IndexOptions -SelectiveDirAccess to IndexOptions
+SelectiveDirAccess and in each folder where you want to allow a
directory list, add a file called wwwbrws. The contents of this file are
irrelevant, it just has to exist in any folder under htdocs that you
want to allow directory listings. 

Bryan Yates
SR Systems Analyst/Programmer
Information Technology
Collin County Government
http://www.collincountytexas.gov
mailto:byates@xxxxxxxxxxxxxxxxxxxxx
 
-----Original Message-----
From: web400-bounces@xxxxxxxxxxxx [mailto:web400-bounces@xxxxxxxxxxxx]
On Behalf Of Thomas
Sent: Wednesday, November 30, 2005 8:00 AM
To: web400@xxxxxxxxxxxx
Subject: [WEB400] Here is my config file - web enabling AS400


Here is the config file.  Thanks for the help.

Display Configuration File HTTP server:    HTTP108  
Selected file:    /www/http108/conf/httpd.conf  


  1    # Configuration originally created by Create HTTP Server wizard
on Thu Apr 14 18:20:50 CDT 2005 
  2    Listen *:80 
  3    DocumentRoot /www/http108/htdocs 
  4    Options -ExecCGI -FollowSymLinks -SymLinksIfOwnerMatch -Includes
-IncludesNoExec -Indexes -MultiViews 
  5    LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\"
\"%{User-Agent}i\"" combined 
  6    LogFormat "%{Cookie}n \"%r\" %t" cookie 
  7    LogFormat "%{User-agent}i" agent 
  8    LogFormat "%{Referer}i -> %U" referer 
  9    LogFormat "%h %l %u %t \"%r\" %>s %b" common 
  10    CustomLog logs/access_log combined 
  11    LogMaint logs/access_log 7 0 
  12    LogMaint logs/error_log 7 0 
  13    SetEnvIf "User-Agent" "Mozilla/2" nokeepalive 
  14    SetEnvIf "User-Agent" "JDK/1\.0" force-response-1.0 
  15    SetEnvIf "User-Agent" "Java/1\.0" force-response-1.0 
  16    SetEnvIf "User-Agent" "RealPlayer 4\.0" force-response-1.0 
  17    SetEnvIf "User-Agent" "MSIE 4\.0b2;" nokeepalive 
  18    SetEnvIf "User-Agent" "MSIE 4\.0b2;" force-response-1.0 
  19    <Directory /> 
  20         Order Deny,Allow 
  21         Deny From all 
  22    </Directory> 
  23    <Directory /www/http108/htdocs> 
  24         Order Allow,Deny 
  25         Allow From all 
  26    </Directory> 

===============================================================

Sorry if I am such a newbie at this. 





_______________________________________________
Join Excite! - http://www.excite.com
The most personalized portal on the Web!



As an Amazon Associate we earn from qualifying purchases.

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.