Thursday, December 8, 2011

how to enable mod_speling on directadmin

Sponsored Links

mod_speling how to
Enabling mod_speling in directadmin

[root@www custombuild]# cd /usr/local/directadmin/custombuild
[root@www custombuild]# mkdir -p custom/ap2
[root@www custombuild]# cp -Rp configure/ap2/configure.apache custom/ap2/configure.apache
[root@www custombuild]# vi custom/ap2/configure.apache
add     "--enable-speling" \ after    "--enable-so" \
save the file
[root@www custombuild]# ./build apache

add the following lines to /etc/httpd/conf/httpd.conf
[root@www custombuild]#  vi /etc/httpd/conf/httpd.conf
CheckSpelling On
CheckCaseOnly On
then save the file

Restart httpd
[root@www custombuild]# /etc/init.d/httpd restart
Stopping httpd:                                            [  OK  ]
Starting httpd: [Fri Dec 09 00:10:58 2011]
[root@www custombuild]#

Checking
[root@www custombuild]# httpd -l | grep spel
  mod_speling.c
[root@www custombuild]#
Sponsored Links

1 comment:

  1. Thanks Randeep,

    This was EXACTLY the information I needed.

    I'm new to Direct Admin - so still a little nervous about hacking my configuration through the console and accidentally clanging DA in the process.

    Your advice transformed an intimidating prospect into a stroll in the park.

    ReplyDelete

Be nice. That's all.