Hi,
I would like to know how can I modify the Addon Domain Creation script to create a default .htaccess in the folder with certain rules.
Thanks.
Hi,
I would like to know how can I modify the Addon Domain Creation script to create a default .htaccess in the folder with certain rules.
Thanks.
You can add the programming to the postwwwacct script to edit /home/username/public_html/.htaccess
Actually, postwwwacct only works for new accounts - not addon domains.
You can create a function hook for AddnDomain::addaddondomain API2 function by reading the instructions at /usr/local/cpanel/hooks/README or online at:
FunctionHooks < AllDocumentation < TWiki