-
Notifications
You must be signed in to change notification settings - Fork 364
Why is there a 403 error in some images ? #1738
Comments
Hi |
No, sorry, unfortunately I can't post |
Not even with anonimized data? for the config files I'll say. |
conf.txt |
Hi @SergeyKhlopov
If the distro is Ubuntu/Debian only SslCertDirectory mus be set, if Centos/RedHat bot, directory and file Alternativelly you can configure LoadFromFile. https://www.modpagespeed.com/doc/https_support#load_from_file You use an include file ( I can´t find any reason for the redirect when you use the url parameter for debug. To where you get redirected? |
Hi @Lofesa
If in CamelCase then redirects. |
/images/cache/uploads/263x283/user_files/461/262x262xbludo-bormioli-rocco-toledo-2.jpg.pagespeed.ic.sheU75_Rnh.jpg In the url there is a ".sh" string, maybe this is the origin for the 403? I don´t know why the redirection is here, but for sure is a nginx config issue not a pagespeed one. Suggestions: Change ~ .(sh|hta|htp|sql|git|env) to ~ .(sh|hta|htp|sql|git|env)$ The $ sing denotes the end of string. |
Thanks a lot =)
|
@Lofesa Can you please tell me. Thank you for your reply. |
Hi @SergeyKhlopov |
Hi @Lofesa |
Hello, please tell me.
When I go through a browser to a site page, all product images (in .
webp
format) are displayed. But when we start checking the site for 404-403 errors, see that for some images a 403 error occurs.For example:
/images/cache/uploads/263x283/user_files/461/262x262xbludo-bormioli-rocco-toledo-2.jpg.pagespeed.ic.-Wrafstj_2.webp
- path to the picture when going through the browser get a response 200./images/cache/uploads/263x283/user_files/461/262x262xbludo-bormioli-rocco-toledo-2.jpg.pagespeed.ic.sheU75_Rnh.jpg
- this path to the same picture only when checking for errors 404-403. I get a 403 error along this path.Or if I just make a
GET
request to the server (not via browser) in the received html code will be the path to the image by which I get error 403.Please tell me why this is happening ? Thank you in advance for your response.
The text was updated successfully, but these errors were encountered: