#===========================================================================
# NCSA HTTPd (comments, questions to httpd@ncsa.uiuc.edu)
#===========================================================================
# This is the gloabal access configuration file.
# Documentation for NCSA HTTPd is available from
# http://hoohoo.ncsa.uiuc.edu/
# Documentation specific to this file is at 
# http://hoohoo.ncsa.uiuc.edu/docs/setup/access/Overview.html
# http://hoohoo.ncsa.uiuc.edu/docs/tutorials/user.html
#
# NCSA takes no responsibilty for any problems that result from the use
# of this server.  See the COPYRIGHT statement that came with this 
# distribution.
#===========================================================================


# /usr/local/etc/httpd/ should be changed to whatever you set ServerRoot to.
<Directory /npac/home/pcrc_hpf/Solaris-httpd_1.5.2a/cgi-bin>
Options Indexes FollowSymLinks ExecCGI

AllowOverride None

AuthName CPS-615-Virtual-Lab
AuthType Basic
AuthUserFile /npac/home/pcrc_hpf/Solaris-httpd_1.5.2a/conf/.htpasswd 
AuthGroupFile /dev/null

<Limit GET POST PUT>
order allow,deny
allow from .syr.edu
satisfy all
require valid-user
deny from all
#allow from .syr.edu
#require valid-user
#satisfy all
</Limit>

</Directory>

# This should be changed to whatever you set DocumentRoot to.

<Directory /npac/home/pcrc_hpf/Solaris-httpd_1.5.2a/htdocs>

# This may also be "None", "All", or any combination of "Indexes",
# "Includes", or "FollowSymLinks"

Options Indexes FollowSymLinks Includes ExecCGI

# This controls which options the .htaccess files in directories can
# override. Can also be "None", or any combination of "Options", "FileInfo", 
# "AuthConfig", and "Limit"

AllowOverride None

AuthName CPS-615-Virtual-Lab
AuthType Basic
AuthUserFile /npac/home/pcrc_hpf/Solaris-httpd_1.5.2a/conf/.htpasswd 
AuthGroupFile /dev/null

<Limit GET POST PUT>
order deny,allow
deny from all
#allow from syr.edu
#satisfy all
require valid-user
satisfy all
</Limit>

# Controls who can get stuff from this server.

#<Limit GET>
#order allow,deny
#allow from all
#</Limit>

</Directory>

# You may place any other directories you wish to have access
# information for after this one.

<Directory /npac/home/pcrc_hpf/Solaris-httpd_1.5.2a/cgi-bin/cps615-bin>
Options Indexes FollowSymLinks ExecCGI

AllowOverride None

AuthName CPS-615-Virtual-Lab
AuthType Basic
AuthUserFile /npac/home/pcrc_hpf/Solaris-httpd_1.5.2a/conf/.htpasswd 
AuthGroupFile /dev/null

<Limit GET POST PUT>
order deny,allow
deny from all
#allow from syr.edu
require valid-user
satisfy all
</Limit>

</Directory>

<Directory /npac/home/pcrc_hpf/Solaris-httpd_1.5.2a/cgi-bin/vpl-bin>
Options Indexes FollowSymLinks ExecCGI

AllowOverride None

AuthName CPS-615-Virtual-Lab
AuthType Basic
AuthUserFile /npac/home/pcrc_hpf/Solaris-httpd_1.5.2a/conf/.htpasswd 
AuthGroupFile /dev/null

<Limit GET POST PUT>
order deny,allow
deny from all
#allow from syr.edu
require valid-user
satisfy all
</Limit>

</Directory>

# < ADDITIONAL DIRECTORIES FOR THE VPL2.0 VERSION >

<Directory /npac/home/pcrc_hpf/Solaris-httpd_1.5.2a/cgi-bin/vpl2.0-bin>
Options Indexes FollowSymLinks ExecCGI

AllowOverride None

AuthName CPS-615-Virtual-Lab
AuthType Basic
AuthUserFile /npac/home/pcrc_hpf/Solaris-httpd_1.5.2a/conf/.htpasswd 
AuthGroupFile /dev/null

<Limit GET POST PUT>
order deny,allow
deny from all
#allow from syr.edu
require valid-user
satisfy all
</Limit>

</Directory>
# </ ADDITIONAL DIRECTORIES FOR THE VPL2.0 VERSION >

# --- 
# Additional definition for accessing cgi-bin util directory 
# ---
<Directory /npac/home/pcrc_hpf/Solaris-httpd_1.5.2a/cgi-bin/utils>
Options Indexes FollowSymLinks ExecCGI

AllowOverride None

AuthName Test
AuthType Basic
AuthUserFile /npac/home/pcrc_hpf/Solaris-httpd_1.5.2a/conf/.htpasswd 
AuthGroupFile /dev/null

<Limit GET POST PUT>
order deny,allow
deny from all
#allow from syr.edu
require valid-user
satisfy all
</Limit>

</Directory>

# < ADDITIONAL DIRECTORIES FOR THE VPL2.01 VERSION >

<Directory /npac/home/pcrc_hpf/Solaris-httpd_1.5.2a/cgi-bin/vpl2.01-bin>
Options Indexes FollowSymLinks ExecCGI

AllowOverride None

AuthName Virtual Programming Lab
AuthType Basic
AuthUserFile /npac/home/pcrc_hpf/Solaris-httpd_1.5.2a/conf/.htpasswd 
AuthGroupFile /dev/null

<Limit GET POST PUT>
order deny,allow
deny from all
#allow from syr.edu
require valid-user
satisfy all
</Limit>
</Directory>

#ADDED by Ozgur Balsoy on Feb 2, 99. Will be removed later...
<Directory /npac/home/pcrc_hpf/Solaris-httpd_1.5.2a/cgi-bin/publisher>
Options Indexes FollowSymLinks ExecCGI

AllowOverride None

AuthName Virtual Programming Lab
AuthType Basic
AuthUserFile /npac/home/pcrc_hpf/Solaris-httpd_1.5.2a/conf/.htpasswd
AuthGroupFile /dev/null

<Limit GET POST PUT>
order deny,allow
deny from all
#allow from syr.edu
require valid-user
satisfy all
</Limit>
</Directory>



