Control Web Panel

WebPanel => CentOS-WebPanel Bugs => Topic started by: stkontra on April 13, 2017, 09:36:29 AM

Title: Default HTTP Test Page won't change
Post by: stkontra on April 13, 2017, 09:36:29 AM
Hi,
I have edited /usr/local/apache/htdos/index.html but when I add a new user it still diplays the original http test page.
Can anyone please advise what I am doing wrong here?
Thank you in advance.
Regards,
Steven
Title: Re: Default HTTP Test Page won't change
Post by: Administrator on April 13, 2017, 10:52:19 AM
each user has his own home folder so you need to check /home/USERNAME/public_html folder
Title: Re: Default HTTP Test Page won't change
Post by: stkontra on April 13, 2017, 02:07:44 PM
Hi Thanks for replying.
Yes, I know that, but I edited the master one so each new user should get the same new default page which is located /usr/local/apache/htdos/index.html , is that correct?
The problem is that eventhough I have edited the original master test page, new users still get the old one.
I hope it makes sense.
Regards,
Steven
Title: Re: Default HTTP Test Page won't change
Post by: pcready.cl on April 13, 2017, 02:38:21 PM
Hi Thanks for replying.
Yes, I know that, but I edited the master one so each new user should get the same new default page which is located /usr/local/apache/htdos/index.html , is that correct?
The problem is that eventhough I have edited the original master test page, new users still get the old one.
I hope it makes sense.
Regards,
Steven

same here!
Title: Re: Default HTTP Test Page won't change
Post by: devnull on April 13, 2017, 03:54:31 PM


I think you are editing the wrong file. A.f.a.i.k you should edit
the index.html located at /usr/local/cwpsrv/htdocs/resources/admin/tpl/new_account_tpl
Title: Re: Default HTTP Test Page won't change
Post by: stkontra on April 13, 2017, 06:09:33 PM


I think you are editing the wrong file. A.f.a.i.k you should edit
the index.html located at /usr/local/cwpsrv/htdocs/resources/admin/tpl/new_account_tpl

Devnul
You are a gentleman!!! You nailed it.
Works as expected!
Thanks