Server Wide Custom Error Pages W/ Whm/cpanel

Aug 13, 2008

i have a server with whm/cpanel and would love to have custom error pages that work server wide not just for a specific domain. I have tried adding the "ErrorDocument 404 errors/404.htm" to the httpd.conf file but it doesn't work.

I have no trouble getting custom errors to work for a specific domain but can't seem to get it to work server wide.

Has anyone else tried to tackle this and actually had success?

View 3 Replies


ADVERTISEMENT

Custom Error Pages

May 17, 2007

I am trying to control access to an asp page by using windows resource groups. The virtual directory in IIS has both 'Integrated Windows Authentication' and 'Basic Authentication' checked.

When an unauthorized user tries to access this page, it prompts thrice for the user ID and password before going to the 'user not authorized' page. I want it to display the error the very first time an unauthorized user tries to access this page and not ask him thrice before throwing the error page.

The operating system being used is Windows 2003 server.

View 0 Replies View Related

Plesk Custom Error Pages

Oct 24, 2009

Installed plesk to my Centos VPS, I created Domain, and unselected Custom Error Documents, as i wanted to use htaccess for that since pleask custom error doese not support php files.

in my htaccess inserted.

ErrorDocument 400 /error/bad-request.html
ErrorDocument 401 /error/unauthorised.html
ErrorDocument 403 /error/forbidden.html
ErrorDocument 404 /error/file-not-found.html
ErrorDocument 500 /error/internal-server-error.html

But when test the errors by visiting un-found page in my site, i do not get the error 404 page, and banned my self from my site to try if page 403 shows up , and it did not ..

All the errors Shown instaed of the pointed page the Borwser shows the custom Error from the borwser, For Example if you use Google browser.

HTTP 404 - File not found

This link appears to be broken.

View 2 Replies View Related

Custom Error Pages On IIS6

Nov 30, 2008

My site is hosted on a friends server, which is in his office on a 24MB Business ADSL connection, and is running Server 2003 Enterprise.

I thought i'd try and set up custom error pages for my site last night, but for whatever reason, I can't get them working.

I did a test page with random text, and named it 404.htm.

I then did a file with the following in:

<Files .htaccess>
order allow,deny
deny from all
</Files>
ErrorDocument 404 /404.htm

I then renamed the file to .htaccess after uploading both of the files.

However, when I tried entering a non existant page url, the normal IIS 'page cannot be found' error came up.

In addition, the .htaccess file was still visible when I connected via ftp again.

Now I think of it, I can understand the file not ending up invisible, since files with a . in front are most commonly used on *nix OS's.

However, that wouldn't explain the error page not working.

Is there something I need to get the person who owns the server to do to get it working, or am I doing it completely the wrong way for a Windows machine?

should have done a search before posting really.....I was doing it the wrong way, and I will need to get him to do it, as it needs setting up in the IIS config.

View 14 Replies View Related

Sneaky Custom Error Pages Serveced From Host

Jun 20, 2007

Has anyone experienced those sneaky AdSense serving custom error pages from his/her hosting company?

I have seen 1&1 doing it.

View 1 Replies View Related

Reverse Proxy Apache ==> IIS, Need Custom Error Pages Triggered On IIS Side

Dec 3, 2008

I'm not sure if this is the right forum, or if anyone can suggest a message board where I might get support on this.

This is what I have. I have Apache and IIS both running on Windows 2k3.

Apache is running in reverse Proxy mode sending multiple domains/virtual hosts to IIS.

Code:

ProxyRequests Off
<VirtualHost *:80>
ProxyPreserveHost On
ProxyPass / http://localhost:8080
ProxyPassReverse / [url]
ServerName mydomain.com

