Changeset 1589 for trunk/server/common
- Timestamp:
- Jul 17, 2010, 6:53:37 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/server/common/oursrc/httpdmods/mod_vhost_ldap.c
r1588 r1589 454 454 int sleep; 455 455 struct berval hostnamebv, shostnamebv; 456 int ret = DECLINED; 456 457 457 458 reqc = … … 608 609 cgi = NULL; 609 610 610 #if 0611 611 if (reqc->cgiroot) { 612 612 cgi = strstr(r->uri, "cgi-bin/"); … … 625 625 r->handler = "cgi-script"; 626 626 apr_table_setn(r->notes, "alias-forced-type", r->handler); 627 ret = OK; 627 628 } 628 #endif 629 /* This is a quick, dirty hack. I should be shot for taking 6.170 630 * this term and being willing to write a quick, dirty hack. */ 631 632 if (strncmp(r->uri, "/~", 2) == 0) { 629 } else if (strncmp(r->uri, "/~", 2) == 0) { 630 /* This is a quick, dirty hack. I should be shot for taking 6.170 631 * this term and being willing to write a quick, dirty hack. */ 633 632 char *username; 634 633 uid_t uid = (uid_t)atoll(reqc->uid); … … 648 647 } 649 648 r->filename = apr_pstrcat(r->pool, homedir, "/", USERDIR, r->uri + 2 + strlen(username), NULL); 649 ret = OK; 650 650 } 651 651 } else if (r->uri[0] == '/') { … … 713 713 714 714 /* Hack to allow post-processing by other modules (mod_rewrite, mod_alias) */ 715 return DECLINED;715 return ret; 716 716 } 717 717
Note: See TracChangeset
for help on using the changeset viewer.