Control Web Panel

WebPanel => Apache => Topic started by: devnull on January 24, 2016, 05:07:59 PM

Title: Location of index.html file which is put in /home/username/public_html
Post by: devnull on January 24, 2016, 05:07:59 PM


Hello fellow forummers.

I would like to know the path of the index.html file which is copied to /home/username/public_html after account creation.

Thanks in advance
Title: Re: Location of index.html file which is put in /home/username/public_html
Post by: Administrator on January 25, 2016, 11:39:12 PM
/usr/local/cwpsrv/htdocs/resources/admin/tpl/new_account_tpl
Title: Re: Location of index.html file which is put in /home/username/public_html
Post by: devnull on February 04, 2016, 08:14:20 PM


Thanks! 8) 8)

One question though. The skeleton files in that map are not affected by a CWP update? So I can modify them
and they will stay the same?
Title: Re: Location of index.html file which is put in /home/username/public_html
Post by: devnull on February 05, 2016, 01:34:11 PM


I would also like to copy a .htaccess from /usr/local/cwpsrv/htdocs/resources/admin/tpl/new_account_tpl
to /home/[username]/public_html after account creation.

The .htaccess is in  /usr/local/cwpsrv/htdocs/resources/admin/tpl/new_account_tpl but not automagically copied to /home/[username]/public_html
at the moment :(
Title: Re: Location of index.html file which is put in /home/username/public_html
Post by: devnull on February 15, 2016, 08:20:14 PM

Anyone knows how to do this. Or is this part hardcoded?
Title: Re: Location of index.html file which is put in /home/username/public_html
Post by: Administrator on February 19, 2016, 06:22:28 AM
hidden files are not copied with the current version, but new (0.9.8.12) will have this also included.
Title: Re: Location of index.html file which is put in /home/username/public_html
Post by: devnull on February 19, 2016, 10:44:34 AM

Thanks!  :D
Title: Re: Location of index.html file which is put in /home/username/public_html
Post by: venty on February 19, 2016, 11:51:19 PM
 but wnen new (0.9.8.12) ?!?  ;)