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

233
Views
Apache default configurarion file

I've installed LAMPP stack that includes Apache, from Apache documentation I understand that if I install Apache form package manager, the default configuration file will be /etc/apache2/apache2.conf, but if I install it from something else it may be in /opt (which is the case here, as I install it with LAMPP stack which locate config file in /opt/lampp/etc/httpd.conf).

now which one is the default config file for Apache? both of them write in the beginning of the file that it's the default page.

DocumentRoot in /opt/lampp/etc/httpd.conf is set to /opt/lampp/htdocs and DocumentRoot in /etc/apache2/apache2.conf is www/var/html, but when I hit http://localhost/ in URL it takes me to /opt/lampp/htdocs. Is that make me sure that the /opt/lampp/etc/httpd.conf is the default one?

and why there are two default config file, why there are /etc/apache2 folder at all,

I see this link that said he install XAMPP, and he doesn't has apache2 folder, is that mean that I install Apache alone after installing LAMPP?(maybe I do it, I really doesn't remember), and is there any bad harm if I delete that apache2 folder?

over 4 years ago · Santiago Trujillo
1 answers
Answer question

0

The DocumentRoot is a good indicator. If it's set to /opt/lampp/htdocs only in one of the files, this is the one being used.

over 4 years ago · Santiago Trujillo Report
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!