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

247
Visualizações
How do I change the absolute path in Apache?

Echo __DIR__ command; Returns C:\Server\domains\joomla\ similar to the path that Windows Explorer shows. How and what to change in the Apache settings so that the __DIR__ command returns the path __SERVER\domains\joomla\ So that hosted projects and sites in the \domains folder do not have to be reconfigured when transferring to another computer. To define the path in projects in the same way as in Windows: %APPDATA%/, %PROGRAMFILES%/. For the __DIR__ command to return %__SERVER%/ or __SERVER/. Very often we need to transfer projects from one disk to another disk in the Apache server, just as often we need to transfer several dozen projects from a PC to another user's PC. I want to automate the entire process so that projects DON't need to change the absolute paths of sites in configs.

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