You are viewing a plain text version of this content. The canonical link for it is here.
Posted to docs@httpd.apache.org by Vincent Bray <no...@gmail.com> on 2006/11/08 23:25:37 UTC
mod_authn_alias docs patch
Hi,
Patch to the mod_authn_alias docs. Could somebody confirm that
AuthnProviderAlias isn't permitted in vhost context?
The patch is to the 2.2 branch, that being the only relevant branch
for this module.
Index: docs/manual/mod/mod_authn_alias.xml
===================================================================
--- docs/manual/mod/mod_authn_alias.xml (revision 472662)
+++ docs/manual/mod/mod_authn_alias.xml (working copy)
@@ -77,7 +77,7 @@
AuthType Basic<br />
AuthName LDAP_Protected_Place<br />
AuthzLDAPAuthoritative off<br />
- require valid-user<br />
+ Require valid-user<br />
</indent>
</Directory><br />
</example>
@@ -90,7 +90,7 @@
the specified alias</description>
<syntax><AuthnProviderAlias <var>baseProvider Alias</var>>
... </AuthnProviderAlias></syntax>
-<contextlist><context>server config</context><context>virtual host</context>
+<contextlist><context>server config</context>
</contextlist>
<usage>
Thanks,
--
noodl
---------------------------------------------------------------------
To unsubscribe, e-mail: docs-unsubscribe@httpd.apache.org
For additional commands, e-mail: docs-help@httpd.apache.org
Re: Re: mod_authn_alias docs patch
Posted by Vincent Bray <no...@gmail.com>.
On 11/9/06, Brad Nicholes <bn...@novell.com> wrote:
> The virtual host parts of this patch would also need to be applied to mod/mod_authn_core.xml in trunk.
Thanks Brad,
Sounds like the previous patch is still valid for 2.2, and here's the
change for trunk.
Index: docs/manual/mod/mod_authn_core.xml
===================================================================
--- docs/manual/mod/mod_authn_core.xml (revision 454703)
+++ docs/manual/mod/mod_authn_core.xml (working copy)
@@ -160,7 +160,7 @@
the specified alias</description>
<syntax><AuthnProviderAlias <var>baseProvider Alias</var>>
... </AuthnProviderAlias></syntax>
-<contextlist><context>server config</context><context>virtual host</context>
+<contextlist><context>server config</context>
</contextlist>
<usage>
--
noodl
---------------------------------------------------------------------
To unsubscribe, e-mail: docs-unsubscribe@httpd.apache.org
For additional commands, e-mail: docs-help@httpd.apache.org
Re: mod_authn_alias docs patch
Posted by Brad Nicholes <bn...@novell.com>.
>>> On Wed, Nov 8, 2006 at 3:25 PM, in message
<81...@mail.gmail.com>, "Vincent Bray"
<no...@gmail.com> wrote:
> Hi,
>
> Patch to the mod_authn_alias docs. Could somebody confirm that
> AuthnProviderAlias isn't permitted in vhost context?
>
> The patch is to the 2.2 branch, that being the only relevant branch
> for this module.
>
> Index: docs/manual/mod/mod_authn_alias.xml
> ===================================================================
> --- docs/manual/mod/mod_authn_alias.xml (revision 472662)
> +++ docs/manual/mod/mod_authn_alias.xml (working copy)
> @@ - 77,7 +77,7 @@
> AuthType Basic<br />
> AuthName LDAP_Protected_Place<br />
> AuthzLDAPAuthoritative off<br />
> - require valid- user<br />
> + Require valid- user<br />
> </indent>
> </Directory><br />
> </example>
> @@ - 90,7 +90,7 @@
> the specified alias</description>
> <syntax><AuthnProviderAlias <var>baseProvider Alias</var>>
> ... </AuthnProviderAlias></syntax>
> - <contextlist><context>server config</context><context>virtual host</context>
> +<contextlist><context>server config</context>
> </contextlist>
>
> <usage>
>
> Thanks,
The virtual host parts of this patch would also need to be applied to mod/mod_authn_core.xml in trunk.
Brad
---------------------------------------------------------------------
To unsubscribe, e-mail: docs-unsubscribe@httpd.apache.org
For additional commands, e-mail: docs-help@httpd.apache.org
Re: Re: mod_authn_alias docs patch
Posted by Brad Nicholes <BN...@novell.com>.
>>> On 11/8/2006 at 4:45 PM, in message
<81...@mail.gmail.com>, "Vincent Bray"
<no...@gmail.com> wrote:
> On 11/8/06, Brad Nicholes <BN...@novell.com> wrote:
>> The directive is defined as RSRC_CONF which basically says that it must
> exist outside of a <Directory> or <Location>. Within a virtual host should be
> fine.
>>
>
> Thanks,
> When I try <AuthnProviderAlias> in <VirtualHost> I get this error message:
>
> spork:~/Services/httpd noodl$ ./bin/apachectl configtest
> Syntax error on line 34 of
> /Users/noodl/Services/httpd/conf/extra/httpd-vhosts.conf:
> <AuthnProviderAlias> cannot occur within <VirtualHost> section
>
> What gives?
>
> My config (except that APA is now in the main server context) is here:
>
> http://wiki.apache.org/httpd/Recipes/MultiUserFiles
There is no server_merge function defined in the module. So defining the alias in a virtual server would be invalid.
Brad
---------------------------------------------------------------------
To unsubscribe, e-mail: docs-unsubscribe@httpd.apache.org
For additional commands, e-mail: docs-help@httpd.apache.org
Re: Re: mod_authn_alias docs patch
Posted by Vincent Bray <no...@gmail.com>.
On 11/8/06, Brad Nicholes <BN...@novell.com> wrote:
> The directive is defined as RSRC_CONF which basically says that it must exist outside of a <Directory> or <Location>. Within a virtual host should be fine.
>
Thanks,
When I try <AuthnProviderAlias> in <VirtualHost> I get this error message:
spork:~/Services/httpd noodl$ ./bin/apachectl configtest
Syntax error on line 34 of
/Users/noodl/Services/httpd/conf/extra/httpd-vhosts.conf:
<AuthnProviderAlias> cannot occur within <VirtualHost> section
What gives?
My config (except that APA is now in the main server context) is here:
http://wiki.apache.org/httpd/Recipes/MultiUserFiles
--
noodl
---------------------------------------------------------------------
To unsubscribe, e-mail: docs-unsubscribe@httpd.apache.org
For additional commands, e-mail: docs-help@httpd.apache.org
Re: mod_authn_alias docs patch
Posted by Brad Nicholes <BN...@novell.com>.
>>> On 11/8/2006 at 3:25 PM, in message
<81...@mail.gmail.com>, "Vincent Bray"
<no...@gmail.com> wrote:
> Hi,
>
> Patch to the mod_authn_alias docs. Could somebody confirm that
> AuthnProviderAlias isn't permitted in vhost context?
>
> The patch is to the 2.2 branch, that being the only relevant branch
> for this module.
>
> Index: docs/manual/mod/mod_authn_alias.xml
> ===================================================================
> --- docs/manual/mod/mod_authn_alias.xml (revision 472662)
> +++ docs/manual/mod/mod_authn_alias.xml (working copy)
> @@ -77,7 +77,7 @@
> AuthType Basic<br />
> AuthName LDAP_Protected_Place<br />
> AuthzLDAPAuthoritative off<br />
> - require valid-user<br />
> + Require valid-user<br />
> </indent>
> </Directory><br />
> </example>
> @@ -90,7 +90,7 @@
> the specified alias</description>
> <syntax><AuthnProviderAlias <var>baseProvider Alias</var>>
> ... </AuthnProviderAlias></syntax>
> -<contextlist><context>server config</context><context>virtual host</context>
> +<contextlist><context>server config</context>
> </contextlist>
>
> <usage>
>
> Thanks,
The directive is defined as RSRC_CONF which basically says that it must exist outside of a <Directory> or <Location>. Within a virtual host should be fine.
Brad
---------------------------------------------------------------------
To unsubscribe, e-mail: docs-unsubscribe@httpd.apache.org
For additional commands, e-mail: docs-help@httpd.apache.org