Welcome to MobyThreads.com!
FAQFAQ      ProfileProfile    Private MessagesPrivate Messages   Log inLog in
All support for the MobyThreads Threaded phpBB MOD can now be found on welsolutions at this forum

.htaccess to use mod_speling

 
   Web Hosting and Web Master Forums (Home) -> Apache RSS
Next:  Spoofing log files in Apache?  
Author Message
csdude

External


Since: Nov 27, 2003
Posts: 6



(Msg. 1) Posted: Thu Nov 20, 2003 3:24 am
Post subject: .htaccess to use mod_speling
Archived from groups: alt>apache>configuration (more info?)

I'm using a remote host, but they do allow me to create an .htaccess
file. This is my first attempt at using the .htaccess file, and since
it's not working I don't know if I'm doing something wrong.

I'm trying to use the module mod_speling. According to the Apache
website, it's included in 1.3+, and my host is using 1.3.26 (on RedHat
6.2), so it should be available. The only documentation I could find
said to add this to the .htaccess file:
CheckSpelling On

I did this, and uploaded the .htaccess file to the root directory (in
ASCII mode, chmod 644), but it had absolutely no effect on misspelled
pages.

I then tried adding a few lines from the httpd.conf file that were
possibly commented out, but to no avail:
LoadModule speling_module modules/mod_speling.so
AddModule mod_speling.c
CheckSpelling On

The test was to go to www.mydomain.com/somedirectory/inde.html
(leaving the "x" out of "index"), but I still got a 404. I really
wanted it so that if I typed in www.mydomain.com/SomeDirectory, I
would be redirected to the all-lower-case directory.

Are either of these added correctly? If so, does this mean that the
module isn't available with my server?

TIA,

Mike


PS, on a similar note, is there a good way to use the .htaccess file
and force www.mydomain.com/somedirectory to redirect to
www.mydomain.com/cgi-bin/program.cgi?id=somedirectory? My intention is
to use a javascript file to do the redirect from the 404 page, but
that's still going to log an error and may not work perfectly.

 >> Stay informed about: .htaccess to use mod_speling 
Back to top
Login to vote
Display posts from previous:   
Related Topics:
HTACCESS - Hi All! I am very new with Apache and for now I am running apache localy. http://127.0.0.1 gets my index up and running! So that works fine! What I am trying to do is to resolve a name like http://thatsme.lan and make a subdirectory like..

Need help with .htaccess - Hi, I'm a newbie to apache. I just create a .htpasswd .htaccess in my ~/www/.htaccess and ~/www.htpasswd. OS Solaris 8 ..htaccess file AuthType Basic AuthName "Secret Section. Password Required" AuthUserFile /www/.htpasswd Require valid-u...

what is .htaccess ? - Hi Ive recently purchased an apache webserver from am ISP which i access through webmin. In there i can access the file: httpd.conf This file appears to hold all the config. In here i can make changes, setup websites etc. I have been reading up o...

.htaccess redirect - Is it possible to do something similar to this ... redirect http://www.widget.com/index.html http://www.newwidget.com/index.html If not, an alternative idea? Thanks

htaccess question - Hi I am writing a page but need it so that links look like the following:- http://mysite/variable/ variable is not actually a folder but a variable. I have seen it before but can't fnd it at the moment where script can be put into the htaccess file s...
   Web Hosting and Web Master Forums (Home) -> Apache All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]