Control Web Panel

WebPanel => Information => Topic started by: martexx on February 23, 2017, 08:06:46 PM

Title: location of letsencrypt vhost template wanted
Post by: martexx on February 23, 2017, 08:06:46 PM
hi

i am searching for the location of the letsencrypt ssl vhost template so that i can add a redirect to them
Title: Re: location of letsencrypt vhost template wanted
Post by: Sandeep on February 23, 2017, 09:15:51 PM
you can find the LE vhost in the dir :  /usr/local/apache/conf.d/
Title: Re: location of letsencrypt vhost template wanted
Post by: martexx on February 24, 2017, 11:56:26 AM
thanks, but thats not the template is it?

that is the current one is it not? I need the template so i can change it just like an normal vhost template such as domain.com:2031/index.php?module=vhost_tpl
Title: Re: location of letsencrypt vhost template wanted
Post by: Sandeep on February 24, 2017, 12:26:53 PM
thanks, but thats not the template is it?

that is the current one is it not? I need the template so i can change it just like an normal vhost template such as domain.com:2031/index.php?module=vhost_tpl
Le doesn't have any template
Title: Re: location of letsencrypt vhost template wanted
Post by: martexx on February 24, 2017, 12:50:55 PM
thanks for the info, does that mean that after an update the config would  get overwritten?

I just want to redirect all non ssl request and all non www requests to https://www. and the best way is vhost, but i dont want to repeat that all the time.

Do u know the location of default folder for new clients (skell) so that i could work with .htaccess by default?

I like cwp but it lacks some rather "easy" thngs.. do u know if its activly developed or not?
Title: Re: location of letsencrypt vhost template wanted
Post by: Igor S. on March 11, 2017, 09:21:03 AM
Hi, for .htaccess you can use
Code: [Select]
/usr/local/cwpsrv/htdocs/resources/admin/tpl/new_account_tpl/
Title: Re: location of letsencrypt vhost template wanted
Post by: martexx on March 13, 2017, 08:35:48 AM
thanks