Control Web Panel

WebPanel => How to => Topic started by: NetMonkey on February 24, 2023, 07:28:31 PM

Title: Where is CWP login page html
Post 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
Title: Re: Where is CWP login page html
Post by: overseer on March 04, 2023, 04:13:35 PM
Code: [Select]
/usr/local/cwpsrv/htdocs/admin/design/css
Title: Re: Where is CWP login page html
Post by: PakPos on March 06, 2023, 01:46:15 AM
Code: [Select]
/usr/local/cwpsrv/htdocs/admin/design/css


they will delete it on update, right ?
Title: Re: Where is CWP login page html
Post by: overseer on March 06, 2023, 06:45:48 AM
not if you
Code: [Select]
chattr -R +i /usr/local/cwpsrv/htdocs/admin/design/css
Title: Re: Where is CWP login page html
Post by: PakPos on March 09, 2023, 12:54:49 PM
not if you
Code: [Select]
chattr -R +i /usr/local/cwpsrv/htdocs/admin/design/css


immune ... hmmm nice trick and info.. thankyou (again and again)
Title: Re: Where is CWP login page html
Post by: overseer on March 09, 2023, 03:35:26 PM
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
Code: [Select]
chattr -i <whatever>.confwhen you need to make changes. Then reset the immutable bit when done.