Browse Source

* Re-enabled per-dir config when getting remote host.
(fields are now correctly aligned in apache header structs)

git-svn-id: trunk@17918 -

michael 14 years ago
parent
commit
f2b5294dfb
1 changed files with 2 additions and 1 deletions
  1. 2 1
      packages/fcl-web/src/base/fpapache.pp

+ 2 - 1
packages/fcl-web/src/base/fpapache.pp

@@ -479,7 +479,8 @@ begin
            If (FRequest^.Connection<>Nil) then
            If (FRequest^.Connection<>Nil) then
              begin
              begin
              Result:=MaybeP(ap_get_remote_host(FRequest^.Connection,
              Result:=MaybeP(ap_get_remote_host(FRequest^.Connection,
-                            nil,
+                            FRequest^.per_dir_config,
+//                            nil,
                             REMOTE_NAME,@i));
                             REMOTE_NAME,@i));
              end;                   
              end;                   
       29 : begin // ScriptName
       29 : begin // ScriptName