HowtoForge - Linux Howtos in English English|HowtoForge.de - Linux-Howtos auf Deutsch Deutsch

Apache

Speed Up Google Analytics

Submitted by apachedude (Contact Author) (Forums) on Wed, 2007-03-28 17:59. :: Apache | Apache

Speed Up Google Analytics

This method uses crontab to execute a shell script that downloads an updated urchin.js file every 24 hours and saves it into your local sites directory. Thats it! The problem occurs when google-analytics.com/urchin.js is requested by billions of web users all over the world at one time, it can cause your sites pages to load at a snails pace. Especially if you are using WordPress or a similar CMS.

Read more...

.htaccess Based Authentication On Subdirectories

Submitted by nayyares (Contact Author) (Forums) on Mon, 2007-01-22 16:34. :: Apache | Apache

.htaccess Based Authentication On Subdirectories

.htaccess is used to provide facility of changing configuration per directory basis, this file can contain one or more directives that are going to be forced on the directory that contains the.htaccess file. In this howto, I will take a dummy scenario of two parallel level subdirectories and will implement password authentication on both of them. This means only those users can access these directories that have the correct username and password.

Read more...

How do I create SSL certificates with OpenSSL on the command line?

Submitted by falko (Contact Author) (Forums) on Mon, 2006-08-07 16:06. :: Apache

You do it like this:

openssl genrsa -des3 -passout pass:yourpassword -out /path/to/your/key_file 1024

openssl req -new -passin pass:yourpassword -passout pass:yourpassword -key /path/to/your/key_file -out /path/to/your/csr_file -days 365

openssl req -x509 -passin pass:yourpassword -passout pass:yourpassword -key /path/to/your/key_file -in /path/to/your/csr_file -out /path/to/your/crt_file -days 365

openssl rsa -passin pass:yourpassword -in /path/to/your/key_file -out /path/to/your/key_file2

chmod 400 /path/to/your/key_file2

Read more...

Configuring Tomcat5 and Apache2 with Virtual Hosts using mod_jk

Submitted by ctroyp (Contact Author) (Forums) on Sun, 2006-02-12 23:19. :: Apache | Apache

Configuring Tomcat5 and Apache2 with Virtual Hosts using mod_jk

This tutorial explains how I was able to setup a web server in order to support Java Server Pages (JSP) and Servlets using virtually hosted websites. The ultimate goal is to provide instructions on how to incorporate JSP/Servlet support on the ISPConfig web hosting software. I felt it was necessary to provide this first segment separately for those that do not wish to use the ISPConfig web hosting control panel.

Read more...