The tag has no wiki summary.

learn more… | top users | synonyms

0
votes
0answers
73 views

MDT 2013 deployment fails for certain laptops

I am trying to use MDT 2013 to create an ISO image that I can burn to a CD to install Windows 7 along with numerous other software/configuration at one time. I have successfully made the packaged ISO ...
0
votes
0answers
46 views

Custome page when Apache Server is down

I've looked at Apache ErrorDocument directive on how to do this. I found an answer here and it mentioned : You should use a URL to point to your ErrorDocument otherwise if you use a filesystem ...
0
votes
1answer
43 views

Apache redirect request to another server on error

I currently have 3 web servers serving large files load balanced at DNS level. There's one "master" server, and two "slave" servers. The master server has all of the files required, and it pushes ...
0
votes
0answers
115 views

Apache ErrorDocument 401 not prompting for credentials unless set to default or string

I am attempting to throw together a dynamic customer errordocument (php) which looks at $_SERVER['REDIRECT_STATUS'] to determine the error message to display. At the moment I am utilizing ...
0
votes
0answers
89 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 ...
1
vote
1answer
99 views

403 error from 403 ErrorDocument

I've the following configuration script in my Apache 2.4.7 installation: <Directory "/www"> Options Indexes FollowSymLinks AllowOverride All <RequireAll> Require all ...
1
vote
2answers
82 views

Override Apache's default error pages

I have an Apache server serving numerous domains as virtual hosts. I'd like to override Apache's default error pages (404, 500, etc) to apply to all of these virtual hosts, while still giving each ...
1
vote
1answer
29 views

Apache Authentication: Wrong ErrorDocument after user provided wrong credentials and canceled afterwards

We've configured Apache HTTPd to use Basic Authentication Serve a custom error document Now, the user gets different results, when canceling the authentication in the first step or after ...
1
vote
0answers
137 views

Apache 2.0 ErrorDocument directive does not work when getting root directory itself

I am in charge of a site using Apache 2.0 on Red Hat 4.1.2. I have configured the site to display a custom error page by adding this line to the .htaccess file in the site's root directory: ...
0
votes
1answer
777 views

Pageok given by puppet instead of subdomain files hosted on godaddy

