diff options
Diffstat (limited to 'docs/manual/howto/auth.html.en')
-rw-r--r-- | docs/manual/howto/auth.html.en | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/docs/manual/howto/auth.html.en b/docs/manual/howto/auth.html.en index 23da9f9584..b22c1cbc86 100644 --- a/docs/manual/howto/auth.html.en +++ b/docs/manual/howto/auth.html.en @@ -213,13 +213,13 @@ module from each group.</p> following directives, either placed in the file <code>/usr/local/apache/htdocs/secret/.htaccess</code>, or placed in <code>httpd.conf</code> inside a <Directory - /usr/local/apache/htdocs/secret> section.</p> + "/usr/local/apache/htdocs/secret"> section.</p> <pre class="prettyprint lang-config">AuthType Basic AuthName "Restricted Files" # (Following line optional) AuthBasicProvider file -AuthUserFile /usr/local/apache/passwd/passwords +AuthUserFile "/usr/local/apache/passwd/passwords" Require user rbowen</pre> @@ -315,8 +315,8 @@ person in</a></h2> AuthName "By Invitation Only" # Optional line: AuthBasicProvider file -AuthUserFile /usr/local/apache/passwd/passwords -AuthGroupFile /usr/local/apache/passwd/groups +AuthUserFile "/usr/local/apache/passwd/passwords" +AuthGroupFile "/usr/local/apache/passwd/groups" Require group GroupName</pre> @@ -375,11 +375,11 @@ Require group GroupName</pre> <p>To select a dbm file rather than a text file, for example:</p> - <pre class="prettyprint lang-config"><Directory /www/docs/private> + <pre class="prettyprint lang-config"><Directory "/www/docs/private"> AuthName "Private" AuthType Basic AuthBasicProvider dbm - AuthDBMUserFile /www/passwords/passwd.dbm + AuthDBMUserFile "/www/passwords/passwd.dbm" Require valid-user </Directory></pre> @@ -397,11 +397,11 @@ Require group GroupName</pre> scheme that meets your needs. In the following example, both the file and LDAP based authentication providers are being used.</p> - <pre class="prettyprint lang-config"><Directory /www/docs/private> + <pre class="prettyprint lang-config"><Directory "/www/docs/private"> AuthName "Private" AuthType Basic AuthBasicProvider file ldap - AuthUserFile /usr/local/apache/passwd/passwords + AuthUserFile "/usr/local/apache/passwd/passwords" AuthLDAPURL ldap://ldaphost/o=yourorg Require valid-user </Directory></pre> @@ -420,13 +420,13 @@ Require group GroupName</pre> authorization methods can also be used. In this example both file group authorization as well as LDAP group authorization is being used.</p> - <pre class="prettyprint lang-config"><Directory /www/docs/private> + <pre class="prettyprint lang-config"><Directory "/www/docs/private"> AuthName "Private" AuthType Basic AuthBasicProvider file - AuthUserFile /usr/local/apache/passwd/passwords + AuthUserFile "/usr/local/apache/passwd/passwords" AuthLDAPURL ldap://ldaphost/o=yourorg - AuthGroupFile /usr/local/apache/passwd/groups + AuthGroupFile "/usr/local/apache/passwd/groups" Require group GroupName Require ldap-group cn=mygroup,o=yourorg </Directory></pre> |