This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
Pages: [1]
1
CentOS 7 Problems / Re: 403 Forbidden Error on Virtual Host
« on: January 13, 2022, 06:08:02 PM »
The proper way to resolve is create the template and then link that template with the domain or subdomain. I had to do this to resolve my problem with two subdomains with specific configuration (proxypass and proxypass reverse).
In mi case:
WebServers Vhost Template Editor:
1. Create a configuration file (domain/subdomain.stpl - domain/subdomain.tpl (stpl= https; tpl=http))
2. Put on each file the content of specified vhost configuration.
WebServers Domain conf:
1. Select the username.
2. Select domain or subdomain.
3. Select webserver configuration (on my case I use apache->php-cgi).
4. Select Apache default vhost template type (on my case "default")
5. Select Apache default vhost template (file created on web server vhost).
On this way the rebuild take the custom configuration without edit the vhost file directly.
In mi case:
WebServers Vhost Template Editor:
1. Create a configuration file (domain/subdomain.stpl - domain/subdomain.tpl (stpl= https; tpl=http))
2. Put on each file the content of specified vhost configuration.
WebServers Domain conf:
1. Select the username.
2. Select domain or subdomain.
3. Select webserver configuration (on my case I use apache->php-cgi).
4. Select Apache default vhost template type (on my case "default")
5. Select Apache default vhost template (file created on web server vhost).
On this way the rebuild take the custom configuration without edit the vhost file directly.
Pages: [1]