Bonaval Multimedia

Incluir directivas en la configuracion de un servidor web en Plesk - Including Directives into Web Server Configuration File

MENU

  • Inicio
  • Empresa
    • Quienes somos
    • Noticias
    • KB: Blog IT
  • Soluciones
    • Nuestras soluciones
    • Aplicaciones a medida
    • Soluciones web para la alimentación y congelado
    • Soluciones web para el turismo y los hoteles
    • Comercio on line
    • Movilidad: webs y apps
    • Sistemas GIS
    • Media: Vídeo Streamer, DVD
    • SEO - Posicionamiento en buscadores
    • Diseño y desarrollo web en Joomla CMS
    • Sistemas Expertos: Audiencias TV
  • Servicios
    • Qué ofrecemos
    • Alojamiento Simple y Avanzado
    • Servidor Virtual
    • Atención al cliente
  • Contacto
  • Home
  • KB
  • Sistemas
  • Plesk
  • Incluir directivas en la configuracion de un servidor web en Plesk - Including Directives into Web Server Configuration File

Incluir directivas en la configuracion de un servidor web en Plesk - Including Directives into Web Server Configuration File

http://forum.parallels.com/pda/index.php/t-65729.html
Including Directives into Web Server Configuration File
You can include domain-specific Apache configuration directives into web server configuration file.

In Plesk each domain has virtual hosts configuration stored in a separate file httpd.include.

On all Linux systems, this file is located in the directory /var/www/vhosts/<domain-name>/conf/.

On FreeBSD systems, this file is located in the directory /usr/local/psa/home/vhosts/<domain-name>/conf/.

If you upgraded from Plesk version 7.5.4 or earlier, try looking for this file in the directory /home/httpd/vhosts/<domain-name>/conf/.

Note: you can change the location of virtual host directories using the transvhosts.pl utility, which is located either in /usr/local/psa/bin/ or /opt/psa/bin/ directory, depending on your operating system.

This file is overwritten each time the virtual host configuration is changed, thus any manual alterations made to the file are discarded. To use custom directives or redefine those inserted by Plesk, you need to create the files vhost.conf and/or vhost_ssl.conf with necessary directives in the directory /path_to_vhosts/<domain-name>/conf/ for a domain, and /path_to_vhosts/<domain-name>/subdomains/<subdomain-name>/conf/ for a subdomain.

If any of these files exist by the time the main configuration file is generated, Plesk inserts the appropriate Include directive into the HTTP and/or HTTPS virtual host context respectively. For security reasons, only root can create the vhost.conf and vhost_ssl.conf files.

For the changes to take effect, you need to run the following command:
/opt/psa/admin/sbin/websrvmng --reconfigure-vhost --vhost-name=<domain_name>
.
11 Diciembre 2009 | Plesk
  • Anterior

Categorías [KB]

  • Aplicaciones y frameworks (1)
  • Desarrollo web (14)
    • Wordpress (9)
    • Joomla (16)
    • Prestashop (1)
  • Tips & Tricks (5)
  • Cheats (9)
  • Diseño (5)
  • Legal (5)
    • Protección de datos (0)
  • Marketing y publicidad (1)
  • RRHH (1)
  • Redes Sociales (3)
  • Seo (4)
  • Sistemas (2)
    • Bases de datos (0)
      • Mysql (6)
    • Seguridad (1)
    • Correo (9)
    • Debian (4)
    • Plesk (4)
    • Redes (11)
    • Servidor web (5)
      • Apache (6)
  • Sistemas Operativos (1)
    • Linux (18)
    • Windows (4)
 
  • Aviso legal
  • Noticias
  • File Store
  • KB
  • Kit Digital
  • Polícita de Privacidad
  • Política de cookies