Hello EV1, I am new here and have been using cpanel since it first started many moons ago.
I would ideally like a default folder to be created when a new account is created with cpanel in /home/*/public_html/mynewfolder and/or a file in /home/*/public_html/mynewfile.html and be persistently created even if the user deletes it.
I have noticed that cgi-bin is persistent on my machine even if deleted also the .well-known folder has appeared.
This is mainly for instructions how to set up their site so it can be shared, I also would like to automatically create an index.php file either copied or automatically created if one does not exist as a default document.
I can do this on a straight Linux machine @ command line however cpanel is so embedded and I would prefer to do it the correct way and in such a way that does not break a live machine
Has anyone done this here before and if so would welcome some help.
Thanks
I would ideally like a default folder to be created when a new account is created with cpanel in /home/*/public_html/mynewfolder and/or a file in /home/*/public_html/mynewfile.html and be persistently created even if the user deletes it.
I have noticed that cgi-bin is persistent on my machine even if deleted also the .well-known folder has appeared.
This is mainly for instructions how to set up their site so it can be shared, I also would like to automatically create an index.php file either copied or automatically created if one does not exist as a default document.
I can do this on a straight Linux machine @ command line however cpanel is so embedded and I would prefer to do it the correct way and in such a way that does not break a live machine
Has anyone done this here before and if so would welcome some help.
Thanks