[Twisted-Python] Re: distrib.UserDirectory improvements

Paul Boehm typo at soniq.net
Thu Jun 12 15:46:48 MDT 2003


the reason i've written this:
apache allows you to have user html dirs outside of the homedir,
which is useful when you don't want +x homedirs.

this patch modifies userdirectory so that it's backwards compatible,
but when the constructor is called with different paths,
it behaves like apache.

that is: anything that starts with a ~, is in the users homedir
(~/public_html, and ~/.twistd-web-pb being the defaults)
and everything else is an absolute path.

  paul





More information about the Twisted-Python mailing list