Setting Up APF To Display A Error Page For Banned IPs

Sep 30, 2007

when you add a banned ip to APF it doesnt show anything when the user visits the site, just a blank page. is there anyway to set up a page such as "You IP Address has been banned,

View 4 Replies


ADVERTISEMENT

Main Site Page Display

Oct 6, 2009

About the 28th September the host that I was with decided to move servers and did not inform me of this. They tried moving my site and after 18 hours of being offline decided not move my site. It came back offline, only the main page displayed but nothing else works, if you click on anything it goes to 404 page error. Only problem is, the page is displaying data up to 23rd September.

I have a blog and a forum connected and both seem to have lost all the data from the 23rd to 28th September. I have since moved host since the previous host not only did not inform me that they were moving, they didnt even bother taking a backup. I have been with my new host for over a week now so the propogation is definitely complete. Now the problem is whenever I open my blog, it keeps pointing to 23rd September (I have added a lot of posts since then). If I refresh the page, then it will show the latest posts. This is not a problem with the forum though, it works fine.

View 14 Replies View Related

.JSP Page Will Not Display On GoDaddy Linux Hosting

Jan 12, 2009

I can not get a .JSP page to display on a deluxe hosted GoDaddy account. I have tried the most basic page. Just to make sure I do not have a type-o, I even used an HTML page to direct me.

Here is the HTML page that has the hyperlink. This page displays fine.

Code:
<html>
<head>
<title>Test</title>
</head>

<body>

Here is a test page

<a href="test.jsp">Test JSP</a>

</body>
</html>
Here is the JSP page that can not be displayed.

Code:
<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
pageEncoding="ISO-8859-1"%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
[url]

<html>
<head>
<title>Test</title>
</head>

<body>

Here is a test JSP page

</body>
</html>

When I click on the link, I get the HTTP 400 error saying the webpage could not be found. I know the code works since I have tested it locally. Plus the code is very simple.

I am very stumped here and have tried GoDaddy’s help multiple times. They keep telling me it is a scripting issue. I am not sure how it can be a scripting issue because there is no script here. Basically, it is an HTML page with a .JSP extension.

View 11 Replies View Related

Lighttpd Hosting Videos :: Cannot Display Page

Aug 31, 2008

we have a site, x.com and it hosts videos, we want to serve these videos using lighty, however, we can't seem to get it to work at all, The current setup is Cpanel with Apache so we want Cpanel + Lighty(only for flvideo.x.com) and Apache for everything else, im running lighty on port 8080, we've tried different ports for the sake of trial and error.

This is the configuration that we have:

# lighttpd configuration file
#
# use it as a base for lighttpd 1.0.0 and above
#
# $Id: lighttpd.conf,v 1.7 2004/11/03 22:26:05 weigon Exp $

############ Options you really have to take care of
####################

## modules to load
# at least mod_access and mod_accesslog should be loaded
# all other module should only be loaded if really neccesary
# - saves some time
# - saves memory
server.modules = (
# "mod_rewrite",
# "mod_redirect",
# "mod_alias",
"mod_access",
# "mod_cml",
# "mod_trigger_b4_dl",
# "mod_auth",
# "mod_status",
# "mod_setenv",
# "mod_fastcgi",
# "mod_proxy",
# "mod_simple_vhost",
# "mod_evhost",
"mod_userdir",
# "mod_cgi",
# "mod_compress",
# "mod_ssi",
# "mod_usertrack",
# "mod_expire",
# "mod_secdownload",
# "mod_rrdtool",
"mod_accesslog" )

## a static document-root, for virtual-hosting take look at the
## server.virtual-* options
server.document-root = "/home2/x/www/flvideo/"

## where to send error-messages to
server.errorlog = "/var/log/lighttpd/error.log"

# files to check for if .../ is requested
index-file.names = ( "index.php", "index.html",
"index.htm", "default.htm" )

## set the event-handler (read the performance section in the manual)
# server.event-handler = "freebsd-kqueue" # needed on OS X

