ScriptAlias /cvstrac/ "/usr/share/webapps/cvstrac/1.1.5/hostroot/cgi-bin/" ScriptAlias /cvstrac "/usr/share/webapps/cvstrac/1.1.5/hostroot/cgi-bin/cvstrac.cgi" ScriptAlias /cvstrac.cgi "/usr/share/webapps/cvstrac/1.1.5/hostroot/cgi-bin/cvstrac.cgi" Options None AllowOverride None Order allow,deny Allow from all Options ExecCGI AllowOverride None Order allow,deny Allow from all AuthType Kerberos AuthName "CVStrac Kerberos Login" KrbServiceName HTTP KrbAuthRealms EXAMPLE.COM Krb5Keytab /etc/apache2/keytab KrbMethodNegotiate on KrbmethodK5Passwd on Require valid-user ### # NOTE: The following sections are strictly optional. Please read # and follow carefully all the instructions before uncommenting # any lines. Examples shown below are for Apache 2.0.x ONLY. ### ### # INSTRUCTIONS: # # If you would like to require authentication to access CVStrac, # then uncomment ONE of the example Directory sections below. # # You can use these to set a per-domain user access when needed # for virtual hosting. That means: only the selected user(s) will have # access to stats for the particular domain. All other users # will not be allowed to see the domain stats even though they # have authenticated successfully. ### ### # SECTION I - Basic Authentication # # The following example requires mod_auth to work. # You need to uncomment the following line in apache2.conf # and restart Apache to get the module loaded: # # LoadModule auth_module modules/mod_auth.so # # Add your CVStrac users to /etc/cvstrac/.htpasswd file. # Please see 'man htpasswd2' for more details if you need. # # htpasswd2 -c /etc/cvstrac/.htpasswd username1 # htpasswd2 /etc/cvstrac/.htpasswd username2 # etc... ### # # # Options None # AllowOverride None # Order allow,deny # Allow from all # # AuthType Basic # AuthName "CVStrac authenticated zone" # AuthUserFile /etc/cvstrac/.htpasswd # Require valid-user # # # ### # SECTION II - Digest Authentication # # The following example requires mod_auth_digest to work. # You need to uncomment the following line in apache2.conf # and restart Apache to get the module loaded: # # LoadModule auth_digest_module modules/mod_auth_digest.so # # Do not forget to replace www.example.com as appropriate. You can also add # as many domains as you need to this line. # # Add your CVStrac users to /etc/cvstrac/.htdigest file. Please see # 'man htdigest2' and http://httpd.apache.org/docs-2.0/mod/mod_auth_digest.html # for more details if you need. # # htdigest2 -c /etc/cvstrac/.htdigest "CVStrac authenticated zone" username1 # htdigest2 /etc/cvstrac/.htdigest "CVStrac authenticated zone" username2 # etc... ### # # # Options None # AllowOverride None # Order allow,deny # Allow from all # AuthType Digest # AuthName "CVStrac authenticated zone" # AuthDigestFile /etc/cvstrac/.htdigest # AuthDigestDomain http://www.example.com https://www.example.com # require valid-user # # The following line is REQUIRED to work around a bug in MSIE. # # See http://httpd.apache.org/docs-2.0/mod/mod_auth_digest.html # BrowserMatch "MSIE" AuthDigestEnableQueryStringHack=On # # ### # SECTION III - MySQL Authentication # # The following example requires mod_auth_mysql to work. # Emerge mod_auth_mysql and follow the instructions in # 12_mod_auth_mysql.conf to create MySQL database required # for authentication. After you finished adding users, add # '-D AUTH_MYSQL' to your /etc/conf.d/apache2 APACHE2_OPTS # setting and restart Apache to get the module loaded. ### # # # Options None # AllowOverride None # Order allow,deny # Allow from all # AuthName "CVStrac MySQL authenticated zone" # AuthType Basic # AuthMySQLUser authuser # AuthMySQLPassword PaSsW0Rd # AuthMySQLDB auth # AuthMySQLUserTable users # AuthMySQLNameField user_name # AuthMySQLPasswordField user_passwd # # Uncomment the two lines below ONLY if you have # # the required table for group-based MySQL authentication # # in your MySQL database. # #AuthMySQLGroupTable groups # #AuthMySQLGroupField user_group # # # Uncomment one of the following directives according # # to the database structure you have chosen. # #require valid-user # #require group your_group_name_here # #