--> --> -->
 
 
KeyError
Python 2.4.3: /usr/bin/python2.4
Tue Jul 29 07:44:48 2014

A problem occurred in a Python script. Here is the sequence of function calls leading up to the error, in the order they occurred.

 /home/content/c/h/r/chromapoint/html/napoliarts.com/impl/embed.py
   39     return open(sourcepath)
   40 
   41 source = php(os.path.join(html.fsRoot(), os.environ['REDIRECT_URL'][1:], os.environ['QUERY_STRING']))
   42 headers = html.readHeaders(source)
   43 docsrc = ''
source undefined, php = <function php>, os = <module 'os' from '/usr/lib/python2.4/os.pyc'>, os.path = <module 'posixpath' from '/usr/lib/python2.4/posixpath.pyc'>, os.path.join = <function join>, html = <module 'html' from '/home/content/c/h/r/chromap...html/napoliarts,tkfKtH.com/impl,URFjcn/html.pyc'>, html.fsRoot = <function fsRoot>, os.environ = {'SERVER_SOFTWARE': 'Apache', 'SCRIPT_NAME': '/i...eflate', 'UNIQUE_ID': 'U9ezX9BttTQAAF@BwP0AAACi'}
 /usr/lib/python2.4/UserDict.py in __getitem__(self={'SERVER_SOFTWARE': 'Apache', 'SCRIPT_NAME': '/i...eflate', 'UNIQUE_ID': 'U9ezX9BttTQAAF@BwP0AAACi'}, key='REDIRECT_URL')
   15             return cmp(self.data, dict)
   16     def __len__(self): return len(self.data)
   17     def __getitem__(self, key): return self.data[key]
   18     def __setitem__(self, key, item): self.data[key] = item
   19     def __delitem__(self, key): del self.data[key]
__getitem__ undefined, self = {'SERVER_SOFTWARE': 'Apache', 'SCRIPT_NAME': '/i...eflate', 'UNIQUE_ID': 'U9ezX9BttTQAAF@BwP0AAACi'}, key = 'REDIRECT_URL', self.data = {'DOCUMENT_ROOT': '/home/content/c/h/r/chromapoint/html', 'GATEWAY_INTERFACE': 'CGI/1.1', 'HTTP_ACCEPT': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8', 'HTTP_ACCEPT_ENCODING': 'x-gzip, gzip, deflate', 'HTTP_ACCEPT_LANGUAGE': 'en-us,en-gb,en;q=0.7,*;q=0.3', 'HTTP_HOST': 'napoliarts.com', 'HTTP_USER_AGENT': 'CCBot/2.0 (http://commoncrawl.org/faq/)', 'PATH': '/bin:/usr/bin:/usr/local/bin', 'QUERY_STRING': 'index.php', 'RAILS_ENV': 'production', ...}

KeyError: 'REDIRECT_URL'
      args = ('REDIRECT_URL',)