Tag Archive: apache


Issue with mod_speling

from http://ubuntuforums.org/showthread.php?t=342568

The main problem with mod_speling is that it only modifies the GET on case for files, not directories. This is usually not the problem when migrating from a Windows seb server installation. The problem is general URL case sensitivity.
Yes, you can set up a perl script to change all directories to lower-case, and search all scripts and html files to correct the broken links. Been there, done that. The problem still remains that long-time users of the sites have saved valuable links that no longer work.
I have found two possible solutions, neither of which I have been abel to get to work properly:
1. Use Samba as a pass-through to make Apache case-insensive. http://linux.omnipotent.net/article….ticle_id=11710
I understand the basic principles here. Set up a Samba mountpoint on the directory and mount the Apache web directory to that mount point. In theory, that would make the share case-insensitive. The instructions are unclear and there are none of the usual comments and addenda to this post, leaving me to think it is unusable. Anyone with details on setting this up on a newer system than this 2001 posting please chime in.

2. mod_nocase.c This one scares me too much to try as I don’t have any references from people who have tried it to tell me it is safe to use. http://www.misterblue.com/Software/mod_nocase.htm 
Again, if anyone has details on where to put this file in an Ubuntu 8.04 system or comments on tracing the code, I would appreciate it.

A major goal of the Linux movement should be to make it easy to migrate off the Microsoft monster. I have to believe this problem was solved years ago. 

Thank you for any advice.

Tomcat keytool to generate .keystore

To install and configure SSL support on Tomcat 5, you need to follow these simple steps. For more information, read the rest of this HOW-TO.

  1. Create a certificate keystore by executing the following command:Windows:
    %JAVA_HOME%\bin\keytool -genkey -alias tomcat -keyalg RSA

    Unix:

    $JAVA_HOME/bin/keytool -genkey -alias tomcat -keyalg RSA

    and specify a password value of “changeit”.

  2. Uncomment the “SSL HTTP/1.1 Connector” entry in $CATALINA_HOME/conf/server.xml and tweak as necessary.
Powered by WordPress. Theme: Motion by 85ideas.