Permalink
Browse files

Set absolutedir_secure for sections

  • Loading branch information...
pudge committed Jan 29, 2004
1 parent 4c46fea commit 665c82620c554afa924a8ed3d155a278fe72fcb9
Showing with 3 additions and 1 deletion.
  1. +3 −1 Slash/Apache/Apache.pm
View
@@ -79,6 +79,7 @@ sub SlashVirtualUser ($$$) {
# Must not just copy the form_override info
$new_cfg->{form_override} = {};
$new_cfg->{absolutedir} = $_->{url};
$new_cfg->{absolutedir_secure} = set_rootdir($_->{url}, $cfg->{constants}{absolutedir_secure});
$new_cfg->{rootdir} = set_rootdir($_->{url}, $cfg->{constants}{rootdir});
$new_cfg->{cookiedomain} = $_->{cookiedomain} if $_->{cookiedomain};
$new_cfg->{defaultsubsection} = $_->{defaultsubsection} if $_->{defaultsubsection};
@@ -165,8 +166,9 @@ sub SlashSectionHost ($$$$) {
unless $_ eq 'form_override';
}
# Must not just copy the form_override info
$new_cfg->{form_override} = {};
$new_cfg->{form_override} = {};
$new_cfg->{absolutedir} = $url;
$new_cfg->{absolutedir_secure} = set_rootdir($url, $cfg->{constants}{absolutedir_secure});
$new_cfg->{rootdir} = set_rootdir($url, $cfg->{constants}{rootdir});
$new_cfg->{basedomain} = $hostname;
$new_cfg->{defaultsection} = $section;

0 comments on commit 665c826

Please sign in to comment.