|
||||
|
Quote:
If you need to customize it, you can create a postacct script or other hooked script to update things after the account is built.
__________________
My Server Expert: Server support, security, and management! |
|
||||
|
Quote:
*** Incidentally, by having .htaccess in /home, it is already automatically active for every account on your server even without copying it to the account because it is on a higher directory level for the account path Apache reads /home, /home/(user), /home/(user)/public_html, etc. when searching for .htaccess files and reads them in order as it comes to them so any .htaccess in /home is already read by Apache and used as the default .htaccess for the entire server Option B) Create a /scripts/wwwacct script to copy the file The script, /scripts/wwwacct, if it exists is executed automatically after any new web hosting account is created and details regarding the new hosting account are passed as command line arguments to the script. More details about how /scripts/wwwacct works and how to use it can be found on Cpanel's developer site.
__________________
My Server Expert: Server support, security, and management! Last edited by Spiral; 07-09-2009 at 07:03 PM. |
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Where is POST Content-Length defined? | anoetic | cPanel and WHM Discussions | 1 | 10-01-2008 05:38 AM |
| Value too large for defined data type | linux.newbie | cPanel and WHM Discussions | 0 | 12-15-2007 12:41 AM |
| your vendor has not defined SSLeay ... | Quanntum | cPanel and WHM Discussions | 0 | 11-08-2007 01:57 PM |
| Value too large for defined data type | SiMka | cPanel and WHM Discussions | 1 | 06-10-2005 07:11 AM |
| User Defined DNS Entries | bpat1434 | cPanel and WHM Discussions | 2 | 03-11-2005 01:19 AM |