</VirtualHost>
Now, if I type in [url]everything works great and IIS (listening on 127.0.0.1:8080) serves the page. However, I am doing custom error trapping, so when I type in [url](and /mydirectory doesn't exist on IIS) I need to fire ASP code (via custom error messages/handling) on the IIS server and then present a data driven page.

However, Apache is returning A 502 error:

Code:
Proxy Error
The proxy server received an invalid response from an upstream server.
The proxy server could not handle the request GET /mydirectory.

Reason: DNS lookup failure for: localhost:8080mydirectory
Is there a way for me to setup Apache to pass all error checking to IIS while using it as a reverse proxy?

View 0 Replies View Related

Changing Default CPanel Error Pages

Nov 9, 2009

to change the default cPanel account error pages. For example, default accounts have the following 404 error:

Quote:

Not Found

The requested URL * was not found on this server.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.

So what I want to do is be able to change this page but I dont know where in the server it is located.

View 3 Replies View Related

Custom SELinux Policies For Their Cpanel Server

Apr 11, 2008

Has anyone wrote custom SELinux policies for their cpanel server?

View 1 Replies View Related

Server-Wide SSL

Oct 26, 2007

I have a server runnning WHM/cPanel and want to purchase an SSL certificate that I would set up on a specific domain. ex: secure.myserver.com, and then allow individuals hosted on my server to use that domain (instead of their own) for SSL purposes, if they didn't want to purchase their own certificate. (ex. They would use: secure.myserver.com/~customer/myfile.php)

My question is, what kind of SSL certificate would be appropriate for this. Could I purchase a single-root certificate from RapidSSL and set it up on that domain?

View 2 Replies View Related

HostGator Ads In My Error Pages?

Aug 22, 2008

I just got an account with HostGator and when I typed in part of my site's URL wrong it went to some kinda shady looking HostGator spam site.

There's some message that says something about money from their ads going to charity. Does anybody know if they actually donate the money to charity and if so which charity?

Even if the money does go to charity, I think it is extremely unprofessional of them to override the error pages that I uploaded with my site.

View 14 Replies View Related

Error Pages Not Working

Jan 7, 2007

error pages i have added manually is not working because vbSEO create new .htaccess file

how can i run both of them ? (vbSEO and error pages) htacess is following

HTML Code:
# Comment the following line (add '#' at the beginning)
# to disable mod_rewrite functions.
# Please note: you still need to disable the hack in
# the vBSEO control panel to stop url rewrites.
RewriteEngine On

# Some servers require the Rewritebase directive to be
# enabled (remove '#' at the beginning to activate)
# Please note: when enabled, you must include the path
# to your root vB folder (i.e. RewriteBase /forums)
#RewriteBase /
RewriteRule ^((urllist|sitemap).*.(xml|txt)(.gz)?)$ vbseo_sitemap/vbseo_getsitemap.php?sitemap=$1 [L]

RewriteCond %{REQUEST_FILENAME} -f
RewriteCond %{REQUEST_FILENAME} (admincp|modcp|clientscript|cpstyles|images)/
RewriteRule ^(.*)$ $1 [L]

RewriteCond %{QUERY_STRING} !vbseourl=
RewriteCond %{REQUEST_FILENAME} !chat
RewriteRule ^(.*.php)$ vbseo.php?vbseourl=$1&%{QUERY_STRING} [L]

RewriteRule ^$ vbseo.php?vbseourl=index.php [L]
RewriteRule ^(archive/.*)$ vbseo.php?vbseourl=$1&%{QUERY_STRING} [L]

RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.+)$ vbseo.php?vbseourl=$1&%{QUERY_STRING} [L]

View 0 Replies View Related

Php Custom Error Log

Nov 5, 2008

I have a customer who wants to log the errors of his site in his domain's folder. How do i do that?

I have enabled error logging in php.ini they are stored in /var/logs/php_errors, but i don't wanna change that.

how do i do to put only his php errors on a file of his folder?

i use cpanel on a centos box.

View 1 Replies View Related

Warning: Verify 404 Error Pages

Feb 22, 2009

This is just to recommend verifying your 404 error pages. We have found they have been replaced by junk advertising.

View 14 Replies View Related

Plesk 11.x / Windows :: PHP Pages Cause 404 Error

Oct 14, 2013

I have a fresh install of 11.5 on Windows Server 2008r2. I have setup a domain from a 9.5 backup. Everything _looks_ okay, php settings look fine, but php pages give the following with detailed error reporting:

HTTP Error 404.3 - Not Found

The page you are requesting cannot be served because of the extension configuration. If the page is a script, add a handler. If the file should be downloaded, add a MIME map.

Note that this happens whether I select php 5.2 or 5.4

View 1 Replies View Related

