Home > TT - How To, TechTalk > Changing default directories of XAMPP on Ubuntu Jaunty Linux

Changing default directories of XAMPP on Ubuntu Jaunty Linux

Your Ad Here

This post deals with changing the default directory of Apache in XAMPP.

Changing the Apache Directory:

Step 1: sudo gedit /opt/lampp/etc/httpd.conf

Step 2: Search for [ DocumentRoot "/opt/lampp/htdocs" ] without the brackets

Step 3: Change it to [ DocumentRoot "/whatever/directory/you/want" ]. Don’t put a / at the end of the path

Step 4: Search for [ ]

Step 5: Change it to [ ]

Step 6: Copy the files in /opt/lampp/htdocs/ to /whatever/directory/you/want

Restart the XAMPP server, and you’re all ready to go.

Your Ad Here

Ashok TT - How To, TechTalk ,

  1. May 28th, 2009 at 21:36 | #1

    hey this is a very interesting article!

  1. No trackbacks yet.