Changeset 59
- Timestamp:
- 07/25/07 20:53:43 (1 year ago)
- Files:
-
- projects/Twisted-Goodies/trunk/misc/var_www_foss.tellectual.com_index.py (modified) (2 diffs)
- projects/Twisted-Goodies/trunk/twisted_goodies/simpleserver/http/auth.py (modified) (1 diff)
- projects/Twisted-Goodies/trunk/twisted_goodies/simpleserver/http/resources.py (modified) (3 diffs)
- projects/Twisted-Goodies/trunk/twisted_goodies/simpleserver/http/rest/directives.py (modified) (1 diff)
- projects/Twisted-Goodies/trunk/twisted_goodies/simpleserver/http/rest/page.py (modified) (1 diff)
- projects/Twisted-Goodies/trunk/twisted_goodies/simpleserver/http/startup.py (modified) (1 diff)
- projects/Twisted-Goodies/trunk/twisted_goodies/simpleserver/http/util.py (modified) (1 diff)
- projects/Twisted-Goodies/trunk/twisted_goodies/simpleserver/http/wsgi.py (modified) (1 diff)
- projects/Twisted-Goodies/trunk/twisted_goodies/simpleserver/http/__init__.py (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
projects/Twisted-Goodies/trunk/misc/var_www_foss.tellectual.com_index.py
r57 r59 1 # DynamicSite:1 # twisted_goodies.simpleserver.http: 2 2 # A virtual hosting twisted.web2 HTTP server that uses subdirectories for 3 3 # virtual host content. Subdirectories can be python packages providing dynamic 4 4 # content with a root resource object, or sources of static content. 5 5 # 6 # Copyright (C) 2006 by Edwin A. Suominen, http://www.eepatents.com6 # Copyright (C) 2006-2007 by Edwin A. Suominen, http://www.eepatents.com 7 7 # 8 8 # This program is free software; you can redistribute it and/or modify it under … … 20 20 21 21 """ 22 B{foss.eepatents.com}: Root resource for my free & open source projects, 23 including access to Trac via an WSGI gateway. 22 This file is what defines the root resource for U{foss.eepatents.com}, my free 23 & open source projects site. A L{WSGIResource} is used to provide access to 24 Trac via an WSGI gateway. 24 25 """ 25 26 projects/Twisted-Goodies/trunk/twisted_goodies/simpleserver/http/auth.py
r17 r59 1 # DynamicSite:1 # twisted_goodies.simpleserver.http: 2 2 # A virtual hosting twisted.web2 HTTP server that uses subdirectories for 3 3 # virtual host content. Subdirectories can be python packages providing dynamic 4 4 # content with a root resource object, or sources of static content. 5 5 # 6 # Copyright (C) 2006 by Edwin A. Suominen, http://www.eepatents.com6 # Copyright (C) 2006-2007 by Edwin A. Suominen, http://www.eepatents.com 7 7 # 8 8 # This program is free software; you can redistribute it and/or modify it under projects/Twisted-Goodies/trunk/twisted_goodies/simpleserver/http/resources.py
r57 r59 1 # DynamicSite:1 # twisted_goodies.simpleserver.http: 2 2 # A virtual hosting twisted.web2 HTTP server that uses subdirectories for 3 3 # virtual host content. Subdirectories can be python packages providing dynamic 4 4 # content with a root resource object, or sources of static content. 5 5 # 6 # Copyright (C) 2006 by Edwin A. Suominen, http://www.eepatents.com6 # Copyright (C) 2006-2007 by Edwin A. Suominen, http://www.eepatents.com 7 7 # 8 8 # This program is free software; you can redistribute it and/or modify it under … … 27 27 from twisted.python.log import msg as log 28 28 from twisted.web2 import http, http_headers 29 from twisted.web2.resource import Resource 29 from twisted.web2.resource import Resource, RedirectResource 30 30 31 31 # Pick one, either one... … … 35 35 import util 36 36 37 # for TracResource37 # Just for TracResource 38 38 import trac.web.main 39 # for StanResource39 # Just for StanResource 40 40 from nevow import flat, tags as T 41 # for ProxyResource41 # Just for ProxyResource 42 42 from zope.interface import implements 43 43 from twisted.internet import reactor, protocol, ssl 44 44 from twisted.web2 import iweb 45 45 import twisted.web2.client.http as chttp 46 # For APIDocResource46 # Just For APIDocResource 47 47 import tempfile, shutil, os.path 48 48 from twisted.internet import defer, utils projects/Twisted-Goodies/trunk/twisted_goodies/simpleserver/http/rest/directives.py
r17 r59 1 # Copyright (C) 2004 by Edwin A. Suominen2 # Registered Patent Agent3 # Open Source Developer (Yes, both...)4 # Web Site: http://www.eepatents.com1 # twisted_goodies.simpleserver.http: 2 # A virtual hosting twisted.web2 HTTP server that uses subdirectories for 3 # virtual host content. Subdirectories can be python packages providing dynamic 4 # content with a root resource object, or sources of static content. 5 5 # 6 # This module is free software; you can redistribute it and/or modify it under 7 # the terms of version 2.1 of the GNU Lesser General Public License as 8 # published by the Free Software Foundation. 6 # Copyright (C) 2006-2007 by Edwin A. Suominen, http://www.eepatents.com 7 # 8 # This program is free software; you can redistribute it and/or modify it under 9 # the terms of the GNU General Public License as published by the Free Software 10 # Foundation; either version 2 of the License, or (at your option) any later 11 # version. 9 12 # 10 # This moduleis distributed in the hope that it will be useful, but WITHOUT13 # This program is distributed in the hope that it will be useful, but WITHOUT 11 14 # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS 12 # FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more 13 # details. 15 # FOR A PARTICULAR PURPOSE. See the file COPYING for more details. 14 16 # 15 # You should have received a copy of the GNU Lesser General Public16 # License along with this library; if not, write to the Free Software17 # F oundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307USA17 # You should have received a copy of the GNU General Public License along with 18 # this program; if not, write to the Free Software Foundation, Inc., 51 19 # Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA 18 20 19 21 """ projects/Twisted-Goodies/trunk/twisted_goodies/simpleserver/http/rest/page.py
r17 r59 1 # Copyright (C) 2004 by Edwin A. Suominen2 # Registered Patent Agent3 # Open Source Developer (Yes, both...)4 # Web Site: http://www.eepatents.com1 # twisted_goodies.simpleserver.http: 2 # A virtual hosting twisted.web2 HTTP server that uses subdirectories for 3 # virtual host content. Subdirectories can be python packages providing dynamic 4 # content with a root resource object, or sources of static content. 5 5 # 6 # This module is free software; you can redistribute it and/or modify it under 7 # the terms of version 2.1 of the GNU Lesser General Public License as 8 # published by the Free Software Foundation. 6 # Copyright (C) 2006-2007 by Edwin A. Suominen, http://www.eepatents.com 7 # 8 # This program is free software; you can redistribute it and/or modify it under 9 # the terms of the GNU General Public License as published by the Free Software 10 # Foundation; either version 2 of the License, or (at your option) any later 11 # version. 9 12 # 10 # This moduleis distributed in the hope that it will be useful, but WITHOUT13 # This program is distributed in the hope that it will be useful, but WITHOUT 11 14 # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS 12 # FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more 13 # details. 15 # FOR A PARTICULAR PURPOSE. See the file COPYING for more details. 14 16 # 15 # You should have received a copy of the GNU Lesser General Public 16 # License along with this library; if not, write to the Free Software 17 # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 18 17 # You should have received a copy of the GNU General Public License along with 18 # this program; if not, write to the Free Software Foundation, Inc., 51 19 # Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA 19 20 20 21 """ projects/Twisted-Goodies/trunk/twisted_goodies/simpleserver/http/startup.py
r47 r59 1 # DynamicSite:1 # twisted_goodies.simpleserver.http: 2 2 # A virtual hosting twisted.web2 HTTP server that uses subdirectories for 3 3 # virtual host content. Subdirectories can be python packages providing dynamic 4 4 # content with a root resource object, or sources of static content. 5 5 # 6 # Copyright (C) 2006 by Edwin A. Suominen, http://www.eepatents.com6 # Copyright (C) 2006-2007 by Edwin A. Suominen, http://www.eepatents.com 7 7 # 8 8 # This program is free software; you can redistribute it and/or modify it under projects/Twisted-Goodies/trunk/twisted_goodies/simpleserver/http/util.py
r17 r59 1 # DynamicSite:1 # twisted_goodies.simpleserver.http: 2 2 # A virtual hosting twisted.web2 HTTP server that uses subdirectories for 3 3 # virtual host content. Subdirectories can be python packages providing dynamic 4 4 # content with a root resource object, or sources of static content. 5 5 # 6 # Copyright (C) 2006 by Edwin A. Suominen, http://www.eepatents.com6 # Copyright (C) 2006-2007 by Edwin A. Suominen, http://www.eepatents.com 7 7 # 8 8 # This program is free software; you can redistribute it and/or modify it under projects/Twisted-Goodies/trunk/twisted_goodies/simpleserver/http/wsgi.py
r58 r59 1 # twisted_goodies.simpleserver.http: 2 # A virtual hosting twisted.web2 HTTP server that uses subdirectories for 3 # virtual host content. Subdirectories can be python packages providing dynamic 4 # content with a root resource object, or sources of static content. 5 # 6 # Copyright (C) 2006-2007 by Edwin A. Suominen, http://www.eepatents.com 7 # 8 # This program is free software; you can redistribute it and/or modify it under 9 # the terms of the GNU General Public License as published by the Free Software 10 # Foundation; either version 2 of the License, or (at your option) any later 11 # version. 12 # 13 # This program is distributed in the hope that it will be useful, but WITHOUT 14 # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS 15 # FOR A PARTICULAR PURPOSE. See the file COPYING for more details. 16 # 17 # You should have received a copy of the GNU General Public License along with 18 # this program; if not, write to the Free Software Foundation, Inc., 51 19 # Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA 20 21 1 22 """ 2 23 A non-blocking container resource for WSGI web applications. projects/Twisted-Goodies/trunk/twisted_goodies/simpleserver/http/__init__.py
r45 r59 1 1 """ 2 simpleserver.http2 twisted_goodies.simpleserver.http 3 3 4 A virtual hosting twisted.web2 HTTP server that uses subdirectories for virtual5 host content. Subdirectories can be python packages providing dynamic content 6 with a root resource object, or sources of static content.4 A virtual hosting twisted.web2 HTTP server that uses subdirectories for 5 virtual host content. Subdirectories can be python packages providing dynamic 6 content with a root resource object, or sources of static content. 7 7 8 8 Copyright (C) 2006-2007 by Edwin A. Suominen, http://www.eepatents.com
