[cvs] [Wiki] changed: GollemFtpJail
Wiki Guest
wiki at wiki.horde.org
Thu Feb 9 07:35:35 PST 2006
guest [81.227.136.110] Thu, 09 Feb 2006 07:35:35 -0800
Modified page: http://wiki.horde.org/GollemFtpJail
New Revision: 2.2
Change log: possible solution
@@ -19,5 +19,15 @@
Is for example the current domain running horde available as
'hostspec' => $GLOBALS['something...'],
For that matter, is there any quick way to see what global values are available?
+----
+Possible solutions...
+
+ 'hostspec' => $_SERVER['SERVER_NAME'],
+which would howver need to be recast from e.g. 'webmail.example.com' to 'ftp.example.com'
+
+And if ftp-login to explicit IP correctly references the appropriate virtual server configuration for jail path:
+ 'hostspec' => $_SERVER['SERVER_ADDR'],
+
+The last works in my setup at least.
More information about the cvs
mailing list