Author Topic: Where is CWP login page html  (Read 2648 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
Where is CWP login page html
« 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

Offline
*****
Re: Where is CWP login page html
« Reply #1 on: March 04, 2023, 04:13:35 PM »
Code: [Select]
/usr/local/cwpsrv/htdocs/admin/design/css

Offline
***
Re: Where is CWP login page html
« Reply #2 on: March 06, 2023, 01:46:15 AM »
Code: [Select]
/usr/local/cwpsrv/htdocs/admin/design/css


they will delete it on update, right ?

Offline
*****
Re: Where is CWP login page html
« Reply #3 on: March 06, 2023, 06:45:48 AM »
not if you
Code: [Select]
chattr -R +i /usr/local/cwpsrv/htdocs/admin/design/css

Offline
***
Re: Where is CWP login page html
« Reply #4 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)

Offline
*****
Re: Where is CWP login page html
« Reply #5 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.