The tag has no wiki summary.

learn more… | top users | synonyms

0
votes
1answer
35 views

ADFS 2.0 Client Certificate Log in Error pages

I have an ADFS 2.0 server set up to use Smart Card authentication. It works great if the user already exists in the AD, or isn't disabled. Slight background, we operate an Active Directory forest ...
0
votes
1answer
63 views

Make an error page folder serve a 403 error to external requests

I'm fiddling about with a server, and I've made one of the subdomains a proxy for a service that isn't always up. The server block looks like: server { server_name servlet.example.org; ...
1
vote
0answers
30 views

Custom error pages when using IIS as a reverse proxy

I've configured IIS to act as a reverse proxy for a development server (dartlang's pub serve if you're curious). I'm doing this because the development server doesn't support custom error pages and I ...
0
votes
0answers
87 views

Apache+WebLogic, more smart ErrorPage configuration

some of my webservers are use weblogic as their middleware. and I recently tried to get custom/pretty error page for weblogic connections is not available. mod_weblogic has ErrorPage directive, so I ...
0
votes
1answer
99 views

HTTP Error 500.19 - IIS Error

I have following lines in my web.config file. All I am trying to achieve is to display a custom error page if anything goes wrong in application. But instead of getting the custom page I get error as ...
1
vote
2answers
248 views

What would make a Custom 404 page suddenly stop working and show 500 instead?

I have a Custom 404 page written in classic ASP that's worked well for a couple of years. Suddenly, instead of seeing he expected nice 404, instead we're seeing a 500- internal server error. There's ...
1
vote
1answer
78 views

Custom “Not Found” with G-WAN Web Server on static content directory

Custom "Not Found (including Text and Headers)" with G-WAN Web Server on static content directory Before I ask my question, note that I have figured out how G-WAN builds responses with scripted ...
2
votes
1answer
147 views

Setting up custom error pages for nginx with https and virtual hosts

