How to enable spelling (Apache 2.x)

patboyd

New member
Joined
May 21, 2008
Messages
1
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.
 
Last edited:
Hello, patboyd :) How-to:
Enter custombuild directory:
Code:
cd /usr/local/directadmin/custombuild

Now copy Apache configuration file to the custom folder (so, it will use it even if you update CustomBuild):
Code:
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):
Code:
nano -w custom/ap2/configure.apache

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

Save and close the file.

Now run:
Code:
./build apache

That's it! :)
 
Steps did not worked.

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?
 
Back
Top