Control Web Panel
WebPanel => How to => Topic started by: NetMonkey on February 24, 2023, 07:28:31 PM
-
I'm trying to change the look of my login page so hackers don't know it's a CWP install. Where is the html page located? It's not located here > /usr/local/apache/htdocs/index.html that is a different page. Please help.
Barry
-
/usr/local/cwpsrv/htdocs/admin/design/css
-
/usr/local/cwpsrv/htdocs/admin/design/css
they will delete it on update, right ?
-
not if you
chattr -R +i /usr/local/cwpsrv/htdocs/admin/design/css
-
not if you
chattr -R +i /usr/local/cwpsrv/htdocs/admin/design/css
immune ... hmmm nice trick and info.. thankyou (again and again)
-
Glad to help! I made that a practice on my tuned Nginx configs because some updates would overwrite my changes with unhelpful defaults. I would also suggest backing up any config directory like that Just In Case some *helpful* automated process rolls over your changes like a steamroller!
It just means you need to
chattr -i <whatever>.conf
when you need to make changes. Then reset the immutable bit when done.