We have an nginx (OpenResty 1.4.2.7) instance acting as a load balancer. It has two server directives, one to serve one specific site (let's call it www.our-special-host.com) and one wildcard for ...
1
vote
1answer
505 views

Plesk 11 - Custom Error Documents, URL fails with “Wrong URL format”

I am setting up a new Plesk account and want to add a custom error document, 404, specifying a URL to a PHP file. In another account, which uses an earlier version of Plesk (v10, if not mistaken), ...
0
votes
1answer
746 views

Reverse proxy not serving local error pages

I have an Apache 2.4 server on Windows Server 2008 R2 that I use as a reverse proxy. It has been working fine and serves about 15 virtual hosts. Whenever a host fails, I want to display a web page ...
2
votes
0answers
733 views

Why does Nginx's proxy_intercept_errors directive require a rewrite to work properly?

Following is a sample Nginx server configuration. Without the "magical talisman" location block, proxied error content results in an Nginx 404 page rather than the customized error page being served. ...
0
votes
2answers
318 views

separate logs from limit_req_zone in nginx

Here we have piece of current nginx configuration: limit_req_zone $binary_remote_addr zone=one:32m rate=2r/s; limit_req zone=one burst=10; error_page 500 501 502 503 504 =503 /offline.html; location ...
0
votes
1answer
2k views

Squid 3 custom error message

I'm currently migrating a tiny Zentyal firewall from 2.2 to 3.0. Almost complete, but I can't figure out how to update the Squid 3 error page with some additional paragraphs. So far I've figured out ...
7
votes
2answers
2k views

Apache: insecure request sent to secure port…want to redirect

Preface Firstly: A simply Port 80 -> Port 443 Rewrite WILL NOT fix this. In almost every previous question, mail thread, forum thread, etc., I have found this was the first ignorant response and ...
2
votes
1answer
682 views

What is the difference between “.NET Error Pages” and “Error Pages” in IIS7?

In IIS 7 (.5) on my Windows Server 2008 r2, there are two places for error pages: ".NET Error Pages" under "ASP.NET" in Features View, and "Error Pages" under "IIS" in the same view. It seems like ...
5
votes
1answer
3k views

IIS 7.5: How to configure custom Authentication Error page with Windows Authentication. 401 header problems

I have a php website running under IIS 7.5. The site is secured by Windows authentication and that works fine: When users go to the site, they are asked for username/password and get through if ...
1
vote
1answer
165 views

How to tell httpd to preserve the proxied error message?

I have an httpd server proxying the requests to 2 different tomcat servers. One of my server handles the authentication and returns a specific http error code 521 when the user already have a running ...
1
vote
1answer
297 views

How can I deny from a certain IP address but still show a custom error page with Apache2?

I have In my web root /home/www/ I have an .htaccess file to ban IP addresses: order allow,deny deny from 1.2.3.4 deny from 2.3.4.5 allow from all ErrorDocument 500 /errors/500.htm ErrorDocument 403 ...
0
votes
2answers
269 views

nginx won't serve an error_page in a subdirectory of the document root

Here's a snippet of my nginx configuration: server { error_page 500 /errors/500.html; } When I cause a 500 in my application, Chrome just shows its default 500 page (Firefox and Safari show a ...
0
votes
1answer
624 views

custom 502 bad gataway for nginx, cannot get it to work, whats wrong?

Im trying to catch a 502 bad gataway for nginx with unicorn. This error is thrown when unicorn is not running. Im trying to use a custom error page instead for when unicorn is not running to no avail. ...
0
votes
0answers
258 views

Varnish error /etc/default/varnish: 90: -s: not found

Varnish throws an error message when I try to restart it: /etc/init.d/varnish restart /etc/default/varnish: 90: -s: not found /etc/default/varnish: 90: -s: not found Stopping HTTP accelerator: ...
2
votes
2answers
1k views

Apache: how to set custom 401 error page and save original behaviour

I have Kerberos-based authentication with Apache/2.2.3 (Linux/SUSE). When user is trying to open some url, browser ask him about domain login and password like in HTTP Basic Auth. If user cancel such ...
0
votes
1answer
471 views

How to create an Apache error page for redirected Zope

I have some virtual hosts which are redirections to Zope server processes: RewriteRule ^/(.*) http://localhost:8080/VirtualHostBase/http/%{HTTP_HOST}:80/theroot/VirtualHostRoot/$1 [L,P] Of course, ...
2
votes
0answers
155 views

Can I include the path and query string in an IIS “Error Pages” redirect?

I'm setting up a custom 403.4 handler so that non-SSL requests to my site are redirected to a different URL - and what I'd like to do is to include the script path and query string in the redirect, so ...
1
vote
1answer
303 views

Custom Event IDs Using NTEventLogAppender

This is my first post on ServerFault, but I love StackOverflow. I'm a coder, and as such I'm more comfortable in an IDE than in the registry, so I've come here for help. Problem: I have a chain of ...
2
votes
2answers
3k views

Displaying custom error pages on different VirtualHosts in Apache

I have a reverse proxy Apache that is moving the request to a Tomcat servlet. The configuration on the Virtual Host in Apache is: <VirtualHost 10.10.10.10:80> ProxyPass /Site1/ServLet1 ...
1
vote
1answer
609 views

nginx: error_page does not work

I try to set up a maintenance page for my rails app, using this snipplet. error_page 503 /system/maintenance.html; if (-f $document_root/system/maintenance.html) { return 503; } This works as far ...
2
votes
1answer
2k views

nginx custom 404 error page for virtual host

I'm running a few virtual hosts off nginx, and I would like them to each have their own custom 404 pages. Each virtual host has their own nginx.conf that I include my global nginx.conf. Inside the ...
1
vote
0answers
155 views

How to set up custom 401 error page or redirect in WSS3 SP2

I've got a WSS3 sharepoint site that requires windows authentication both in IIS and via the Sharepoint site. What I would like to do is in the case that a user does not provide valid AD credentials ...
1
vote
1answer
1k views

Custom 403 Error page not showing

I want to restrict access to certain folders (includes, xml and logs for example) and so I've given them 700 permissions, and all files within them 600 permissions. Firstly, is this the right approach ...
3
votes
1answer
2k views

nginx: error_page directive is silently ignored

I'm trying to return a custom 400 error page for non-HTTPS requests in nginx. I'm new to nginx, but I've read many pages of examples on custom error pages and nothing seems to work for me. My config: ...
3
votes
1answer
2k views

IIS7 error config and remote errors

Certain IIS7/7.5 500.19 configuration errors only render on a browser running on the local server. This appears to happen regardless of whether I set <httpErrors errorMode="Detailed" ...
1
vote
1answer
541 views

customErrors=“RemoteOnly” not working properly in Server 2008

It would appear that on my brand new Windows Server 2008 with IIS7, customErrors is not working. We have customErrors set to RemoteOnly in the web.config on our Asp.Net sites and applications. ...
2
votes
3answers
4k views

Disabling IIS 7.5 server error response for 5xx and 4xx HTTP status codes

Is there any way to prevent IIS from automatically overriding the output of a web app that is returning a status code in the 500 or 400 range? Just as an example, in ColdFusion I can create the ...
0
votes
2answers
175 views

Should pretty error pages be served with the correct status codes?

I noticed that, say, goolge's 404 page returns a 404 status (http://www.google.com/404.html) while github's returns 200 (https://github.com/404.html). Should error pages (even 503s, etc.) always be ...
1
vote
2answers
1k views

IIS 7.0 404 Custom Error Page and web.config

I am having trouble with a custom 404 error page. I have a domain running a .NET proj with it's own error handling. I have a web.config running for the domain which contains: <customErrors ...
1
vote
1answer
5k views

Custom error pages on Apache Tomcat

I'm running an Apache Tomcat server with 2 custom servlets. The tree structure looks like: $CATALINA_HOME/webapps/ ROOT/ WEB-INF/ servlet1/ META-INF/ ...
2
votes
1answer
5k views

How to configure custom error page in Plesk 9.3 for non existing folder?

I'm trying to configure Plesk in order to show website visitors a custom error html. The current hosted site is an ASP.NET site. This site shows its custom errors on error403.aspx and error404.aspx ...
1
vote
1answer
3k views

Override <customErrors mode=“Off”/> message from .NET Framework even when in web.config detailed errors are turned on

is this possible to override .NET Framework error: Server Error in '/' Application. Runtime Error Description: An application error occurred on the server. The current custom error settings for this ...
0
votes
3answers
1k views

IIS 404 custom error

I've deployed an ASP.NET 3.5 app to a 64bit Windows 2003 R2 server. In the web.config I have the following <customErrors mode="RemoteOnly" defaultRedirect="/404/"> <error ...