Re: Apache VirtualHost Config Tool management

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, 2023-04-27 at 12:53 +0200, Carlos García Gómez wrote:
> Hello,
>  
> I am looking for a tool that makes it easier for me to manage the all
>  virtual hosts that I have configured.
>  
> Some tool that allows me to have a database of all the virtual hosts
> and that allows me to edit their configuration at any given time.
>  
> Is there anything implemented in LDAP, MySQL or some library that
> allows me to parse the configuration and edit it with some frontend?
>  
> I know I'm looking for something complicated but thanks for your
> comments


There are several modules that come with Apache httpd for simplifying
vhost config without introducing any third-party tools.

What I personally use is mod_macro to define a standard vhost layout,
and then all I need in my main configuration file is:

Use VHostMacro domainnamehere.com

Documentation here:
https://httpd.apache.org/docs/2.4/mod/mod_macro.html along with an
example of how you'd use this for vhosts.

Another option is mod_vhost_alias -
https://httpd.apache.org/docs/2.4/mod/mod_vhost_alias.html - I'm not a
big fan, but some people like it.



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx





[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux