apache alias and .htacess willing to understand configuration?

Posted by sushil bharwani on Stack Overflow See other posts from Stack Overflow or by sushil bharwani
Published on 2010-05-12T14:31:48Z Indexed on 2010/05/12 14:34 UTC
Read the original article Hit count: 206

On our local dev enviornment we had just one server and to add far future expires and cache control header to static images we kept a .htaccess file in the root of the application things worked fine. But on our prod we have multiple apache servers having aliases to a code base on a different server. Here in this case i am not sure where to keep .htacess file on. Should i be keeping it on code base or on the individual apache servers. How can i write the same stuff that i have written in .htaccess file to httpd.conf file.

© Stack Overflow or respective owner

Related posts about apache2

Related posts about .htaccess