Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: ModPerl: ModPerl-cvs

svn commit: r1096565 - in /perl/modperl/trunk: t/protocol/TestProtocol/pseudo_http.pm xs/Apache2/RequestUtil/Apache2__RequestUtil.h

 

 

ModPerl modperl-cvs RSS feed   Index | Next | Previous | View Threaded


torsten at apache

Apr 25, 2011, 12:04 PM

Post #1 of 1 (358 views)
Permalink
svn commit: r1096565 - in /perl/modperl/trunk: t/protocol/TestProtocol/pseudo_http.pm xs/Apache2/RequestUtil/Apache2__RequestUtil.h

Author: torsten
Date: Mon Apr 25 19:04:58 2011
New Revision: 1096565

URL: http://svn.apache.org/viewvc?rev=1096565&view=rev
Log:
remove hard coded AuthType and AuthName from Apache2__RequestUtil.h

Modified:
perl/modperl/trunk/t/protocol/TestProtocol/pseudo_http.pm
perl/modperl/trunk/xs/Apache2/RequestUtil/Apache2__RequestUtil.h

Modified: perl/modperl/trunk/t/protocol/TestProtocol/pseudo_http.pm
URL: http://svn.apache.org/viewvc/perl/modperl/trunk/t/protocol/TestProtocol/pseudo_http.pm?rev=1096565&r1=1096564&r2=1096565&view=diff
==============================================================================
--- perl/modperl/trunk/t/protocol/TestProtocol/pseudo_http.pm (original)
+++ perl/modperl/trunk/t/protocol/TestProtocol/pseudo_http.pm Mon Apr 25 19:04:58 2011
@@ -165,6 +165,8 @@ __END__
AuthUserFile @ServerRoot@/htdocs/protocols/basic-auth
</IfModule>

+ AuthName TestProtocol::pseudo_http
+ AuthType Basic
Require user stas
Satisfy any


Modified: perl/modperl/trunk/xs/Apache2/RequestUtil/Apache2__RequestUtil.h
URL: http://svn.apache.org/viewvc/perl/modperl/trunk/xs/Apache2/RequestUtil/Apache2__RequestUtil.h?rev=1096565&r1=1096564&r2=1096565&view=diff
==============================================================================
--- perl/modperl/trunk/xs/Apache2/RequestUtil/Apache2__RequestUtil.h (original)
+++ perl/modperl/trunk/xs/Apache2/RequestUtil/Apache2__RequestUtil.h Mon Apr 25 19:04:58 2011
@@ -154,12 +154,6 @@ int mpxs_Apache2__RequestRec_location_me
&core_module);

if (strEQ(entry->d, location)) {
- if (!entry->ap_auth_type) {
- entry->ap_auth_type = "Basic";
- }
- if (!entry->ap_auth_name) {
- entry->ap_auth_name = apr_pstrdup(p, location);
- }
r->per_dir_config =
ap_merge_per_dir_configs(p, s->lookup_defaults, sec[i]);
return 1;

ModPerl modperl-cvs RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.