Rafa Petit
New Pleskian
Al tener activadas las dos tipos de ip. Se produce un problema al compartir el fichero de configuracion vhost.conf.
Este fichero 'vhost.conf' es llamado dos veces desde httpd.conf. Primero desde la configuracion de la ipv4 y despues desde la configuracion de la ipv6.
Al ser llamado dos veces crea duplicados de configuracion y apache no admite esta configuracion.
En mi caso he modificado el httpd.conf para que lea un archivo vhosts_ipv4.conf y otro vhost_ipv6.conf dependiendo de donde lo necesite.
De esta forma puedo declarar demonios diferentes en mi caso WSGIDaemonProcess
Pero el problema lo tendre cuando este archivo se reescriba. asi que agradeceria saber donde puedo modificar la plantilla necesaria para que al reescribirse lo haga bien.
- - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Having enabled the two types of ip. A problem occurs when sharing the file vhost.conf configuration.
This file 'vhost.conf' is called twice from httpd.conf. First from the configuration of the ipv4 and then from the ipv6 settings.
When called twice creates duplicate configuration and apache does not support this configuration.
In my case I modified the httpd.conf to read a file and other vhost_ipv6.conf vhosts_ipv4.conf depending on where you need.
This way I can declare different demons in my case WSGIDaemonProcess
But the problem we'll have when this file is overwritten. so agradeceria know where I can change the required template for the rewritten get it right.
Este fichero 'vhost.conf' es llamado dos veces desde httpd.conf. Primero desde la configuracion de la ipv4 y despues desde la configuracion de la ipv6.
Al ser llamado dos veces crea duplicados de configuracion y apache no admite esta configuracion.
En mi caso he modificado el httpd.conf para que lea un archivo vhosts_ipv4.conf y otro vhost_ipv6.conf dependiendo de donde lo necesite.
De esta forma puedo declarar demonios diferentes en mi caso WSGIDaemonProcess
Pero el problema lo tendre cuando este archivo se reescriba. asi que agradeceria saber donde puedo modificar la plantilla necesaria para que al reescribirse lo haga bien.
- - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Having enabled the two types of ip. A problem occurs when sharing the file vhost.conf configuration.
This file 'vhost.conf' is called twice from httpd.conf. First from the configuration of the ipv4 and then from the ipv6 settings.
When called twice creates duplicate configuration and apache does not support this configuration.
In my case I modified the httpd.conf to read a file and other vhost_ipv6.conf vhosts_ipv4.conf depending on where you need.
This way I can declare different demons in my case WSGIDaemonProcess
But the problem we'll have when this file is overwritten. so agradeceria know where I can change the required template for the rewritten get it right.
Last edited: