Below is the config file for my first attempt at secure web serving.

When I first go to http:\\myserver\secure\index.html, the server
prompts me for a user id and password. 

If I close out my browser then go to
http:\\myserver\web_scgi\test.pgm, my browser immediately show the web
page created by test.pgm without prompting for a user id and password.

Do any of you see anything here?

Thanks for your help
Doug

#=========================================================================
# APACHE directives 
#
#=========================================================================
#  PART 1
#=========================================================================
Alias /secure/ /web_cgi/secure/
Alias /docs/ /web_cgi/docs/
ScriptAlias /cgi-bin/ /qsys.lib/web_cgi.lib/
ScriptAlias /cgi/ /qsys.lib/web_scgi.lib/

ServerRoot /web_cgi
DocumentRoot /web_cgi/htdocs
Listen 172.20.40.10:80
DefaultType text/html
CGIConvMode %%EBCDIC/EBCDIC%%
#  MaxPersistentCGI 70
#=========================================================================
#  PART 2
#=========================================================================
Options +ExecCGI +Includes -IncludesNoExec -Indexes -MultiViews
ThreadsPerChild 50
UseCanonicalName Off
DirectoryIndex index.html welcome.html
ErrorLog logs/basic_error_log
ServerName extranet.webinc.net:80
LogFormat "%h %l %u %t \"%r\" %>s %b" common
CustomLog logs/access_log Common
SetEnvIf User-Agent "Mozilla/2" nokeepalive
SetEnvIf User-Agent "JDK/1\.0" force-response-1.0
SetEnvIf User-Agent "Java/1\.0" force-response-1.0
SetEnvIf User-Agent "RealPlayer 4\.0" force-response-1.0
SetEnvIf User-Agent "MSIE 4\.0b2;" nokeepalive
#=========================================================================
#  PART 3
#=========================================================================
<Directory /web_cgi/docs>
   Order Allow,Deny
   Allow From all
</Directory>

<Directory /web_cgi/secure>
   Order Allow,Deny
   Allow From all
   Require valid-user
   PasswdFile %%SYSTEM%%
   AuthType Basic
   AuthName WebServer
</Directory>

<Directory /qsys.lib/web_scgi.lib>
   Order Allow,Deny
   Allow From all
   Require valid-user
   PasswdFile %%SYSTEM%%
   AuthType Basic
   AuthName WebServer
</Directory>

<Directory /qsys.lib/web_cgi.lib>
   Order Allow,Deny
   Allow From all
</Directory>

<Directory /web_cgi/style>
   Order Allow,Deny
   Allow From all
</Directory>









 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/Easy400Group/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 



Reply via email to