IIS Custom 500.100 Error Page

Jun 2, 2009

I have configured a custom 500.100 Error for one of my web sites in IIS 6.0. However, the custom error page appears nested within the HTML of the page throwing the error, at the point the error occurs.

This is problematic as live errors are being overlooked when they appear late in the script as the majority of the page outputs normally.

On my development server IIS 5.1 this does not happen. The Custom Error Page is shown as its own page. The errors cannot go unnoticed.

How can I change IIS 6.0's Customer Error to behave like my development server, and do it just for the one web site concerned?

View 2 Replies View Related

Kloxo, Plesk And Error Pages , Htaccess

Oct 21, 2009

I Have Kloxo Runing in my Server , and i use Apache for handling php , and htaccess .

From kloxo Panel under Extra , Error Handling .

I made editing to where visitor will be taken when come to page not found , banned , ..etc

The error 404 , 403,500

But won't work , it just take User to the Apache Test page instaed takes him to the Page i spicifed..

So i edited htaccess like ErrorDocument 403 forbid.php to try redierct the users to the error pages but got same reslut instaed takes them to the apache test page .

I tried install Plesk and Try . But seems the Same thing , when user comes to not found page , or forbidden page he will be directed to Apache test page.

View 1 Replies View Related

Plesk 11.x / Windows :: PHP Pages Not Loading - Error 500

May 22, 2014

My server is working fine for the last 13 months but since lst tuesday (may 20) it throws error 500. Here is the complete error message

======
Error Summary
HTTP Error 500.0 - Internal Server Error
File monitoring is enabled for a file which could not be found

Detailed Error Information
ModuleFastCgiModule
NotificationExecuteRequestHandler
HandlerPHP5-FastCGI-php
Error Code0x80070003
Requested URLhttp://mydomain:80/index.php
Physical PathC:Inetpubvhostsmydomainhttpdocsindex.php
Logon MethodAnonymous
Logon UserAnonymous
=======

My Server Details
Panel version11.0.9 Update #61, last updated at May 5, 2014 12:52 AM
Windows Server 2008 Service pack 1 64bit
Intel Xeon 2.3 with 24GB Ram
=======

For self diagnostic I delete all files on my root directory (C:Inetpubvhostsmydomainhttpdocs) and put only 2 files
index.php and index.html

When I browse for index.html. It display properly. When I browse for index.php the error persist. What could be wrong?

View 5 Replies View Related

Server-wide Email @sbcglobal.net Addresses.

Sep 25, 2007

I am running web hosting server with cPanel, and the Exim settings should be at it's defaults.

When I try to send an email to addresses@sbcglobal.net, I get the following error:

Code:
This message was created automatically by mail delivery software.

A message that you sent could not be delivered to one or more of its
recipients. This is a permanent error. The following address(es) failed:

fasdfasdfa@sbcglobal.net
retry timeout exceeded

------ This is a copy of the message, including all the headers. ------

Return-path: <curt@precision-media.net>
Received: from [71.146.81.209] (helo=CURTPC)
by server.precision-media.net with esmtpa (Exim 4.68)
(envelope-from <curt@precision-media.net>)
id 1IZyCz-0001P8-Ve
for asdfasdfasf@sbcglobal.net; Mon, 24 Sep 2007 17:23:26 -0700
Message-ID: <005001c7ff0a$4b5ab4a0$660aa8c0@CURTPC>
From: "Curt W." <curt@precision-media.net>
To: "asdfasdfas" <fasdfasdf@sbcglobal.net>
Subject: test
Date: Mon, 24 Sep 2007 17:23:25 -0700
Organization: Precision-Media
MIME-Version: 1.0
Content-Type: multipart/alternative;
boundary="----=_NextPart_000_004B_01C7FECF.9D5CF9B0"
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 6.00.2900.3138
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3138
X-Antivirus: avast! (VPS 000776-1, 09/24/2007), Outbound message
X-Antivirus-Status: Clean

This is a multi-part message in MIME format.

------=_NextPart_000_004B_01C7FECF.9D5CF9B0
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

test
------=_NextPart_000_004B_01C7FECF.9D5CF9B0
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 6.00.6000.16525" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>test</FONT></DIV></BODY></HTML>