# mimetype mapping
mimetype.assign = (
".rpm" => "application/x-rpm",
".pdf" => "application/pdf",
".sig" => "application/pgp-signature",
".spl" => "application/futuresplash",
".class" => "application/octet-stream",
".ps" => "application/postscript",
".torrent" => "application/x-bittorrent",
".dvi" => "application/x-dvi",
".gz" => "application/x-gzip",
".pac" => "application/x-ns-proxy-autoconfig",
".swf" => "application/x-shockwave-flash",
".tar.gz" => "application/x-tgz",
".tgz" => "application/x-tgz",
".tar" => "application/x-tar",
".zip" => "application/zip",
".mp3" => "audio/mpeg",
".m3u" => "audio/x-mpegurl",
".wma" => "audio/x-ms-wma",
".wax" => "audio/x-ms-wax",
".ogg" => "application/ogg",
".wav" => "audio/x-wav",
".gif" => "image/gif",
".jar" => "application/x-java-archive",
".jpg" => "image/jpeg",
".jpeg" => "image/jpeg",
".png" => "image/png",
".xbm" => "image/x-xbitmap",
".xpm" => "image/x-xpixmap",
".xwd" => "image/x-xwindowdump",
".css" => "text/css",
".html" => "text/html",
".htm" => "text/html",
".js" => "text/javascript",
".asc" => "text/plain",
".c" => "text/plain",
".cpp" => "text/plain",
".log" => "text/plain",
".conf" => "text/plain",
".text" => "text/plain",
".txt" => "text/plain",
".dtd" => "text/xml",
".xml" => "text/xml",
".mpeg" => "video/mpeg",
".mpg" => "video/mpeg",
".mov" => "video/quicktime",
".qt" => "video/quicktime",
".avi" => "video/x-msvideo",
".asf" => "video/x-ms-asf",
".asx" => "video/x-ms-asf",
".wmv" => "video/x-ms-wmv",
".bz2" => "application/x-bzip",
".tbz" => "application/x-bzip-compressed-tar",
".tar.bz2" => "application/x-bzip-compressed-tar",
# default mime type
"" => "application/octet-stream",
)

# Use the "Content-Type" extended attribute to obtain mime type if
possible
mimetype.use-xattr = "enable"


## send a different Server: header
## be nice and keep it at lighttpd
server.tag = "lighttpd"

#### accesslog module
accesslog.filename = "/var/log/lighttpd/access.log"

## deny access the file-extensions
#
# ~ is for backupfiles from vi, emacs, joe, ...
# .inc is often used for code includes which should in general not be
part
#### accesslog module
accesslog.filename = "/var/log/lighttpd/access.log"

## deny access the file-extensions
#
# ~ is for backupfiles from vi, emacs, joe, ...
# .inc is often used for code includes which should in general not be
part
# of the document-root
url.access-deny = ( "~", ".inc" )

$HTTP["url"] =~ ".pdf$" {
server.range-requests = "disable"
}

##
# which extensions should not be handle via static-file transfer
#
# .php, .pl, .fcgi are most often handled by mod_fastcgi or mod_cgi
static-file.exclude-extensions = ( ".php", ".pl", ".fcgi" )

######### Options that are good to be but not neccesary to be changed
#######

## bind to port (default: 80)
server.port = 8080

## bind to localhost (default: all interfaces)
server.bind = "flvideo.x.com"

This is the weird part, if we lynx x.com:8080 it will display the html file inside the docroot, if i go x.com:8080 on firefox or internet explorer the connection gets reset and internet explorer throws a "cannot display page" error,

View 1 Replies View Related

Customised "Banned IP" Page

May 16, 2008

We've blocked a few problematic users from our server using CSF (IP block).

Could anyone tell me how I could get a custom page to appear for this who are blocked on the server?

I'd like a message informing the user(s) that they have been banned from the server rather than a blank screen.

View 3 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

Error Page Not Found

Dec 14, 2007

Im facing problem from last 48 hours when i try to access my site

www.yourdomain.com/forum

then it showing me error Page not found
Not Found

The requested URL /forum was not found on this server.

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

and when i checked this forum folder through shell and cpanel then its there and when i try to access it through
[url]
then its working fine does any of you know whats the problem was plz help me my site was already closed from 48 hours God Bless you

View 7 Replies View Related

Cpanel 404 Error Page

May 30, 2007

I want to be able to set my 404 error page in cpanel so that the user when goes to my error page gets redirected back to lets say my home page.

Im a little stuck on how to set it in cpanels pre-configured set up.

This is kind of what i have but dont know how it works once my website is added it appears something like this;

<!--

--> mywebsite.com

<!--#echo var="REDIRECT_STATUS" -->

View 2 Replies View Related

Setting Index.html As Default Page Instead Of Index.php?

Jun 23, 2008

