I have a wierd problem on my server. I'm updating an order with my php shopping cart script and notice some of the orders hang on updating. After research I discovered the orders that wont update are orders that have domain names in the textarea field. More specifically. www.yourdomain.com will just hang if I try to update them.
After further research I discovered the if I put an backslash it'll update no problem. IE: www.yourdomain.com
This only happens with domain names inside a textarea. I'm not sure if it's a php config setting, apache setting, my firewall, mod_evasive, mod_security. I've looked at all of them and can't seem to find what is blocking the script from updating just because of www.domainname.com in a textarea.
I've been browsing Google and have learned a lot about how to read stats and what to look out for. However I'm not understanding what effects what.
We've increased
max_user_connections from the default 25 to 50 and max_connections from 500 to 1,000
What area would this effect, RAM? CPU? If I'm having issues with CPU during my heavy load times, What should I look to optimize on our web site? We also disabled gzip on css/js files to prevent the server from over-working.
I've also run into the Today's stats for the server. Can someone tell me more about the part:
Quote:
Top Process%CPU 29.0/usr/local/bin/perl -w /usr/share/munin/munin-update Top Process%CPU 28.0/usr/local/bin/perl -w /usr/share/munin/munin-update Top Process%CPU 27.0/usr/local/bin/perl -w /usr/share/munin/munin-update
I moved my sites to new linux server of mine (apache, mysql, php).
From that time i experienced some bigger websites hanging for like 2-3 seconds before they start loading. I mean when im browsing thru my website i click link, submit something and it waits saying in status field like "Waiting for mywebsite.com"
So i want to ask what apache, php etc values, what to check on server?
NOTE: my server is NOT overloaded (I am checking "top -c" stats) so don't suggest me to upgrade etc.
I have impression that it is waited until website elements are loaded and then webpage load very quickly after mentioned 2-3 seconds delay..
Hi folks I am also facing with the Google Spam Issue the header of sample email sent by a form is as follows. Is there anything wrong in this header. I don't understand why the emails are marked spam?
We have a Fasthosts Dedicated Windows Server and I now need to run a PHP script to enable us to use a online enquiry form. I have contact Fasthosts and the are not able to advise how to enable/use these scripts as it falls outside the support package.
Does anyone know how to enable or make it work in the Matrix Control?
The error i get is:
The page cannot be displayed You have attempted to execute a CGI, ISAPI, or other executable program from a directory that does not allow programs to be executed.
Please try the following:
* Contact the Web site administrator if you believe this directory should allow execute access.
HTTP Error 403.1 - Forbidden: Execute access is denied. Internet Information Services (IIS)
Technical Information (for support personnel)
* Go to Microsoft Product Support Services and perform a title search for the words HTTP and 403. * Open IIS Help, which is accessible in IIS Manager (inetmgr), and search for topics titled Configuring ISAPI Extensions, Configuring CGI Applications, Securing Your Site with Web Site Permissions, and About Custom Error Messages. * In the IIS Software Development Kit (SDK) or at the MSDN Online Library, search for topics titled Developing ISAPI Extensions, ISAPI and CGI, and Debugging ISAPI Extensions and Filters.
I recently signed up a new client to my dedicated server - The minute they switched over to my server, it seems that all hell broke loose. (I'm going to refer to them as "Company A")
Company A called me up and said that one of their employees was getting a huge amount of SPAM and that after a day or two, they were having issues with their E-mail.
I looked at my logs and it showed something unusual-
When I explained this to Company A, they ran some virus checks on their computers and 3 out of 5 computers had viruses on them.
They claim to have fixed the viruses but now, they cannot send e-mails to specific clients.
I checked their I.P. against blacklists and they are using Comcast cable internet at their location and I cleared their only blacklisting (spamhaus.org).
I'm still getting calls that Company A cannot e-mail a few of their clients and just to make sure it's not JUST them, I tried to send a test e-mail to the same clients as Company A.
The e-mails from me were rejected due to time-out.
HERE IS MY QUESTION:
Is this an issue on MY end that must be taken care of *OR* is it due to the fact that they had viruses on their computers and now they are blocked because the virus tried to attack everybody in THEIR e-mail address book?
None of my other clients are complaining of e-mail issues or that e-mails are getting kicked back. Just Company A.
I've been carrying some weird hours lately, so I'm able to see activity on my sites that I normally don't see.
Certain IPs are trying to diddle their things into my server and need the boot. It's not consistent (ie not happening every 5, 10 mins)... it's periodically throughout the months. I'll see an IP I blocked 2 months ago just randomly show up at 4:30am and try accessing the same files it was probing during it's last visit. Assuming this is just some sort of bot, can I block it permanently?
I know APF has a collection system that purges an IP list to keep it from bloating, and I had PSM do some hardening so I'm not entirely sure about the workings of APF firewall. So far my IP blocks are blank (which is a good sign!), but I'd like to add some nuisances to it, to keep their crap from appearing in my error logs anymore as "Denied by Server Configuration"
My question is: Can I block people at server level permanently? I do not want their IP being taken out with the purge list that comes by every so often.
If your server is blocking googlebot from finding your robots.txt file, how do you configure your firewall to unblock it?
I've searched through Google and I've seen may people just say your firewall is blocking it, but none mention how to really stop it from doing that. Like does Google have an IP it uses, and if so, what is the IP you should whitelist for your server?
As I keep getting that message: Network unreachable: robots.txt unreachable and I'm sure it's due to a firewall issue, just have no idea how to fix that.
I was wondering if it is possible to block traffic to and from a server with iptables. Like for example a user transferring files with his ftp client to another server x.x.x.x (FXP)....
been trying with these rules here:
iptables -IINPUT -s x.x.x.x -j DROP iptables -I OUTPUT -s x.x.x.x -j DROP iptables -I FORWARD -s x.x.x.x -j DROP
But still the user can transfer to the server destination...
This topic has probably been covered many times. I am trying to block spam bots from direclty accessing scripts on my site. Measures I have taken thus far, also block my site pages that want are designed to use the scripts. This includes Hot Link Protection and a couple of directives in the .htaccess file.
Code: Hi. This is the qmail-send program at m1370.contabo. I'm afraid I wasn't able to deliver your message to the following addresses. This is a permanent error; I've given up. It didn't work out.
<emailhere@gmail.com>: 2a00:1450:4013:0c00:0000:0000:0000:001b failed after I sent the message.
[Code] .....
Centos 6.6 + Plesk 12 Web Pro Edition
My server certainly did not spam Gmail servers, (my old server works fine sending email t gmail) I fear this has something to do with my "Postfix" configuration.
I have web hosting and domain, lets call it www.example.co.uk, but the main body of the site is on another hosting server (no domain, just set as a dedicated IP address). I'm just wondering if it is possible using .htaccess (or otherwise) to mask the website so the address bar shows www.example.co.uk - But also shows the current directory/file on the dedicated IP server?
So for example, being able to goto http://www.example.co.uk/shop and it show the page 111.222.333.444/shop?
I know the most logical option would be to move over the domain to the new server, but at this current time that is not an option.
Any help would be greatly appreciated. I'm not so great when it comes to .htaccess.
I have shared hosting linux server and I have already enabled Firewall,brute-force but form the couple of weeks,I am facing such issue regarding crossside virus tags or scripts,I have already enabled Mod_security2,so can any body help me to prevent such type of iframe tags.
Please let me know how to restrict or prevent "iframe" tags through Mod_security2,if any body have any specific rule for "iframe" tags,
We have windows 2003 with Mail-Enable mail server. We have PHP 4 and PHP 5 on the server too.
From one of the PHP mail sending script we are not able to send the mails. currently we cannot see the logs for mail sending from PHP form in the mail-enable logs. Also when we trytelnet domain.com 25 it give the correct result.
there is no connectivity between the php and mail-enable on the server. But mails are working fine from the webmail, but they are not working from the php.
how to enable the logs for php mailing sending in mail logs so that we can see it. Also please tell us how we can configure PHP and mail-enable both together so that mails will work fine from PHP script.
I am interested in knowing how to get rid of all of my information from the computer. When i search for things, my old searches appear and thats not good cause I am at work I need to know how to get rid of the evidence. I tried the Tools >> Internet Options >> Delete Cookies - Delete Files and - Clear History but it still appears with all of my old searches. Why Why why? Note, this is not for the browzer, this is for a form such as the typing area on google.
I am currently accessing Serers through remote desktop (windows 2003). To be on the safe site, i like to allow only 1 IP to access through remote, even better would be through one specfic domain or subdomain.
I have already changed the port number, but still like to have this additional feature.
I just moved to a new, dedicated server this week. My vbulletin forum users typically upload mp3 files under 10MB. At the moment, I can't seem to get anything above 6MB to work.
In vBulletin land, they recommend changing these in php.ini: upload_max_filesize - Largest size of a file to accept. post_max_size - Must be larger than upload_max_filesize. memory_limit - Should be larger than post_max_size. max_execution_time max_input_time
I've cranked all of those up and restarted Apache.
I'm still having the same problems. The little window with the form turns white after what appears maybe 5 minutes, but I haven't timed it.
They also mentioned changing the LimitRequestBody in Apache. I appear to be screwing that part up so I created a thread in the Apache forum specificallya about that. [url]
So I wanted to ask if there were any other possibilities that you guys could think of that would inhibit the file size up uploads via a form.
I'm running httpd-2.2.8 and php-5.2.6. It needs to be said that this forum is config is mostly right out of the box. $_SESSION wouldn't work in php until I changed the directory for it yesterday. So there may be a very basic config setting that I missed.
---------
I decided to check my error logs.
PHP Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 9852343 bytes)
I'm confused. I have an allowed memory of 30MB (give or take). So why does a 10MB file "exhaust" it?
I have a CDONTS script which has been sending mail from a client's website form to their address. However, the script has suddenly stopped working. It doesn't error, they just don't receive the mail. I've tried CCing myself in the script and the mail is not getting through. The script itself is tried and tested and syntaxially correct.
I think the problem is because they're using their own exchange server, not the web hosts' mail server. Therefore I would expect that mail sent from the web script wouldn't go through because there is no local mail server to process it.
The problem is that the script hasn't changed, the host say their system hasn't changed, and the client's IT team say their exchange settings haven't changed!
I could set up a CDOSYS script to use their Exchange server to deal with the email, but their IT support won't allow relaying, so I don't think this is possible.
Is connecting to their Exchange box the only option, or should the website host still be able to process the web-script-generated mail despite not being their mail provider? I'm getting a lot of grief here, but it can't be the script that has suddenly broken because nobody has touched it!
I signed up for a 1 month trial of Matt's hosted service for form mail as I was in a hurry to get a client's web site form going (the site was migrated from Windows Server, where it used an asp script).
The features look good, but I was hoping someone has experience using it and can share some insights.