PDA

View Full Version : How to enable spelling (Apache 2.x)



patboyd
01-29-2009, 02:20 PM
I'm working on enabling mod_speling for my apache install.

Apache2 directadmin mod_spelling case insensitivity.

I did not find any answers to this situations directly related to directadmin,

I wanted to post what I did, in case someone may be searching for the same thing.

Ensure this line exists:
add "--enable-speling" \

In File:
/usr/local/directadmin/custombuild/configure/ap2/configure.apache

This will compile suport into your apache build.

smtalk
01-29-2009, 02:28 PM
Hello, patboyd :) How-to:
Enter custombuild directory:


cd /usr/local/directadmin/custombuild


Now copy Apache configuration file to the custom folder (so, it will use it even if you update CustomBuild):


mkdir -p custom/ap2
cp -Rp configure/ap2/configure.apache custom/ap2/configure.apache


Now open custom/ap2/configure.apache with your favourite editor (e.g. ee, nano, joe or vim):


nano -w custom/ap2/configure.apache


Add the following line anywhere between other flags (e.g. after "--enable-so \"):


"--enable-speling" \


Save and close the file.

Now run:


./build apache


That's it! :)

olcaytoperez
07-30-2011, 03:16 AM
I have followed these same steps and written necessary configurations into httpd.conf but mod_speling.so file was not written into /usr/lib/apache/ folder.

httpd.conf file:
Line 20: LoadModule speling_module /usr/lib/apache/mod_speling.so


The error ouput is like below:

Starting httpd: httpd: Syntax error on line 20 of /etc/httpd/conf/httpd.conf: Cannot load /usr/lib/apache/mod_speling.so into server: /usr/lib/apache/mod_speling.so: cannot open shared object file: No such file or directory

What could be the problem?