Have a website that is making use of both index.html and index.php files as the main page. How can I achieve either through .htaccess or similar (shared hosting) to have the users directed to index.html and not load the index.php first off.

View 1 Replies View Related

Front Page Auth Error

May 19, 2007

Forbidden You don't have permission to access /_vti_bin/_vti_aut/author.exe on this server. Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.

I have done the following: uninstalled /re installed extensions via whm (same error)

.htaccess is default frontpage's code only, nothing else

/scripts/chownpublichtmls

dns zone propagated fully, correct (today)

.htaccess file:

Code:
# -FrontPage-
IndexIgnore .htaccess */.??* *~ *# */HEADER* */README* */_vti*
<Limit GET POST>
order deny,allow
deny from all
allow from all
</Limit>
<Limit PUT DELETE>
order deny,allow
deny from all
</Limit>
AuthName www.domain.com
AuthUserFile /home/user/public_html/_vti_pvt/service.pwd
AuthGroupFile /home/user/public_html/_vti_pvt/service.grp

View 0 Replies View Related

CPanel/WHM Master 404 Error Page For All Accounts

Apr 4, 2009

Is it possible to have a master 404 page that is applied to all the people on our hosting?

View 0 Replies View Related

Website Won't Load And Shows An Error Page

Jun 2, 2007

I have a problem with one of our websites. For some reason, only that one website won't load and shows an error page. This domain is not propogating, nor has it had any changes to any DNS records lately, and it was working around five minutes ago.

View 14 Replies View Related

Apache :: Mod Proxy - Error Page Handling

Nov 10, 2014

a question on mod_proxy. We're using mod_proxy as a simple reverse proxy (ProxyPass & ProxyPassReverse) to reverse-proxy various back-end PHP and Mono/.NET apps.

One problem we see is that when the back-end PHP app suffers an error (e.g. a 404 or 500) , then mod_proxy ignores the nicely-formatted custom error page served up by our PHP app, and instead serves a very plain generic mod_proxy 404 or 500 error page back to the client. Is there a way to configure mod_proxy to serve up the 500/404 error page content which is created by the back-end app ?

