Is there anyway to set locale as 'es' using the .htaccess file? Can this be done based on directories?
Thanks
GS
jdMorgan
4:43 pm on Oct 28, 2006 (gmt 0)
To my knowledge --which is limited in this case-- setting the locale must be done using a shell script. This isn't directly available in .htaccess. However, if you can define a RewriteMap in a server configuration file --httpd.conf or conf.d for example-- that points to the shell script, you can then invoke it by referencing that RewriteMap using mod_rewrite rules in your .htaccess files.