Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

536
Visualizações
cPanel vhost include file format - how to alias a directory?

I'm not a regular user of cPanel/WHM but one of my clients is hosting on it.

The site has some quite custom apache config needs.

I've managed to change the document root by editing the file at:

/var/cpanel/userdata/sitename/sitename.com

But this isn't in the standard apache format (built by Cpanel no doubt).

The format of the file is key : value pairs (a little like YAML).

Can anyone advice the correct syntax in this file to alias a number of directories?

In a typical Apache config I would use:

  Alias /cache/javascript   "/Volumes/WebServer/Projects/site.name/codebase/www/cache/js"
  Alias /cache/stylesheets  "/Volumes/WebServer/Projects/site.name/codebase/www/cache/css"
over 4 years ago · Santiago Trujillo
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda