Re: Overriding url filename changing in Apache

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




Thanks Scott,

That did the trick.

Best,
Harry


Harry Spier
371 Brickman Rd.
Hurleyville, New York
USA 12747




From: Scott Gifford <sgifford@xxxxxxxxxxxxxxxx>
Reply-To: users@xxxxxxxxxxxxxxxx
To: users@xxxxxxxxxxxxxxxx
Subject: Re:  Overriding url filename changing in Apache
Date: Thu, 17 May 2007 01:01:00 -0400

"Harry Spier" <harryspier@xxxxxxxxxxx> writes:

> I have a website on a shared hosting Apache Linux server.

[...]

> I believe (but I'm not sure) that [...] mod-speling is enabled on
> that Apache server. This is the default behaviior on the shared
> hosting server and they wont change it.
>
> I need to override that behavior in my domain so that a url to a
> non-existent file will always give a 404 error [...] Is there anyway I can
> use my .htaccess file to override the servers changing the url

According to the docs, you can use the directive:

    CheckSpelling off

in your .htaccess file to turn off mod_speling for just the files in
that directory:

    http://httpd.apache.org/docs/2.0/mod/mod_speling.html

Hope this helps!

---Scott.

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx


_________________________________________________________________
More photos, more messages, more storage?get 2GB with Windows Live Hotmail. http://imagine-windowslive.com/hotmail/?locale=en-us&ocid=TXT_TAGHM_migration_HM_mini_2G_0507


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
  "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux