If your security auditor said you need to disable the directory listing in your web 6.1SPx server, then you can do this in Admin GUI - Document Preferences - Directory Indexing - None. You can add an error response page too to send back when a request is asking for directory indexing.

In addition to bug fixes and stability improvements (>40, http://docs.sun.com/app/docs/doc/820-6373/ghyks?a=view ), this release
introduces better compatibility with CGI and FastCGI applications by
providing REQUEST_URI and SCRIPT_FILENAME variables, support for
default-sun-web.xml, and certification of OpenSolaris 2008.11 as a
supported platform.

All users of Web Server 7.0 through Web Server 7.0 Update 3 are
encourage to upgrade.

Friday Dec 12, 2008

Today, I found a need to run perfdump periodically in web server 6.1 SPx and download it into a single file with timestamps for later analysis. I can then check further on different number of performance numbers of this web server to see if any area to tune for better.

So, hope this simple script can help capture the perfdump in web 6.1 .

However, it is still best to upgrade to web 7 to use the CLI there for perfdump (it will work in web 7 even when the webservd process hung, but not in web 6.1). Another good reason to upgraded to web 7.

Enter the PID of the web server process to collect data on(Note that the correct PID for child webservd/ns-httpd process will not be listed correctly here if you have MaxProcs > 1 in your magnus.conf):12919

"Please send the file /export/home/bits/iws/misc/SUN-GDD-webserver-wshang-solaris-v3/data/11111111-gdd-wshang-.tar.gz to
Sun Microsystems at https://supportfiles.sun.com/upload
Choose cores as the destination.

"

NOTE : Make sure you rename the above xxx.tar.gz so that your case SR# is part of the filename,

e.g. 71234567-customer_name-wshang-.tar.gz.

This will ensure the uploaded file will be moved to the right location for your case SR#.