------=_NextPart_000_004B_01C7FECF.9D5CF9B0--
I can receive just fine, I think I was replying to the email, but sending a new email gets the same error. Here are the email headers:

Code:
Return-path: <>
Envelope-to: curt@precision-media.net
Delivery-date: Mon, 24 Sep 2007 17:30:43 -0700
Received: from mailnull by server.precision-media.net with local (Exim 4.68)
id 1IZyK3-0001rA-94
for curt@precision-media.net; Mon, 24 Sep 2007 17:30:43 -0700
X-Failed-Recipients: sasgdafsdfasd@sbcglobal.net
Auto-Submitted: auto-replied
From: Mail Delivery System <Mailer-Daemon@server.precision-media.net>
To: curt@precision-media.net
Subject: Mail delivery failed: returning message to sender
Message-Id: <E1IZyK3-0001rA-94@server.precision-media.net>
Date: Mon, 24 Sep 2007 17:30:43 -0700
X-Antivirus: avast! (VPS 000776-1, 09/24/2007), Inbound message
X-Antivirus-Status: Clean

View 6 Replies View Related

Plesk 12.x / Linux :: Switch Off FTP Server-wide?

Jun 28, 2014

Just in the process of upgrading to new box Plesk 12 (Ubuntu 14.04LTS). ON the previous (plesk 10) I was able to disable ftp services by editing /etc/xinetd.d/ftp_psa - this doesn't seem to be an option now. How to do this on plesk 12?

View 5 Replies View Related

Plesk 12.x / Linux :: All Web Pages Returning 404 Error After Update

Dec 5, 2014

I have just updated to plesk 12 and I am having an issue with all of my web pages returning a 404 error, I can connect to the SQL databases and FTP it is just loading the web pages.

View 1 Replies View Related

Ssl Issues Wild Card, Server Wide, Domain, IP

Jul 16, 2008

I have installed ssls before but this is a once a year task and each time it comes up again I have to learn it all over again

When would I use a wild card *.mydomain.com as apposed to just mydomain.com

I hear talk also of a server wide ssl how is this possible do you create the ssl for the IP rather than the domain

What is the best way to do this on a dedicated box with WHM/cpanel to where my users have secure access to their webmail, cpanel client area etc.

I've searched the forums but i dont see much on the different uses of ssls just instructions on installation

View 0 Replies View Related

Linux Server-wide Anti-spam Solution

May 2, 2007

for a server-wide anti-spam solution I can implement on a Linux server. The mail queues are constantly getting backlogged with thousands of messages which bring the servers to a crawl. There are really two issues the solution needs to address.

1) Spam
2) Spam sent to other people that have the from address forged with our clients' email addresses.

We have spam assassin installed for individuals to use, but there's got to be some sort of solution that can clear out the vast majority of the junk before it even gets to the queue.

It probably goes without saying, but the solution needs to be open-source or have a very inexpensive license.

View 5 Replies View Related

.htaccess Custom 404 Error Page Returning 200 Code

Aug 1, 2007

=The last line in the .htaccess file is
ErrorDocument 404 [url]

If someone tries to view a page that does not exist in the web site, the Custom 404 Error Page is displayed, properly.

I am trying to get Google to verify that I am the owner of this site (so I can use their Webmaster tools), and I have placed a page with a name they specified, in the site. Their verification fails, because, 'We've detected that your 404 file (file not found) error page returns a status of 200 (Success) in the header.' They need a status of 404 in the header of 404 pages. Note: Google does a HEAD request (not a GET request).

Also, I have noticed in the Webalizer statistics, there are no 404 codes listed with the other response codes! I know the Custom 404 page is getting a lot of hits, but, they are not shown in the statistics, because the wrong code is being sent.

The web site is small and the Custom Error page is with the other pages. I'm using MS FrontPage 2000.

Question: What do I need to change that line to, to get this to work properly, for Google and for my Webalizer statistics? Apache/1.3.27 (Unix)

View 10 Replies View Related

Plesk 12.x / Linux :: Custom Error Documents - Non Working CSS

Jan 19, 2015

Would like to know how to implement css and images to work with custom error documents. For some reason the folders are ignored even with the correct path being entered within the html. Only plain text appears.

View 2 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved