Changeset 581 for trunk/packages/sipb-xen-www/code
- Timestamp:
- Jun 3, 2008, 1:59:17 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/packages/sipb-xen-www/code/main.py
r579 r581 7 7 import datetime 8 8 import hmac 9 import os10 9 import sha 11 10 import simplejson … … 263 262 has_vnc=has_vnc, 264 263 machine=machine, 265 hostname= os.environ.get('SERVER_NAME', 'localhost'),264 hostname=state.environ.get('SERVER_NAME', 'localhost'), 266 265 authtoken=token) 267 266 return templates.vnc(searchList=[d]) … … 613 612 self.username = getUser(environ) 614 613 self.state = State(self.username) 614 self.state.environ = environ 615 615 616 616 def __iter__(self): … … 620 620 if not operation: 621 621 self.start("301 Moved Permanently", [('Location', 622 os.environ['SCRIPT_NAME']+'/')])622 self.environ['SCRIPT_NAME']+'/')]) 623 623 return 624 624 if self.username is None:
Note: See TracChangeset
for help on using the changeset viewer.