Questions tagged [http-status-code]
64 questions
0
votes
1 answer
Trouble understanding NGINX configuration
I was getting 403 & 404 errors on a Magento application I was working on I tracked down the issue to two blocks in the NGINX configuration, if I comment them out the issues are resolved but I would like to understand better what I'm commenting…

Holly
- 1,027
- 5
- 14
- 25
0
votes
1 answer
Nginx : How to server error_pages (404, etc) using uwsgi url?
I know it's possible to server static files using error_page in NGinx, but I was wondering if it was possible to server an url from my local (socketed) Flask app that is served through UWsgi.
Here's the NGinx configuration :
server {
listen …

Cyril N.
- 624
- 1
- 10
- 36
0
votes
0 answers
User using our client to authenticate with our servers are met with the 4XX errors
I am currently debugging an issue with one user unable to communicate with our auth servers. This issue is important to us because it's one user, which likely could stem to more users as we grow.
This is the method I use to debug his…

theGreenCabbage
- 121
- 1
- 6
0
votes
1 answer
HAProxy HTTP Codes
I was wondering if is there any way to track different HTTP codes that HAProxy send to clients.
For example, have a log with just a list of different status codes:
200
200
302
404
499
500
Having that, I can graph it with rrdtool or something else.

boris quiroz
- 1,160
- 1
- 7
- 18
0
votes
1 answer
how does web server handle 304 http status code
As i understand 304 status says the cache in browser is valid enough. So does the web server never send the page in case the page is not expired cache timing or does it process the request and send the page and also the status code?

bagavadhar
- 538
- 4
- 14
0
votes
1 answer
Apache reports status 200 but file doesn't exist in the server
In Apache access log I have these lines repeating all over the file:
186.44.190.132 - - [22/Feb/2013:23:41:34 +0100] "POST /includes/wishlistcwh.php HTTP/1.1" 200 42416 "-" "Mozilla/5.0"
151.246.16.245 - - [22/Feb/2013:23:41:32 +0100] "POST…

andresigualada
- 3
- 1
0
votes
1 answer
IIS logs status code 590
Background: Trying to chase a bug where resources occasionally won't load. Only happens on mobile devices.
Last five columns in IIS logs are cs(User-Agent) sc-status sc-substatus sc-win32-status time-taken
What I don't understand is we have entries…

Francis Nepomuceno
- 111
- 3
0
votes
1 answer
HTTP Status Codes for Web Application Logic
This might be more of a PHP and SO question, but since it deals with HTTP codes, I thought I'd ask here first.
So I'm building a very simple user authentication backend that basically checks the (fairly secured) session tokens to confirm if the…

Anthony
- 315
- 4
- 15
0
votes
1 answer
Apache returns 400 instead of 200 at DocumentRoot
I am seeing a lot of these odd entries in my Apache access log:
SOME IP ADDRESS - - [23/Feb/2012:03:06:38 -0800] "GET /" 400 460 "-" "-"
If I try to access the Apache document root, I get:
MY IP ADDRESS - - [24/Feb/2012:09:37:28 -0800] "GET /…

elle
- 123
- 1
- 6
0
votes
1 answer
How to setup 410 permanently deleted on nginx
How do I setup 410 permanently deleted on nginx for a specific URL for e.g.
https://www.example.com/product/somepage.html
Or better yet how can I do it for a specific prefix for e.g.
https://www.example.com/product/
Here I want to 410 all URLs that…

Frank Martin
- 741
- 2
- 12
- 24
0
votes
0 answers
Configuration of dummy default vhost and prevent virtual host fallback with https requests to IP-PD host
Background
Consider 4 hypothetical FQDNs that all resolve to 192.0.2.42:
example.com
www.example.com
foo.example.org
legacy.example.net
Now, consider two hypothetical servers bound to 192.0.2.42 (obviously, not at the same time... I'm just…

Bitbang3r
- 145
- 1
- 9
0
votes
0 answers
Log data of http status 200 in user directory with Apache2.4
I want to log http status 200 data in my user directory with Apache2.4.
the current
SetEnvIf Request_URI "~data” ssl_datalog nolog
CustomLog ${APACHE_LOG_DIR}/ssl_data_log combined env= ssl_datalog
As, the directory can be restricted, but please…

kumanote
- 1
- 1
0
votes
1 answer
Testing Spring Boot API results in HTTP 405 (Method not Allowed) on PUT
I created an API which I deployed to Tomcat Server. During development, I would start the application from Eclipse and test the end point using Postman. From Eclipse, the application runs fine. I would see my bot (created with Selenium WebDriver)…

hfontanez
- 101
- 5
0
votes
0 answers
Which HTTP Status Code is most appropriate for a non-cooperation response?
I'd like to send an HTTP response that indicates my server is not willing to cooperate with the requester, as a sort of (voluntarily-imposed non-legal) sanction. For example, ACME Corp stole your stapler, so you're responding to requests from ACME's…

MattyRad
- 1
- 1
0
votes
2 answers
HTTP status code in an https domain
I am reading about the error 504 Gateaway Time-out error. All the websites I have found, relate the 504 error to HTTP status code. the error is displayed if visiting a https website. According to what I learned in a computer security curse https is…

birdman
- 103
- 3