Apache

Security & WebDev

de-co-de: Apache Tomcat connector - mach-o, but wrong architecture

| de-co-de: mach-o, but wrong architecture | If you install the mod_jk.so connector yourself on OS X 10.5 intel you may get the following error.

| httpd: Syntax error on line 484 of /private/etc/apache2/httpd.conf: Syntax error on line 3 of /private/etc/apache2/other/mod_jk.conf: \ | Cannot load /usr/libexec/apache2/mod_jk.so into server: \ | dlopen(/usr/libexec/apache2/mod_jk.so, 10): no suitable image found.\ | Did find:\n\t\ | /usr/libexec/apache2/mod_jk.so: mach-o, but wrong architecture

This error is because apache is compiled as a 64 bit executable and configure builds a 32 bit shared library

1 min read
Tutorials & How-Tos

Time For A Grown-Up Server: Rails, Mongrel, Apache, Capistrano and You | codablog | Coda Hale

| Time For A Grown-Up Server: Rails, Mongrel, Apache, Capistrano and You | codablog | Coda Hale | More and more Rails developers are finding out that deploying a Rails application isn’t as simple as upload and rename; Rails apps work best when running all the time, and many Rails programmers are moving from traditional, shared hosts, like Dreamhost, to virtual private servers, like Rimuhosting, which allow them full control and responsibility of production servers.

1 min read
Tutorials & How-Tos

Apache .htaccess tweaking tutorial at Vortexmind

| Apache .htaccess tweaking tutorial at Vortexmind: free your mind | In this tutorial we are going to improve our website by tweaking out the .htaccess file. Why I wrote this article? Because on the net I have found many articles about this little beast, but every one of them dealt with a specific issue and not look at the overall usage of these files, or they are just too big when you need to do a thing in little time. So I’m trying to collect all the useful bits of data in a monolithic but slim tutorial, which will be updated as I collect more information. But first, let’s see what .htaccess file is…

1 min read