How to make new web folder outside from the default

Problems with the Linux version of XAMPP, questions, comments, and anything related.

How to make new web folder outside from the default

Postby Dar2007 » 28. August 2007 04:53

i'v install XAMPP for linux and the default folder for http is /opt/lampp/htdocs
i want to add a new folder that located /home/user1/htdocs/ and the address for the site will be mydomain.com/user1
and for the default mydomain.com
how can i add new folder outside from the default folder?


Thanks
Dar2007
 
Posts: 6
Joined: 11. March 2007 00:23

Postby skuipers » 28. August 2007 11:13

Add
Alias /user1 "/home/user1/htdocs"

<Directory "/home/user1/htdocs">
AllowOverride AuthConfig Limit
Order allow,deny
Allow from all
</Directory>

to /opt/lampp/etc/extra/httpd-xampp.conf.

Restart Apache after having saved the file.
skuipers
 
Posts: 99
Joined: 21. January 2005 16:27
Location: The Netherlands


Return to XAMPP for Linux

Who is online

Users browsing this forum: No registered users and 3 guests