knopix
03-21-2008, 02:31 PM
Is it possible to add a default .htaccess file to new cPanel accounts?
![]() | View Full Version : WHM - default .htaccess file for cPanel accounts? knopix 03-21-2008, 02:31 PM Is it possible to add a default .htaccess file to new cPanel accounts? cPanelDavidG 03-21-2008, 04:08 PM Yes, just place it in your skeleton directory as you would any other file you wish to have as the default for new accounts. knopix 03-21-2008, 04:13 PM Where is the skeleton directory located? Vinayak_Sharma 03-21-2008, 04:25 PM FTP to your main domain (if you are a reseller) and you will see it there /cpanel3-skel Or /root/cpanel3-skel if the server is yours. knopix 03-21-2008, 04:27 PM I am looking at /root/cpanel3-skel/public_html but the directory is completely empty. Is it supposed to be empty? Vinayak_Sharma 03-21-2008, 05:13 PM Put your files there, those you want to be copied over to new accounts, like the .htaccess file you want to add to new cPanel accounts. mrzippy 03-23-2008, 02:35 AM Log into your WHM software and click the "Skeleton Directory" link. Now read what it says. Bingo. |