On Sep 21, 2010, at 5:32 AM, mdipierro wrote:
> 
> What you see it the output of the web2py function
> 
>   redirect(URL('index'))
> 
> so I think it is working.

That part is working, but the the underlying problem seems to be that all that 
stuff is indeed missing from the environment. If you google one of the error 
messages, you'll see that a lot of people have the same problem.

This post might be useful (or the stuff it links to): 
http://forums.asmallorange.com/topic/8555-django-problem/page__st__20


> 
> On Sep 21, 3:53 am, Rahul <rahul.dhak...@gmail.com> wrote:
>> I have made the changes as suggested by Jonathan -
>> ----changes ----
>> e['REMOTE_ADDR'] to e.get('REMOTE_ADDR', 'localhost'),
>> -------------------
>> 
>> now it does not give me the REMOTE_ADDR Error. It shows the below
>> text..
>> 
>> -bash-3.2$ ./dispatch.fcgi
>> WSGIServer: missing FastCGI param REQUEST_METHOD required by WSGI!
>> WSGIServer: missing FastCGI param SERVER_NAME required by WSGI!
>> WSGIServer: missing FastCGI param SERVER_PORT required by WSGI!
>> WSGIServer: missing FastCGI param SERVER_PROTOCOL required by WSGI!
>> Status: 303 SEE OTHER
>> Content-Type: text/html; charset=UTF-8
>> Location: /web2py/welcome/default/index
>> Content-Length: 73
>> 
>> You are being redirected <a href="/web2py/welcome/default/index">here</
>> a>-bash-3.2$
>> ---
>> 
>> I am confused what url would I need to access. Also does the above
>> output mean, It is working now?
>> Can we ignore Status 303 SEE OTHER Error ?
>> 
>> My public_html structure is as follows
>> 
>> $HOME/<username>
>>          |------->public_html
>>                        |-----> .htaccess
>>                        |-----> dispatch.fcgi
>>                        |-----> <domain.com> directory
>>                                         |-----> .htaccess
>>                                         |-----> dispatch.fcgi
>>                                         |-----> web2py directory
>>                                                 |-----> All       files & 
>> folders +                                              dispatch.fcgi &
>>                                                 .htaccess
>> 
>> Please suggest -


Reply via email to