Where is my Users/-myusername-/Sites folder in 1.8.2?

Problems with the Mac OS X version of XAMPP, questions, comments, and anything related.

Where is my Users/-myusername-/Sites folder in 1.8.2?

Postby DJAY » 16. July 2013 20:18

I just installed version 1.8.2, and couldn't figure out how to navigate to my Sites folder via the localhost.

In my old version of XAMPP, I could go to http://localhost/~myusername/ and that would point to my Sites folder under the user "myusername". I'm pretty sure that was set up automatically in the old version - unless I forgot about setting up an alias or something.

Is this not in the new version?

If it is not, how can I create a reference to it such as http://localhost/sites/

Right now I have the main DocumentRoot changed to my Sites location as a temporary fix.

I tried creating an alias and a virtual host but to no avail. Not sure what I was doing wrong - I tried it quite a few ways.

Thanks in advance.
DJAY
 
Posts: 4
Joined: 16. July 2013 19:36
XAMPP Version: 5.5.19
Operating System: Mac OS X Mountain Lion

Re: Where is my Users/-myusername-/Sites folder in 1.8.2?

Postby gregorio.pellegrino » 22. July 2013 09:53

I have the same problem, does anyone know a solution?

Gregorio
gregorio.pellegrino
 
Posts: 3
Joined: 22. July 2013 09:51
XAMPP Version: 5.6.3
Operating System: Mac Os 10.6

Re: Where is my Users/-myusername-/Sites folder in 1.8.2?

Postby gregorio.pellegrino » 22. July 2013 13:35

Solved!

This worked for me:
open the file
Code: Select all
Applications/XAMPP/etc/httpd.conf

uncomment line 482
Code: Select all
Include etc/extra/httpd-userdir.conf

save and close the file

open the file
Code: Select all
Applications/XAMPP/etc/extra/httpd-userdir.conf

replace line 10 with
Code: Select all
UserDir Sites

replace line 10 with
Code: Select all
<Directory "/Users/*/Sites/">

save and close the file

restart Apache
that's all!
gregorio.pellegrino
 
Posts: 3
Joined: 22. July 2013 09:51
XAMPP Version: 5.6.3
Operating System: Mac Os 10.6

Re: Where is my Users/-myusername-/Sites folder in 1.8.2?

Postby DJAY » 12. September 2013 20:34

Awesome! Works great, thanks!
DJAY
 
Posts: 4
Joined: 16. July 2013 19:36
XAMPP Version: 5.5.19
Operating System: Mac OS X Mountain Lion


Return to XAMPP for Mac OS X

Who is online

Users browsing this forum: No registered users and 3 guests