Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

245
Views
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
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!