Hi, Roberto!
I updated my settings.py by still get this error :( It seems to me that I
have wrong nginx configuration or something else...
Here is my "server" part of nginx.conf:
server
{
listen 0.0.0.0:80;
server_name ...;
access_log /var/log/nginx/mayan-access.log;
location /
{
root /var/www/mayan/mayan;
index index.html;
fastcgi_pass 127.0.0.1:8881;
include /etc/nginx/fastcgi_params;
}
}
Here is how I run fcgi: python /var/www/mayan/mayan/manage.py runfcgi
method=threaded host=127.0.0.1 port=8881 pidfile=/var/run/mayan.pid
четверг, 24 января 2013 г., 23:24:12 UTC+4 пользователь Roberto Rosario
написал:
>
> Hi Sergey,
>
> I just pushed and update last night that might solve this issue. The
> login views are hard coded URLs and if Mayan is not installed as a top
> level app there are problems with the login and redirection after login if
> their default values are not updated, similar to what you are describing.
> The commit eliminates the hard coded URLs '/' and '/login' and uses the
> runtime resolved view names:
> https://github.com/rosarior/mayan/commit/85112090b9d45d5968e1f717dac6c191125d1157#settings.py
> Please
> update and test to see if this update fixes your situation.
>
> --Roberto
>
>
> On Wednesday, January 23, 2013 7:45:11 AM UTC-4, Sergey Drobov wrote:
>>
>> Hello!
>>
>> I have installed mayan on my ubuntu server and got infinite redirects
>> when trying to open main page. It redirects me from '/' to '/login/' and
>> then Chrome fails with infinite redirects loop error.
>>
>> root@hyperboreya-s2 /var/www/mayan # uname -a
>> Linux hyperboreya-s2 2.6.32-42-server #95-Ubuntu SMP Wed Jul 25 16:10:49
>> UTC 2012 x86_64 GNU/Linux
>>
>> root@hyperboreya-s2 /var/www/mayan # python -V
>> Python 2.6.5
>>
>> Server powered by nginx + fcgi
>>
>> Kindly regards,
>> Sergey Drobov.
>>
>
--