Forum Moderators: phranque

Message Too Old, No Replies

will this .htaccess file work?

         

sabongio

5:39 am on Jun 13, 2005 (gmt 0)

10+ Year Member



ok here is my old .htaccess file and i want to know if i add the checkspelling line below it it shoudl work fine right i will give you what my old htaccess file said and what i want the new one to look like

old .htaccess file
SetEnvIfNoCase Referer ^hl2://66\.***\.188\.42 allow_download
Order Deny,Allow
Allow from env=allow_download
Deny from all

new .htaccess file
SetEnvIfNoCase Referer ^hl2://66\.***\.188\.42 allow_download
Order Deny,Allow
Allow from env=allow_download
Deny from all
Checkspelling on

will that work if i just add checkspelling below everything?

[edited by: jdMorgan at 5:54 am (utc) on June 13, 2005]
[edit reason] Obscured specific IP address. [/edit]

jdMorgan

6:01 am on Jun 13, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



The directives in .htaccess are processed by each loaded Apache module in turn, with each module taking action on the directivws that it understands. Therefore, the order in .htaccess of directives handled by different modules does not matter. The order of directives only matters when they are handled by the *same* module.

Therefore, you could add CheckSpelling on (mod_speling) either before or after your mod_setenvif and mod_access code, and it would make no difference.

Jim

sabongio

7:21 am on Jun 13, 2005 (gmt 0)

10+ Year Member



thank you sir