apache gives 404 and failed on same resource - apache

My server keeps crashing when i try to load a page with 404 images.
Theres about 10 misisng images, which should indeed just result in 404.
Sometimes the images however, return a failed status.
The same image will return 404 and after refresh return failed.
(failed)net::ERR_HTTP2_PROTOCOL_ERROR
It seems that this is crashing my server. Whas going on?

Related

How to simulate a 500 http error on apache

I read about a lot of ideas about how to test the ErrorDocument 500 directive, but they don't work. If I put bad php code, I still get a page with my php error in it. If I create a bad htaccess file, I get the following error and not my custom error :
[an error occurred while processing this directive] The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there was an error in a CGI script. [an error occurred while processing this directive]
I need to raise this custom error page to ensure that it works even though most applications will manage their own 500 pages.
Thanks
PHP errors aren't 500 errors. Apache is fine. PHP has encountered the error. This can be hidden in PHP.ini, but it results in a "white screen of death" instead.
On to the .htaccess problem. The .htaccess file controls the custom error pages for your site. If Apache cannot parse the custom error pages in this file it means there are no custom error pages set to display.

How to debug a 404 error on apache server ( lamp )?

I came across 404 error a few times and i have difficulties in debugging this kind of problem.
What is the strategy and tools available to analyse such problems (firebug, logs...).
How to differentiate and fix the cause ?
page not existing ,wrong path , redirection and rewriting ,server problem ...
404 error code means that a file is not found for whatever reason.
Just check that the file exists and that the path you use is right.
You can analyse sent requests and received responses headers and body in your browser's developper console if you want more details about why some request failed.

Stylesheet doesn't work in firefox and IE

I'm loosing it right now because I have no idea why my stylesheet won't load in another browser than chrome !
This is the link to my page that need styling : http://peda.au-fil-du-temps.com/toutes-nos-offres/
Maybe I haven't seen something obvious, but I've tried and tried and tried... I don't get it.
Can one of you guys help me out with this ?
Cheers
Your sources are not linked correctly.
Failed to load resource: the server responded with a status of 404 (Not Found) http://peda.au-fil-du-temps.com/js/fitrify.min.js
Failed to load resource: the server responded with a status of 404 (Not Found) http://peda.au-fil-du-temps.com/js/fitrify.css
Failed to load resource: the server responded with a status of 404 (Not Found) http://peda.au-fil-du-temps.com/wp-content/themes/divi_theme_enfant/libel-webfont.ttf
Failed to load resource: the server responded with a status of 404 (Not Found) http://peda.au-fil-du-temps.com/wp-content/themes/divi_theme_enfant/libel-webfont.svg#libel_suitregular
Resource interpreted as Font but transferred with MIME type text/html:
etc....
hit F12 to open the dev console and investigate your url paths.

404 errors when accessing https://www.googleapis.com/oauth2/v2/userinfo

We're sometimes see 404 errors when accessing https://www.googleapis.com/oauth2/v2/userinfo?alt=json in our application.
apiclient.errors.HttpError: <HttpError 404 when requesting https://www.googleapis.com/oauth2/v2/userinfo?alt=json returned "Not Found">
The overall rate is low, though it is a bit weird to be getting back this error given that this endpoint does exist.
Can you please try again? I think this was a temporary outage.
Thanks for reporting the issue.