Apache :: Blocking / Slow On Local Windows-system

Feb 15, 2013

I have a website on a linux-server working fine with PHP/Apache. The page loads a lot of css/js/image-stuff (total 84 requests, 220k), it takes about 4 secs to load via internet.

Now I'm testing the same page locally on a Win7-64-system (Apache 2.2, PHP 5.4). The system is not very slow (8 GB RAM, SSD, i7-CPU), but loading the same page as above takes about 50 secs.

The Q is: What might be the problem?

- I turned off firewall and anti-virus.

- I used mod_status: 150 threads, max. 11 seems to be used during the loading of the page.

- I tried php5apache2_2.dll with TS-PHP 5.4 and mod_fcgid.so with NTS-PHP 5.4, but the loading-time kept almost the same.

Looking at the "network-tab" in FF or Chrome, I found that a lot of subqueries get a timing like this:

Blocking: 11.96 s
Sending: 0
Waiting: 1 ms
Receiving: 6ms

So the loss of time seem to be in the "blocking"-section. I first thought of something like "limited number of TCP-Connections", but as said above, on the same system the page is remotly loaded fast enough almost without these "blocking"-parts.

View 3 Replies


ADVERTISEMENT

Blocking Emails From Nonexistent Local Addresses - EXIM

Jul 16, 2007

I'm trying to figure out a method to stop some of the email spam that we get, and I have something figured out, but I need help on implementing it.

Basically, we get a lot of spam emails from addresses claiming to be from our domain (EX: From: someguy@mysite.com). The email is actually not from our domain, nor does the address actually exist, but the From address is being forged to look like it is our domain.

Basically to fix this, i want to block all email where the From address is claiming to be from our domain, with a nonexistent email address. I'm pretty sure that this is configurable in Exim, but I haven't found any tutorial on it, and I'm not familiar enough with Exim to do it very easily. Anyway if anyone knows of a tutorial or how this could be accomplished, please let me know.

Just to Add:
The reason that these emails are a problem is that the spam software we are running recognizes these emails as being from our domain which it trusts, so they pass most spam filters.

View 0 Replies View Related

Apache :: Slow Download Speeds On Windows Machine

Aug 27, 2010

Apache seems to have a maximum client download speed of 5Mb/s. That too after I use these commands:

# Improve file transfer speeds on Windows Machines
EnableSendfile Off
EnableMMAP Off

Which without, the speeds are even slower!

I know for sure the server I am running Apache on can go to much higher speeds (2MB/s to even 12MB/s) because I tested it via FTP.

View 2 Replies View Related

Major Mail Carries Blocking System Emails

Jan 30, 2007

It seems that all of the emails sent from clientexec to the major carriers (gmail, yahoo, msn etc.,) are being either blocked completely or marked as spam (msn).

When I send an email from outlook from the same domain client exec is on the email goes through fine.

I have added an SPF Record and my domain is not "blacklisted" for spam anywhere.

View 1 Replies View Related

Slow System

Aug 11, 2008

Recently, my server has been running real slow and I don't know why... I've not noticed any increase in traffic (In fact it goes slow with no traffic on it...), what are some things I can look at to try and diagnose the problem? I know next to nothing about *nix so please speak in great detail.

Anytime I restart Apache, it loads quick for a few seconds then gets slow again...

Here are the top few processes listed on the process manager: .....

View 14 Replies View Related

Blocking IP Range On Windows

May 14, 2009

I have a client who needs to block IP range on a windows server. However, he is using Cloud hosting from Rackspace. I guess they are not being corporative in doing so. Anyway to do this without root? Perhaps from the control panel?

View 4 Replies View Related

Apache :: Configuring IP Blocking?

Apr 7, 2014

I've been trying to figure out some IP blocking with no success. The environment is UNIX and Apache version is 2.2.22-14.

The site is on a hosted solution and doesn't have a firewall due to the virtualization software limitations. I've tried setting something similar to the following:

Code:

<Directory /home/username/mysite.com>
#IP Blocks
Deny from 1.2.3.1/24
Deny from 1.2.4.5
etc..

but with no success. I've also tried it in the <Location> tag with no success.

The way I'm testing this is editing the conf and then bouncing the apache server.

View 4 Replies View Related

Blocking Whole Server Apache From China

Nov 20, 2008

