Posted by Sakura777 on April 20, 2016 at 2:02pm
A fresh install of drupal 8, if i try to install any theme i get this error:
An error has occurred.
Please continue to the error page
An AJAX HTTP error occurred.
HTTP Result Code: 403
Debugging information follows.
Path: /core/authorize.php/core/authorize.php?batch=1&id=6&op=do_nojs&op=do
StatusText: Forbidden
ResponseText:
403 Forbidden
403 Forbidden
nginx/1.9.10
I tried to install themes in drupal 7 and it works fine with nginx
I'm using the recomended nginx setup form the nginx website.
I check the previus threads without any luck.
It's a new project so i'm interested in use version 8.
Thank you in advance
Comments
open file nginx.conf (for all
open file nginx.conf (for all sites) or site_name.conf (only current site)
add : rewrite ^/core/authorize.php/core/authorize.php(.)$ /core/authorize.php$1;
ex:
server {
rewrite ^/core/authorize.php/core/authorize.php(.)$ /core/authorize.php$1;
.........
}
You miss one '*'It should
You miss one '*'
It should be
rewrite ^/core/authorize.php/core/authorize.php(.*)$ /core/authorize.php$1;
It works with nginx/1.13.9