Login PHP scrypt doesn't work

Browse FAQ, ask other guys for help with your issue or post a hint here.
Post Reply
User avatar
Buka
Posts: 2037
Joined: Sun Dec 27, 2009 5:30 pm
Location: Ukraine, Kyiv
Contact:

Login PHP scrypt doesn't work

Post 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 1764 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.
User avatar
Lukeno94
GeneRally Carmaster
Posts: 4128
Joined: Sun Dec 27, 2009 10:59 am

Re: Login PHP scrypt doesn't work

Post by Lukeno94 »

Stupid question... does the hoster actually support PHP? xD
User avatar
Buka
Posts: 2037
Joined: Sun Dec 27, 2009 5:30 pm
Location: Ukraine, Kyiv
Contact:

Re: Login PHP scrypt doesn't work

Post 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
User avatar
Buka
Posts: 2037
Joined: Sun Dec 27, 2009 5:30 pm
Location: Ukraine, Kyiv
Contact:

Re: Login PHP scrypt doesn't work

Post 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:
Post Reply