This is a quick walk through on how to set up domain keys on Centos 5 using sendmail. It should also be very similar for Redhat or Fedora.
Domainkeys is a method mostly used by yahoo to verify that the sender of an email is valid. I did notice that gmail changes the domainkeys header line [...]
Posted on March 9th, 2010 by Denie
Filed under: BASH, CentOS, Linux, Sendmail, Tutorials | No Comments »
First, Squid server installed (use up2date squid) and configured by adding following directives to file:
# vi /etc/squid/squid.conf
Posted on December 18th, 2009 by Denie
Filed under: BASH, Linux, Tutorials | No Comments »
If you would like to have a set of web pages that are protected, requiring a username/password to gain access, this tutorial will show you how to set it up. This is geared towards the Unix Apache httpd servers used on holly, lamar, and www.colostate.edu. If you are using another web server, you’ll need to [...]
Posted on November 24th, 2009 by Denie
Filed under: Apache, BASH, Linux, Tutorials | No Comments »
If you’re going to be doing a lot of Geotargeting or IP Address Lookups, please take a feed instead which will preserve both our bandwidth and your bandwidth.
Simple GET
That said, there is an easy HTTP oriented API to locate IP addresses and Geocode them. If you don’t supply the “?ip=aa.bb.cc.dd” bit, [...]
Posted on October 22nd, 2009 by Denie
Filed under: BASH, Linux, Scripting, Tutorials | No Comments »
By default, Apache comes preconfigured to serve a maximum of 256 clients simultaneously. This particular configuration setting can be found in the file /etc/httpd/conf/httpd.conf
If your server has 2 GB of RAM, and you’re sharing your server with MySQL(true in my case), you’ll want to reserve about half of it for Apache (1 GB)
Posted on July 25th, 2009 by Denie
Filed under: Apache, Linux, MySQL, Tutorials | No Comments »
To search in the current directory and all sub directories for a file named httpd.conf
find . -name “httpd.conf” -print
To find some string or text, type
find . -exec grep “MaxClients” ‘{}’ \; -print
Posted on July 25th, 2009 by Denie
Filed under: Apache, BASH, Linux, Tutorials | No Comments »
Easy part, just create like below .htaccess file on your web folder :
AuthName “My Protected Site”
AuthUserFile /home/apache/.htpasswd
AuthType basic
Require valid-user
Order Deny,Allow
Deny from all
Allow from 192.168.1. 192.168.2.
Satisfy Any
Good luck!
Posted on June 22nd, 2009 by Denie
Filed under: Apache, Tutorials | No Comments »
We have 2 ways, to get this done. You just need to choose, which way is suitable for you
Posted on June 1st, 2009 by Denie
Filed under: Internet, SSL, Tutorials | No Comments »
Mod_security(ModSecurity is an open source intrusion detection and prevention engine for web applications)
Features
• filtering POST and GET requests (including hearders)
• filters inheritance and ability to add filters in each vhosts configuration file, and per directory
• include a way to chroot apache in an easiest way
• ability to fake apache output (like telling “Microsoft IIS” on error page or [...]
Posted on April 12th, 2009 by Denie
Filed under: Linux, Tutorials | No Comments »
This information is ONLY relevant to PHP4 and Apache 1.3. (BUT possible can be work also in PHP 5.x and Apache 2.x ) We historically used PHP for all our web work. We have decided to migrate to ruby for lots of reasons for all our new web development but we still have lots of [...]
Posted on March 24th, 2009 by Denie
Filed under: PHP, SSI, Tutorials | No Comments »