最新国产好看的视频,伊人天堂AV在线,国产Aaaaaa视频,蜜臀视频在线观看一区,人妻av色图,密臀久久久精品影片,青青视频免费观看毛片,久草在线观看视,国产三级精品色情在线

<-
Apache > HTTP Server > 文檔 > 版本2.2 > 模塊
   致謝 | 譯者聲明 | 本篇譯者:<虛位以待> | 本篇譯稿完成時間:?年?月?日 | 獲取最新版本

Apache模塊 mod_authn_anon

說明提供匿名用戶認(rèn)證支持
狀態(tài)擴(kuò)展(E)
模塊名authn_anon_module
源文件mod_authn_anon.c
兼容性僅在 Apache 2.1 及以后的版本中可用

概述

This module provides authentication front-ends such as mod_auth_basic to authenticate users similar to anonymous-ftp sites, i.e. have a 'magic' user id 'anonymous' and the email address as a password. These email addresses can be logged.

Combined with other (database) access control methods, this allows for effective user tracking and customization according to a user profile while still keeping the site open for 'unregistered' users. One advantage of using Auth-based user tracking is that, unlike magic-cookies and funny URL pre/postfixes, it is completely browser independent and it allows users to share URLs.

When using mod_auth_basic, this module is invoked via the AuthBasicProvider directive with the anon value.

top

Example

The example below is combined with "normal" htpasswd-file based authentication and allows users in additionally as 'guests' with the following properties:

示例

<Directory /foo> AuthName "Use 'anonymous' & Email address for guest entry"
AuthType Basic
AuthBasicProvider file anon
AuthUserFile /path/to/your/.htpasswd

Anonymous_NoUserID off
Anonymous_MustGiveEmail on
Anonymous_VerifyEmail on
Anonymous_LogEmail on
Anonymous anonymous guest www test welcome

Order Deny,Allow
Allow from all

Require valid-user
</Directory>

top

Anonymous 指令

說明Specifies userIDs that are allowed access without password verification
語法Anonymous user [user] ...
作用域directory, .htaccess
覆蓋項AuthConfig
狀態(tài)擴(kuò)展(E)
模塊mod_authn_anon

A list of one or more 'magic' userIDs which are allowed access without password verification. The userIDs are space separated. It is possible to use the ' and " quotes to allow a space in a userID as well as the \ escape character.

Please note that the comparison is case-IN-sensitive.
It's strongly recommended that the magic username 'anonymous' is always one of the allowed userIDs.

示例:

Anonymous anonymous "Not Registered" "I don't know"

This would allow the user to enter without password verification by using the userIDs "anonymous", "AnonyMous", "Not Registered" and "I Don't Know".

As of Apache 2.1 it is possible to specify the userID as "*". That allows any supplied userID to be accepted.

top

Anonymous_LogEmail 指令

說明Sets whether the password entered will be logged in the error log
語法Anonymous_LogEmail On|Off
默認(rèn)值Anonymous_LogEmail On
作用域directory, .htaccess
覆蓋項AuthConfig
狀態(tài)擴(kuò)展(E)
模塊mod_authn_anon

When set On, the default, the 'password' entered (which hopefully contains a sensible email address) is logged in the error log.

top

Anonymous_MustGiveEmail 指令

說明Specifies whether blank passwords are allowed
語法Anonymous_MustGiveEmail On|Off
默認(rèn)值Anonymous_MustGiveEmail On
作用域directory, .htaccess
覆蓋項AuthConfig
狀態(tài)擴(kuò)展(E)
模塊mod_authn_anon

Specifies whether the user must specify an email address as the password. This prohibits blank passwords.

top

Anonymous_NoUserID 指令

說明Sets whether the userID field may be empty
語法Anonymous_NoUserID On|Off
默認(rèn)值Anonymous_NoUserID Off
作用域directory, .htaccess
覆蓋項AuthConfig
狀態(tài)擴(kuò)展(E)
模塊mod_authn_anon

When set On, users can leave the userID (and perhaps the password field) empty. This can be very convenient for MS-Explorer users who can just hit return or click directly on the OK button; which seems a natural reaction.

top

Anonymous_VerifyEmail 指令

說明Sets whether to check the password field for a correctly formatted email address
語法Anonymous_VerifyEmail On|Off
默認(rèn)值Anonymous_VerifyEmail Off
作用域directory, .htaccess
覆蓋項AuthConfig
狀態(tài)擴(kuò)展(E)
模塊mod_authn_anon

When set On the 'password' entered is checked for at least one '@' and a '.' to encourage users to enter valid email addresses (see the above Anonymous_LogEmail).

南召县| 渑池县| 五华县| 沁源县| 当雄县| 八宿县| 远安县| 于都县| 辽源市| 鄂尔多斯市| 芦溪县| 吉水县| 朝阳县| 新巴尔虎左旗| 合江县| 行唐县| 新邵县| 德昌县| 枣阳市| 舟曲县| 长治县| 洞口县| 得荣县| 马边| 门头沟区| 绥宁县| 定结县| 福安市| 石门县| 凌云县| 裕民县| 德格县| 大埔区| 曲靖市| 广西| 陵川县| 青铜峡市| 吉木萨尔县| 江孜县| 郯城县| 高尔夫|