(We thought ProxyErrorOverride might work, but it seems to be intended for the opposite scenario, where I want to *ignore* the 404 page content from the back-end and show a mod_proxy-defined error page instead.We're using apache 2.2 on 64-bit CentOS 6.5 ( httpd-2.2.15-31.el6.centos.x86_64 )

Config like:
...
ProxyPass /abc/ http://server4/abc/
ProxyPassReverse /abc/ http://server4/abc/

View 1 Replies View Related

Plesk 11.x / Linux :: Cannot Logon - Web Page Not Available Error

Jun 29, 2015

I tried access my plesk box via http://ipaddress:8443 but am met with an web page not available error. I checked my disk df -h and found

/dev/mapper/VolGroup00-LogVol00 Use% is at 100%. What can I clear out to get it up and running again?

View 4 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 :: Hosting Services - Domain Page Error

Jul 2, 2014

If I go to Hosting Services - Domains and try to switch page, i get this error:

plesk TypeError: item.owner Name is null undefined

And beyond that point, no domains are displayed in Domains...

View 3 Replies View Related

Plesk 11.x / Windows :: Losing Setup Custom Error Page

Nov 5, 2013

All settings of the custom error page were made ​​and worked correctly, however the next day the setting was lost after reset again and returned to work.

But stopped working again, I use Plesk 11...

View 2 Replies View Related

Plesk 11.x / Linux :: Internal Error On Customer / Domain And Subscriptions Page

Apr 9, 2015

Getting this error on the customer, domain and subscriptions pages on Plesk 11.5 update 5.

Running CentOS 5.9

View 1 Replies View Related

Plesk 11.x / Windows :: Page Cannot Be Displayed Because Internal Server Error Occurred

Apr 17, 2014

I have this error.

HTML:
<?xml version="1.0" encoding="UTF-8"?>
<!--
For more information on how to configure your ASP.NET application, please visit
http://go.microsoft.com/fwlink/?LinkId=169433
-->
<configuration>
<configSections>

[Code] ....

View 1 Replies View Related

Plesk 11.x / Windows :: Website Error 404.3 - Requested Page Cannot Be Served Because Of Extension Configuration

Jun 29, 2015

We are hosting provider. I running Plesk 11 on Window 2008 64 bit. I have a website error as flow

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.

View 4 Replies View Related

Plesk 12.x / Linux :: Page Not Found / Timeout / 502 Bad Gateway Error Creating Accounts

Jun 22, 2015

As I read, when Plesk and WHMCS are in the same server, you may have 502 bad gateway errors when creating an account through WHMCS..Page not Found/Timeout/502 Bad Gateway error creating accounts with Plesk 10+..By default Plesk 10 and above performs a forced restart of apache when an account is created or suspended which causes WHMCS to lose connection to the server, and if your WHMCS is on the same server, you will also lose connection to WHMCS at the same time.

In order to resolve this please refer to the following knowledgebase article for instructions on configuring Plesk to perform a graceful restart instead: URL..

But when I activate nginx in Plesk the 502 bad Gateway problem comes back.Is there an option to activate Nginx graceful restart in Plesk?

View 4 Replies View Related

Banned My Own IP

Dec 15, 2007

You can see my servers information at the bottom.

If in this post there is security information I have reveiled I hope you will tell me

After a couple of hours where someone tried to login to root and Directadmin using ssh, i closed ssh and made some minor changes to the security.

I turned on the automatic add ip if login failed 3 times, in DirectAdmin.

I dont know why I was banned cause I DID NOT use wrong login???

My other users of the server also got banned, and they say they did not use wrong pass either?

SO how do I unban me so I can acces DirectAdmin again?

And as if that was not enough, because Im soooo good at this...
while I was at it I stopped SSL cause I got following error and I dont really need it, I think
-------------------------STARThttpd_error_log
[Sat Dec 15 03:38:22 2007] [error] server reached MaxClients setting, consider raising the MaxClients setting
[Sat Dec 15 03:58:32 2007] [notice] caught SIGTERM, shutting down
[Sat Dec 15 03:58:34 2007] [warn] RSA server certificate CommonName (CN) `localhost' does NOT match server name!?
[Sat Dec 15 03:58:34 2007] [warn] RSA server certificate CommonName (CN) `localhost' does NOT match server name!?
[Sat Dec 15 03:58:34 2007] [warn] Init: SSL server IP/port conflict: www.belove.updownloading.com:443 (/usr/local/directadmin/data/users/belove/httpd.conf:48) vs. www.tokyolondon.net:443 (/usr/local/directadmin/data/users/tokyo/httpd.conf:48)
[Sat Dec 15 03:58:34 2007] [warn] Init: SSL server IP/port conflict: www.fusion-planet.updownloading.com:443 (/usr/local/directadmin/data/users/iceangel89/httpd.conf:48) vs. www.tokyolondon.net:443 (/usr/local/directadmin/data/users/tokyo/httpd.conf:48)
[Sat Dec 15 03:58:34 2007] [warn] Init: SSL server IP/port conflict: www.nicheserver.com:443 (/usr/local/directadmin/data/users/nicsad/httpd.conf:48) vs. www.tokyolondon.net:443 (/usr/local/directadmin/data/users/tokyo/httpd.conf:48)
[Sat Dec 15 03:58:34 2007] [warn] Init: SSL server IP/port conflict: localhost:443 (/etc/httpd/conf/extra/httpd-vhosts.conf:38) vs. www.tokyolondon.net:443 (/usr/local/directadmin/data/users/tokyo/httpd.conf:48)
[Sat Dec 15 03:58:34 2007] [warn] Init: You should not use name-based virtual hosts in conjunction with SSL!!
[Sat Dec 15 03:58:34 2007] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Sat Dec 15 03:58:34 2007] [warn] module php5_module is already loaded, skipping
[Sat Dec 15 03:58:35 2007] [warn] RSA server certificate CommonName (CN) `localhost' does NOT match server name!?
[Sat Dec 15 03:58:35 2007] [warn] RSA server certificate CommonName (CN) `localhost' does NOT match server name!?
[Sat Dec 15 03:58:35 2007] [warn] Init: SSL server IP/port conflict: www.belove.updownloading.com:443 (/usr/local/directadmin/data/users/belove/httpd.conf:48) vs. www.tokyolondon.net:443 (/usr/local/directadmin/data/users/tokyo/httpd.conf:48)
[Sat Dec 15 03:58:35 2007] [warn] Init: SSL server IP/port conflict: www.fusion-planet.updownloading.com:443 (/usr/local/directadmin/data/users/iceangel89/httpd.conf:48) vs. www.tokyolondon.net:443 (/usr/local/directadmin/data/users/tokyo/httpd.conf:48)
[Sat Dec 15 03:58:35 2007] [warn] Init: SSL server IP/port conflict: www.nicheserver.com:443 (/usr/local/directadmin/data/users/nicsad/httpd.conf:48) vs. www.tokyolondon.net:443 (/usr/local/directadmin/data/users/tokyo/httpd.conf:48)
[Sat Dec 15 03:58:35 2007] [warn] Init: SSL server IP/port conflict: localhost:443 (/etc/httpd/conf/extra/httpd-vhosts.conf:38) vs. www.tokyolondon.net:443 (/usr/local/directadmin/data/users/tokyo/httpd.conf:48)
[Sat Dec 15 03:58:35 2007] [warn] Init: You should not use name-based virtual hosts in conjunction with SSL!!
[Sat Dec 15 03:58:35 2007] [notice] Apache/2.2.6 (Unix) mod_ssl/2.2.6 OpenSSL/0.9.8b DAV/2 PHP/5.2.4 configured -- resuming normal operations
[Sat Dec 15 03:58:48 2007] [error] [client ::1] File does not exist: /var/www/html/400.shtml
[Sat Dec 15 03:58:49 2007] [error] [client ::1] File does not exist: /var/www/html/400.shtml
[Sat Dec 15 03:59:10 2007] [error] [client ::1] File does not exist: /var/www/html/400.shtml
[Sat Dec 15 03:59:11 2007] [error] [client ::1] File does not exist: /var/www/html/400.shtml
[Sat Dec 15 03:59:12 2007] [error] [client ::1] File does not exist: /var/www/html/400.shtml
-------------------------END httpd_error_log

