Any Guesses? Still waiting for an answer..
Also routes.py is mystic for deployment - I have created a new one
from scratch containing only the below two lines - as mentioned in
slice #68
FYI on cpanel I have the below directory structure -
$HOME/<username>/public_html/<sitename>/web2py
also www is a directory that is exposed at "$HOME/<username>/www" - It
creates an exact copy of all the contents in public_html directory
-----routes.py ----------------------------
routes_in=(('/web2py/(?P<a>.*)','/\g<a>'),)
...
routes_out=(('/(?P<a>.*)','/web2py/\g<a>'),)
---------------------------------------------
when running ./dispatch.fcgi I get this error now
==============ERROR===========================================
The above is a description of an error in a Python program, formatted
for a Web browser because the 'cgitb' module was enabled. In
case you
are not reading this in a Web browser, here is the original
traceback:
Traceback (most recent call last):
File "/home/flockbir/public_html/flockbird.com/web2py/gluon/contrib/
gateways/fcgi.py", line 580, in run
protocolStatus, appStatus = self.server.handler(self)
File "/home/flockbir/public_html/flockbird.com/web2py/gluon/contrib/
gateways/fcgi.py", line 1266, in handler
result = self.application(environ, start_response)
File "/home/flockbir/public_html/flockbird.com/web2py/gluon/
main.py", line 304, in wsgibase
environ = rewrite.filter_in(environ)
File "/home/flockbir/public_html/flockbird.com/web2py/gluon/
rewrite.py", line 171, in filter_in
(path, query, original_uri) = filter_uri(e,
thread.routes.routes_in, "routes_in", e['PATH_INFO'])
File "/home/flockbir/public_html/flockbird.com/web2py/gluon/
rewrite.py", line 142, in filter_uri
(e['REMOTE_ADDR'],
KeyError: 'REMOTE_ADDR' -->
================ENDS HERE================================
What could be wrong ? Any suggestions are welcome
Rahul