Welcome Guest, Not a member yet? Register   Sign In
Central .htaccess file for multiple files?
#1

[eluser]mvdg27[/eluser]
Hi guys,

Not exactly a codeigniter specific question, but maybe someone has experience with this Smile

I'm trying to achieve a way to have a central .htaccess file that can be used by multiple websites. Similar to how I for example re-use a 'sorry we are offline' image across websites.

The latter I achieve through httpd.conf configuration as such:

Code:
Alias /offline.jpg /home/domains/foo/public_html/images/offline.jpg

I figured to do the same for the htaccess file, but this statement doesn't work. I assume the .htaccess file is never called like this?

Code:
Alias /.htaccess /home/domains/foo/public_html/.htaccess

Does anyone have experience on this matter? Any suggestions on how to have 1 central htaccess file being used by multiple sites?

Thanks in advance!
Michiel


Messages In This Thread
Central .htaccess file for multiple files? - by El Forum - 08-13-2010, 07:40 AM
Central .htaccess file for multiple files? - by El Forum - 08-13-2010, 09:13 AM
Central .htaccess file for multiple files? - by El Forum - 08-13-2010, 10:52 AM
Central .htaccess file for multiple files? - by El Forum - 08-16-2010, 04:05 AM



Theme © iAndrew 2016 - Forum software by © MyBB