I have also posted this on DirectAdmin's forum, but because Im really nervous and dont know when they will answer I posted here too, cause this forum is used more

Server configuration
Linux CentOS5 DirectAdmin
Processor Name Intel(R) Xeon(R) CPU 3050 @ 2.13GHz
Vendor ID GenuineIntel
Processor Speed (MHz) 2133.507
Processor Name Intel(R) Xeon(R) CPU 3050 @ 2.13GHz
Vendor ID GenuineIntel
Processor Speed (MHz) 2133.507
Total Memory 2075520 kB
Free Memory 57004 kB - (Every time I cant access the websites, it is this low, then when I can access the websites again its
around 500mb)
Total Swap Memory 4192956 kB
Free Swap Memory 4192888 kB
Apache 2.2.6 Running
DirectAdmin 1.31.0 Running
Exim 4.67 Running
MySQL 5.0.45 Running
Named 9.3.3rc2 Running
ProFTPd 1.3.1 Running
sshd *** Stopped *** (I stopped it because my websites dont need it, in logs I could see that some sites, I dont know, were trying to acces it?)
vm-Pop3d 1.1.7f-DA-2 Running

View 11 Replies View Related

APF Accidentally Banned Someone

Mar 11, 2008

I've an interesting issue here. A client of mine was apparently banned from one of my servers and the problem has been narrowed down to the APF. What's odd is that he's not listed on /etc/apf/deny_hosts.rules file, nor is his IP blocked by iptables.

But, as soon as the APF is enabled he can't access anything on the server! This is very random, I've been using APF for just over a year now and I've never had a problem like this. But who's to say it's not happening to others as well?

View 5 Replies View Related

I Am Banned From My Own Server

Feb 22, 2007

I can't seem to access my server. I can get in through a proxy but not with my own IP. I can't log in through SSH to find out what's going on because I'm banned. I manage my own machines at the moment, so no I can't really contact my host.

View 14 Replies View Related

APF Can't Block Banned One Of The IP

Nov 30, 2007

Since some days I have a problem with apf: It can't BAN one of the Ip from file deny_hosts.rules. Other IP's are correctly banned. Of course in apf log are:

apf(28474): {trust} deny all to/from 88.84.141.233

but this ip still have access to my server and scan my ports. I have this problem after editing internals/rab.ports (I added some ports to RAB_PSCAN_LEVEL_2). I don't know how can I fix this problem.

Topic should have title: APF can't block one of the banned IP.

View 4 Replies View Related

SoftLayer Banned Me! What Is The Reason

Apr 25, 2009

I took server from Soft Layer

After four month they banned my account, When I talked to them they said we banned your account for tow days because we Suspicion about you and I waited them for tow days but nothing new, after that I sent all my evidences to them, the passport picture, driver's license, ID's card and Visa Card picture from front and back.

NOW!

I don't know the reason for banned my account, why they banned me?

View 14 Replies View Related







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