Page 1 of 1

Login PHP scrypt doesn't work

Posted: Thu Feb 17, 2011 11:10 am
by Buka
Well, the situation is:

I've moved GRC webpage to a new hosting. But login doesn't seem to work.
When this windows appear...
login.PNG
login.PNG (10.56 KiB) Viewed 1827 times
...I can't login.

At the same time I can login on previous webpage, so I believe that all this stuff is because some settings of hoster. I've checked files' attributes so I think the problem concerns PHP settings of hoster. Does anyone have idea which ones? Or maybe any other idea.

Re: Login PHP scrypt doesn't work

Posted: Thu Feb 17, 2011 10:04 pm
by Lukeno94
Stupid question... does the hoster actually support PHP? xD

Re: Login PHP scrypt doesn't work

Posted: Thu Feb 17, 2011 10:12 pm
by Buka
Lukeno94 wrote:Stupid question... does the hoster actually support PHP? xD
Sure it does. :)


For those who maybe need it: http://generally.org.ua/info.php

Re: Login PHP scrypt doesn't work

Posted: Fri Feb 18, 2011 9:56 am
by Buka
Thanks to Google I've found the problem. My hoster has PHP as CGI scrypt not as Apache module.
So I had to create .htaccess with the text:

Code: Select all

RewriteEngine On
RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization},L]
I've put this file to the root directory of the website and voilà. I don't know is it right or is it wrong but it works! :bg: