When I use the verification method to see if there are any functions that are not enabled on my website. I found that only the url rewrite is not active. see the image
multiple htaccess to nginx URL rewrite
Perhaps you did not understand my doubt.
The script comes with good documentation.
the script also comes with nginx rules in a .txt file and is well explained where you can apply the rules.
My doubt is related to where to put the rules, that's all.
I already have the nginx rules for the script. But I don't have to apache.
When I install the apache server on the aapanel, I have problems configuring mod_rewrite on apache
when i install nginx server on the panel, i also have problems configuring mod_rewrite.
I do not know which server to use: I DO NOT KNOW IF I USE APACHE OR NGINX, but for both, mod_rewrite is not working for me.
you need to paste you rules under website.. example of my site nginx rules..
inliadev try to paste only this part
location / {
if (!-e $request_filename) {
rewrite ^/(.*) /index.php?_page_url=$1 last;
}
}
location /files/ {
internal;
}
location /logs/ {
deny all;
}
Hi, I already used this procedure of yours, but it doesn't work either.
Hi, I already used this procedure of yours, but it doesn't work either.
I still don't know how to solve this. I think I should stop using this panel.
The developers believe that there is no solution to help me.
I say this because they see it, that is my messages here on the forum. But until today I have no solution.
In addition, the site is sometimes inaccessible
inliadev Hello, on line 31 you are missing} or more}
I try anything, but no more work
- Edited
which script are you using yeti or imagesharing
try litespeed.
sirfpsycho
-----------------------------------
location ~ /public/ {
}
location / {
if ($http_host !~ "www."){
rewrite .*$ http://www.$http_host/$1 redirect;
}
rewrite .*$ https://$http_host$request_uri redirect;
rewrite .*$ /public/$1 break;
}