My server is getting a lot of spam robots registering as fake users into my forums (altho most emails are invalid

View 2 Replies View Related

Plesk 12.x / Windows :: Spammers Blocking Inbound SMTP

Sep 19, 2014

I am having some problems with the inbound smtp sockets, we are receiving a constant attack from spammers, and they are taking all the sockets we have open for our users. We have enable SPF, greylisting, inbound control access through authentication, relay access with authentication also. but after some weeks we are on the same situation yet. We have spam assasin also installed as power pack from plesk, and we have add DSN black list from b.barracudacentral.org, bl.mailspike.net and bl.spamcop.net but we still suffer from this problem.

We have also try to increase the socket assigned to 200 and after some minutes they used all again and the CPU change increase up to 25% of the total capacity.

View 3 Replies View Related

Plesk 11.x / Windows :: Backup Job Unfinished Blocking The Domain

Dec 23, 2012

The problem is a bug in one domain (the principal) for which a backup job unfinished blocking the domain. Unable to unlock the domain and indicated (in version 10.4.4) I had a backup job unfinished. Restarting the server did not solve anything.

We upgraded to plesk 11 and this is the error that now comes in all requests for backup, to click on "Admin Backup":

Failed to parse response. Reason: XML error at line 1 column 1. Error message: Not well-formed (invalid token) Process output: The system cannot find the file specified. (Error code 2) at Unable to connect to pipe .pipepsapipe
---------------------- Debug Info -------------------------------
0: PMMConnector.php:642
PMMConnector->getResponse(object of type StreamXMLReader)
1: PMMConnector.php:74

[Code] ....

Now this error is in all backup of all domains.

View 5 Replies View Related

Apache :: Blocking Bad Bots With HTAccess - What Is The Right Syntax

Apr 23, 2015

I am having a problem with blocking bots using .htaccess. I think I tried all possible syntax variants, yet all the bots that I am blocking get HTTP 200 response instead of 403 (I can verify it using access log).

I am using Apache 2.4 running on Ubuntu 14.04.2 with Plesk 12.0.18.

My AllowOverride is set to allow the use of .htaccess files, so .htaccess file gets loaded: when I make an error in .htaccess sysntax I can see the error in the error log and the webpages don't load. Besides, I have some "Deny from [IP address]" directives in the .htaccess and I see that these IPs get HTTP 403 response when access my site.

I spent hours trying different variants of .htaccess syntax (see below) and neither seems to work...

variant 0:

SetEnvIfNoCase User-Agent LivelapBot bad_bot
SetEnvIfNoCase User-Agent TurnitinBot bad_bot
Order allow,deny
Allow from all
Deny from env=bad_bot

[Code] ....

View 7 Replies View Related

Apache :: Blocking Bots And Spam Referrers?

Apr 10, 2015

If I know the IP range that I want to block the best option is to block it with IPTABLES. This works well when you want to block entire countries. But what happens when you want to block specific IPs rather than ranges? Is iptables still more effective than "deny from [IP]" in .htaccess? I read that you don't want iptables to grow too big as it slows performance, but I guess it is still more effective than having big .htaccess..?

When it comes to blocking spam bots or referrers, robots.txt is just a suggestion for bots, when I looked at my traffic logs I noticed that most bots don't even look at robots.txt file. As far as I understand the only option here is to use .htaccess

1. I am currently using this in my .htaccess:
SetEnvIfNoCase User-Agent *ahrefsbot* bad_bot=yes
SetEnvIfNoCase Referer fbdownloader.com spammer=yes
...
SetEnvIfNoCase Referer social-buttons.com spammer=yes
Order allow,deny
Allow from all
Deny from env=spammer
Deny from env=bad_bot

2. Apparently, there is another approach as per below:
# Deny domain access to spammers
RewriteEngine on
RewriteBase /
RewriteCond %{HTTP_USER_AGENT} queryseeker [OR]
RewriteCond %{HTTP_REFERER} ^(www.)?.*(-|.)?adult(-|.).*$ [OR]
...
RewriteCond %{HTTP_REFERER} ^(www.)?.*(-|.)?sex(-|.).*$
RewriteRule .* - [F,L]

Which approach is better #1 or #2? Any better alternative?

Finally, somebody suggested that you need to have both (as per example below). Is it true?

RewriteEngine On
RewriteCond %{HTTP_USER_AGENT} ^rogerbot [OR]
RewriteCond %{HTTP_USER_AGENT} ^exabot [OR]
RewriteCond %{HTTP_USER_AGENT} ^MJ12bot [OR]

[Code] ....

View 7 Replies View Related

Apache :: Security Challenge - Rejecting Specific Requests Without Blocking IP

Jan 21, 2014

I have been trying to solve a big problem for the last 2 weeks with one of our servers.

The client using our system (web based w/ apache and php) is a contact center firm. They have about 120 operators, all connect to our websever with the same IP.

We have been suffering DoS attacks from some of these operators. This are simple, browser attacks , namely 5 or 10 operators will just hold F5 key and bombard the server with requests when they shouldnt.

We did manage to produce a php protection which will recognize the multiple requests and blacklist the user, but its "too late" because the request have already been sent and processed by the webserver.

We use the user ID in the system to control who should be blacklisted, so this is all dependent on our own authentication.

Ideally, we need something EXACTLY like mod_evasive, but for rejecting single requests instead of blocking the IP. Exemplifying : if a user calls the same url, 5 times, in a 3 second spawn, we will reject every next request for 30 seconds, but only the requests by that user.

If the webserver can make any use of it, the user id is stored in a cookie.

View 4 Replies View Related

Apache :: Local Server Works Once And Then Won't Again

Oct 3, 2013

I found a socket available other than 80 which would not allow me to use. I set it in the conf file as 1800 and then go to apache/bin directory and load httpd.exe. When I go to the browser, I have to type in http://localhost:1800 for it to work once. If I close the browser and try again, or I try a php file, it says it can't find localhost. I have to stop httpd.exe and reload, then it will work once.

Do I have to find a way to use socket 80 for it to work?

View 2 Replies View Related

Plesk 12.x / Windows :: Local Scheduled Backup Error

May 22, 2015

I have recently upgraded Plesk Panel from 11.0.5 windows to 12.0.18 MU#46 windows.

As checked that local plesk backup via GUI throwing error and is not working. On checking the event viewer I found below event during backup run.

Log Name: Plesk
Source: scheduled_backup.exe
Date: 5/23/2015 6:52:06 AM
Event ID: 1
Task Category: None
Level: Warning

[Code] ....

View 1 Replies View Related

Plesk 11.x / Windows :: Local Backup Completed With Warnings

Nov 19, 2014

Operating System: Windows Server 2008 R2 Std
Plesk: Parallels Plesk Panel 11.5

We have scheduled a server local backup via Backup Manager and found that backup has got completed with warnings.

We have checked logs from location : E:Program Files (x86)ParallelsPleskPMMsessions2014-11-18-144536.191psadump.log

8052: Warning 18/11/2014 18:18:55.028 : Exception ignored ( System.ComponentModel.Win32Exception: The system cannot find the file specified at psabackupcommon.FileUtils.DeleteFile(String fileName) at psadumpagent.ArchiveNode.doStdClose() )
8052: Debug 18/11/2014 18:18:55.028 : Add mail name 'abc@xxxx.com' directory 'F:Plesk PrivateTemp21282721-4181-4c0f-9520-c232f00b7668MailMigratorabc@xxxx.com to dump

[Code] .....

View 3 Replies View Related

/usr/local/apache/bin/httpd -k Start -DSSL

Jul 29, 2009

When I look at my Current CPU Usage / process manager, I see this:

Pid |Owner | Priority | Cpu % |Mem % | Command

13754 | nobody | 0 | 2.2 | 4.0 |/usr/local/apache/bin/httpd -k start -DSSL

I've got about 9 more of these, and it keeps eating up the memory. What is it and what can I do? Is it just apache running?

View 14 Replies View Related

Apache :: ProxyPass 503 Errors With Local Host

Feb 28, 2013

It seems with the latest version of 2.2.24 I've had to change the ProxyPass address in http-virtualhosts to the actual address of the web server itself (Websphere / tomcat) and not the reversproxy (Apache). It seems like originally we had it looking like this more or less: ProxyPass / ajp://localhost:8009 but now have ProxyPass / ajp://webserverip:8009 and it's working that way. Which way is correct and if this isn't the correct way how do I fix this? I was getting 503 errors when it was connected to localhost (along with ajp errors) but I was able to telnet to the webserver on 8009 successfully.

View 3 Replies View Related

Apache :: Access Manual From Other Local Machines?

Jun 25, 2014

Allow from 192.168.0.*

to the httpd-manual.conf to enable access by other machines on my network but it seems to be hard coded to localhost only.

Is there something else I can add to httpd-manual.conf to enable it or do I need to copy manual folder to the htdocs folder and then restrict that <Directory> ?

View 1 Replies View Related

Windows VPS Slow Internet Through RDC

Apr 27, 2008

With Remote Desktop Connection download/upload speeds seem to be capped to barely anything like 50 KB/s. But going to speedtest.net (still in remote desktop) the server reads like 3600 KB/s. It seems like my host is smartly throttling my connection. Is there any way to get around this?

View 3 Replies View Related

Plesk 11.x / Windows :: 550 Requested Action Not Taken / Mailbox Unavailable Or Not Local

Jan 22, 2014

I have a plesk 11.0.9 on a windows server 2008 R2 which has MailEnable. One of my customers faced a problem to send emails from one of his local mailboxes to another of his local mailboxes! He got this error:Your message did not reach some or all of the intended recipients.The following recipient(s) cannot be reached.Server error: '550 Requested action not taken: mailbox unavailable or not local'

But we are sure the recipient mailboxes exist and work fine!I checked this link: URL....It dosen't work for this case.

View 4 Replies View Related

Slow Apache

Jan 19, 2007

when I click a link in my site, sometimes nothing happens, until the connection times out. What could be causing this problem and what could I do to solve it? Increase the max number of Apache processes, threads per child, or what?

View 4 Replies View Related

Error: While Opening /usr/local/apache/htdocs/.htaccess

May 11, 2009

Ive just tried to block an IP address in cPanel, and I got this error:

Error: while opening /usr/local/apache/htdocs/.htaccess

Does this mean the .htacess file is not there?

View 6 Replies View Related

Apache :: Local Authentication Is Not Working When LDAP Is Offline

Jan 10, 2014

Im having a problem where local authentication will not work when when the configured LDAP server is unavailble. When the ldap server is online I can authenticate fine against ldap and local file. However, when the ldap server is offline, I cannot authenticate with the user1 account. The browser just sits at a blank screen.

Ive searched a lot on this and found many examples, all very similar to my config below, but I still cannot failback authentication to local file when ldap is unavailable. Im running Apache/2.2.10. I have also tested this on 2.2.16 with the same results.

=======.htaccess==========================
AuthName "Server Access"
AuthType Basic
AuthBasicProvider file ldap
AuthUserFile /etc/apache2/htpasswd
AuthzLDAPAuthoritative off
AuthLDAPURL ldap://ldap.domain.com:389/OU=Users,DC=domain,DC=com?sAMAccountName

[Code]...

View 3 Replies View Related

Apache :: Setting Up Free Dns Service For Local Web Server

Jan 26, 2013

*My computer is a computer of a 500 computers network within our company.

* i have been given a STATIC local intranet ip 192.168.10.168 assigned by our IT department via their router.

* i have the internet facility provided through the above mentioned intranet for which i get a dynamic ip ex: 188.54.208.205, 176.44.107.21

* i have installed WAMP server.

my current project for the company i am doing should be able to access via internet in addition to the local access. local access is the primary access method. so now i have installed a free dns service like dyndns. at the setup of that, i have choosen a free subdomain ex: my.freedns.com they offer. then i assigned the ip ex:188.54.208.205. also installed their desktop client for monitoring ip changes auto updates.

Now the problem is : when i hit my.freedns.com the page displaying is of our internet service provider. not of my project homepage . How can i fix so when i issue above subdomain it will show my webserver default page? 

View 11 Replies View Related

Apache :: Setting Up A Local Domain With Working Override

Feb 25, 2014

I'm trying to accomplish two goals: First, get "Pretty Links" to work on my local Wordpress instance; second, to set up a local domain for the site.I have a fresh install of Apache 2.4.6 running, and I'll I've done is enable the rewrite and vhost_alias mods. Nevertheless, here's my apache2.conf: URL....

I need to have AllowOverride set to All. This, I gather, allows .htaccess files within the subsequent directories to alter the apache config. To try one thing at a time, I'm accessing the site from localhost/var/www/dhae/Wordpress (foregoing the domain). I tried altering the 000-default.conf to oblige this: [URL] .... -- all I added was the <Directory> section. This didn't work, and neither did changing the AllowOverride to All in the apache2.conf.

I wondered if perhaps I needed something more specific to the directory, so I tried using my second goal to accomplish this. I wrote the dhae.conf: URL....

I've also added the following line to my HOSTS file:127.0.0.1 dhae.dev

This hasn't worked either. I've tried virtual host config stuff as much as I could find, and I'm just not having any luck. What I have even came from this site (URL....).

View 7 Replies View Related

Apache :: Mamp And Local Wordpress Install Not Working

Feb 11, 2013

I can't get MAMP to work. I sadly uninstalled and AppZapped MAMP and reinstalled it. Now I can't get WordPress to install. I can make a DB on PHP MyAdmin but I get "not found" when I try the WordPress install. I can't get the PHP info? line to work either. How do you troubleshoot MAMP? 

View 4 Replies View Related

Which Windows Operating System To Get For DB Server

Mar 10, 2008

to get a dedicated sql server 2005 box and am not sure the best operating system. These are my choices:

Windows Server 2003 Enterprise - 32 bit
Windows Server 2003 Enterprise - 64 bit
Windows Server 2003 R2 Enterprise - 32 bit
Windows Server 2003 R2 Enterprise - 64 bit

This is the server I'm thinking of getting -
Dual Woodcrest Series - SATA Dual Intel Woodcrest 5130 Dual Core Processors 2 x 500GB Hard Drive 4096 MB RAM

Currently, I have my IIS web server and sql server 2005 on the same machine and it's just too bogged down. That one runs windows 2003 standard 32 bit on a Dual Xeon 2.8GHz Processor 2 x 80GB Hard Drive 4096 MB RAM

View 6 Replies View Related







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