I'm managing the e-commerce website for a retail store in Los Angeles, and use a subdomain hosted on GoDaddy as a fileserver to augment our Online Webstore CMS, which won't take large files (and ...
1
vote
1answer
208 views

How to specify ErrorDocument for a VirtualHost in Apache2?

I have an Apache 2 server and it have several vhosts with similar definition: <VirtualHost *:80> DocumentRoot /var/www/html/host1/ ServerName host1.loc <Directory ...
0
votes
0answers
391 views

Apache2 ErrorDocuments does not work

I have my Apache configured like this: <VirtualHost *:443> ServerAdmin webmaster@server.com ServerName www.server.com:443 DocumentRoot /var/www/server/web SSLEngine on ...
0
votes
2answers
1k views

NGINX default error page

I'm trying to set a default error_page for my entire nginx server (as in for all vhosts). I'm trying it with following code: http { ... ... error_page 404 /var/www/default/404.html; ...
0
votes
1answer
99 views

How can prevent the apache ErrorDocument from passing path infomation?

I am trying to forward all requests to a particular hostname to a specific URL. My virtual host entry looks like: <VirtualHost *:80> ServerName test.example.com RedirectPermanent / ...
1
vote
1answer
298 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 ...
1
vote
1answer
154 views

Unexpected .htaccess relative ErrorDocument behavior

In the document root, I put an .htaccess with: ErrorDocument 404 /error.php Since this is in a .htaccess file, Apache looks for error.php in the relative path, so I can put different error.php ...
0
votes
1answer
513 views

ErrorDocument 404 not found in non-existent subdomain

I am trying to get the apache server to issue a custom 404 error for invalid subdomains. The following is the relevant part of the httpd configuration: Alias /err/ "/var/www/error/" ErrorDocument 404 ...
2
votes
1answer
265 views

apache error document displaying urlencoded characters wrong

If I request a page like http://url/T%C3%A4st (http://url/Täst) my Apache-Error Pages display with a wrong encoding, for example: The requested URL /Täst was not found on this server. ...
2
votes
1answer
317 views

Handling site not found and page not found with dynamic mass virtual hosting

I have recently setup mass virtual hosting in Apache so that all we need to do is create a directory to create a new vhost. We're then also using wildcard DNS to map all subdomains to the server ...
0
votes
1answer
115 views

Apache rewrite hostname on 404

I have two versions of my website: a full site for desktop browsers, and a mobile site which contains mobile-friendly versions of some of the pages from the desktop site. The urls for both sites are ...
1
vote
1answer
1k views

OHS + weblogic - Customize error 500

and sorry if the question looks stupid (it may be ^^), I'm a newbie in HTTP server. We use OBIEE 11g, that means we have Weblogic and we chose to use an Oracle HTTP Server (OHS, built on Apache) in ...
0
votes
1answer
474 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, ...
0
votes
2answers
665 views

Apache without any error page

How to set up apache to serve no error page content? I don't want the default behavior, blank or custom page. I want return no content except headers, that all browsers must display own native error ...
3
votes
1answer
162 views

Apache ErrorDocument in an alias

I am trying to set a custom error document in an alias. Alias /f1 "/media/data/www/f1" <Directory "/media/data/www/f1"> AddHandler cgi-script .cgi .pl Options Includes Indexes ...
3
votes
1answer
2k views

Apache ErrorDocument directive not working

I can't get a custom error document to work for 400 Bad Request. It's a CentOS LAMP server. ErrorDocument 400 /badrdoc.html I've tried using the above in: Apache http.conf Apache ...
4
votes
1answer
805 views

How to make Apache return a custom page on a 400 error with malformed host headers?

I think what I was asking for was a bit hard to understand, so, I am trying to make it simpler... I need my server to have a custom 400 error page when it receives a request with a malformed host ...
2
votes
2answers
150 views

.htaccess ErrorDocument woes

I currently have an ErrorDocument directive defined inside my .htaccess file: ErrorDocument 404 /site/error.php Now if I go to a non-existent page like this on my site it works fine: ...
0
votes
2answers
210 views

ErrorDocument not working when accessing .htaccess

I've been setting up ErrorDocuments for a website I'm working, and generally they've been working. However, after I set the 403 ErrorDocument, I noticed that it didn't work when I tried to access the ...
1
vote
1answer
85 views

Redirecting a non-existent file in cgi-bin

We are using RHLE 5.6. I am fairly new with linux and apache. We currently have a website using an archaic exe file in the cgi-bin directory for a shopping cart (on Windows). We are migrating this ...
-1
votes
1answer
673 views

Apache2 ErrorDocument not working on VirtualHost

My ErrorDocument redirect doesn't appear to be working! Here is the bottom of my sites-available file: ... </Directory> ErrorLog /var/log/apache2/error.log # Possible ...
0
votes
2answers
1k views

Using Apache Environment Variables to set custom ErrorDocument

I've got a set of RewriteCond rules that test for various mobile devices and then set environment variables like "env=device:.iphone" or "env=device:.smartphone" if the useragent matches an iPhone or ...
1
vote
3answers
2k views

Apache: Redirect 404 and ErrorDocument 404 difference

I would like to do a 404 redirect with Apache, and I find several solutions: The .htaccess method. But I don't want to add a .htaccess if not necessary. virtual host method: <VirtualHost ...
5
votes
1answer
3k views

Apache Httpd Custom ErrorDocument 404 When ProxyPass returned 404

I have an Apache web server in front of another application server, using Proxy Pass. When the request to application returned error 404, I want to show custom error page from the web server not the ...
0
votes
2answers
367 views

ErrorDocument 500 not working

I am testing a risk-free PHP application. So I have a file where I omit a ; to cause a 500 error. But the page I specified in ErrorDocument 500 is not called! It works with 404 though. I am using ...
0
votes
1answer
828 views

Configure Nginx global error page

Is it possible to configure globally only the http part of nginx.conf to have all sites using the same error pages, without having to add some lines to each of the sites? I'm not talking about the ...
0
votes
2answers
534 views

Apache+mod_jk and a specific 404 handler

I have a relatively simple Apache httpd + Tomcat via mod_jk setup that works well, but I need to have Tomcat handle certain 404 conditions. Basically, the httpd service will handle images and PDF ...
0
votes
1answer
279 views

cgi script served as plain text when called from .htaccess

I'm Running Apache 2.2 on the RackSpace CloudSites. I have a Perl CGI script that works fine if called directly via URL. I want to use the script as a custom ErrorDocument, but instead of being parsed ...
0
votes
1answer
876 views

How to catch all errors by ErrorDocument

There is a possibility to se error pages by ErrorDocument like this: ErrorDocument 403 /site.html ErrorDocument 404 /site.html ErrorDocument 500 /site.html But is there any way to catch all errors ...
1
vote
1answer
735 views

custom error documents do not display @localhost test server

I'm running a local test-server (on Ubuntu 10.04), but for some reason I don't seem to be seeing my custom 403/404 error messages. Here's some command output: [ /var/www ] # ls -al: drwxr-xr-x 5 ...
2
votes
1answer
3k views

Problems redirecting Error 400 Bad Request to custom page

I've edited my .htaccess file to the following : ErrorDocument 404 /index.php?page=page-not-found ErrorDocument 400 /index.php?page=bad-request Now the error 404 redirects correctly, yet if i enter ...
1
vote
1answer
2k views

Set Error-Pages for all Applications in Tomcat

I'm trying to set up custom error pages in tomcat 6, because I don't want the default ones to show up. My error pages are static html, no jsp or anything dynamic. I know how to do this through the ...
2
votes
1answer
1k views

htaccess redirect of 404 error just prints filename, doesn't execute file

On an Apache host, I have a folder called /thumbs with a program in it called program.php that I will use to create thumbnails. There is a .htaccess file that contains the following lines: options ...
0
votes
1answer
6k views

Custom Apache ErrorDocument with proxy balancer & RewriteEngine

I'm running into various problems trying to add custom ErrorDocuments to my server. I'm using proxy balancer to share the load between two instances of Zope and some simple rewrite rules to map my ...
4
votes
2answers
4k views

ErrorDocument in .htaccess, is it possible to use relative path?

This doesn't work: ErrorDocument 401 ../../src/wrong_pwd.php it renders the path as text, it really prints ../../src/wrong_pwd.php and doesn't output the real file. If I put the absolute ...