phantom

Well-Known Member
Sep 17, 2002
123
0
166
Hi,
I want to add a certain .htaccess file to every domain on my server. I have 2 questions

1. How can I have it so it's added automatically

2. how can I make it so the domain user cannot modify it or delete it.

Thanks!
 

BJMG

Active Member
Jul 24, 2002
27
0
151
I dont beleive there is a way to automagically add it, other than creating the .htaccess file within your skel directory, however, when it is added to new accounts, it, I beleive, is then chowned to the user/group of the account owner.

What exactly are you trying to do. I am sure you will probably be able to add it to the server config files and thereby taking effect globally.
 

phantom

Well-Known Member
Sep 17, 2002
123
0
166
I'm trying to add headers and footers on each page for each domain using a small cgi script. I want to use mod_layout but have not found any good instructions on how to install it.

There is an RPM for mod_layout. What are the chances of Nick adding it to the RPM installer. I'd much rather use an apache mod than a cgi script.