Tag Archives: Apache
Creating an easy to deploy SSL certificate in PEM format
When ordering a secure certificate, most often one has to deal with the following files: certificate key file (aka private key): .key certificate request file: .csr primary certificate file (issued by the CA): .crt certificate chain (aka intermediate certificate, or … Continue reading
Qpid, an AMQP implementation
Joshua Kramer has an article in LJ about Qpid and AMQP. One of the most compelling aspects of Qpid is its cross plaform and cross language capability. Finally there is a message broker that is easy to use and has … Continue reading
Setting up Apache Authentication with htpasswd / htaccess
Authentication in Apache is done through htaccess, either from the configuration file, or from the .htaccess file in a given directory. Note that only full directories can be easily protected with this method. Here is how: (first log in to … Continue reading
Connection pooling with mod_perl
I found this info in the PostgreSQL archives. Here are 2 methods: Best method from Dan Lyke: Apache::DBI will pool across Perl programs, and you don’t have to change anything in your scripts. Next best method from Gilles DAROLD: in … Continue reading
How to avoid the phpBB worm with Apache Rewrite Engine
This solution was suggested by Raymond Dijkxhoorn on BugTraq: If you cannot fix it (virtual servers) fast for all your clients you could also try with something like this: RewriteEngine On RewriteCond %{QUERY_STRING} ^(.*)echr(.*) [OR] RewriteCond %{QUERY_STRING} ^(.*)esystem(.*) RewriteRule ^.*$ … Continue reading
How to make perl work in a chrooted Apache on OpenBSD 4.5
I found this solution on the misc@ list, and just slightly had to update it: Getting Perl/CGI to work in a chroot’d Apache environment : Intentions Let me start off by saying that allowing Perl/CGI in a server environment is … Continue reading
How to fix mod_perl with Apache2 on Ensim 3.7.x and Ensim 4.0.x?
Fixing mod_perl Based on Ensim Knowledge ID:964 Description: mod_perl fails with Apache 2.0 on Ensim Pro/Basic Solution: When using Apache 2.0 with Ensim Pro/Basic, mod_perl no longer functions. This is due to improper module references. Ensim will provide an official … Continue reading
How to upgrade Chili!ASP (SUN One ASP)
The modules needs to be recompiled for the new version of Apache. Here are the steps: # mkdir -p /opt/casp/module/linux2_optimized/apache_[version]/eapi # cd /opt/casp/module/source/build/ # apxs -c mod_casp2.c # cp mod_casp2.so /opt/casp/module/linux2_optimized/apache_[version]/eapi # ./configure-server The inital configuration reports: —————————————————————————– | SERVER … Continue reading
Do you have an authentication routine, like htpasswd to protect web pages?
authentication in Apache is done through htaccess, either from the configuration file, or from the .htaccess file in a given directory. Note that only full directories can be easily protected with this method. Here is how: (first log in to … Continue reading
