|
|||
|
auto inserting
is it possible so that say someone chooses the package named "free" on my website, a banner is automatically added onto the top of all their pages, but for ones like bronze, silver and gold package, there would be no banner inserted?
|
|
||||
|
Change append to prepend to put your file at the top.
I'm not positive about the proper way to write protect the file, but I would just do "chmod /home/username/.htaccess 0444" in shell which would make it only readable. If you ever want to change it you would have to put it back to 0644. It might also work if you leave it at 0644 and do "chown root /home/username/.htaccess" which would make root be the owner and therefore the only one who can modify it. |
![]() |
| Thread Tools | |
| Display Modes | |
|
|