Setting HTDOCS for the user directory

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

Setting HTDOCS for the user directory

Postby jlhaslip » 28. November 2011 00:35

XAMMP 1.7.7
Ubuntu 10.4

Issue: What I would like to do is have several users on a Linux Installation on my Laptop and have the HTDOCS folder recognized by the localhost as the HTDOCS folder in each user's home directory. I am pretty certain thaere is a Linux terminal command that will re-direct to each user's folders, but I do n ot know where tom find out the answer.

IE: user1 Htdocs folder contains their own files and using http:localhost/filename will use their files instead of the XAMMP HTDOCS folder files.

Thanks for answering.
Thanks for letting me visit...
jlhaslip
 
Posts: 10
Joined: 02. November 2006 08:02
Location: BC, Canada
Operating System: Ubuntu 10.4

Re: Setting HTDOCS for the user directory

Postby Sharley » 28. November 2011 00:41

Would you be so kind as to add this to your profile
XAMMP 1.7.7
Ubuntu 10.4
viewtopic.php?f=17&t=48626
Thanks. :)
User avatar
Sharley
AF Moderator
 
Posts: 3316
Joined: 03. October 2008 05:10
Location: Yeppoon, Australia Time Zone: GMT/UTC+10
Operating System: Win 7 Pro 32bit/XP Pro SP3

Re: Setting HTDOCS for the user directory

Postby JonB » 28. November 2011 02:25

I "never say 'never' " but I don't know if that's do-able with LAMPP - but I am going to think about it. LAMPP is not a 'standard' LAMP stack, so all bets are off.

There is an Apache module - mod_userdir - I think that might work.

http://httpd.apache.org/docs/2.0/mod/mod_userdir.html

If that doesn't work, you could probably make a hack with symbolic links and vhosts.
http://www.cyberciti.biz/tips/understan ... links.html

Good Luck
8)
User avatar
JonB
AF Moderator
 
Posts: 3210
Joined: 12. April 2010 16:41
Location: Land of the Blazing Sun
Operating System: Windows XP/7 - Fedora 15 1.7.7

Re: Setting HTDOCS for the user directory

Postby jlhaslip » 29. November 2011 05:57

XAMMP 1.7.7
Ubuntu 10.4
info set to my profile, thanks for pointing that out. :)

And thanks JonB for those references.

I think I have used symbolic links in the past. I'll try that first and let you know if it works.
Thanks for letting me visit...
jlhaslip
 
Posts: 10
Joined: 02. November 2006 08:02
Location: BC, Canada
Operating System: Ubuntu 10.4

Re: Setting HTDOCS for the user directory

Postby Sharley » 29. November 2011 05:59

Thanks for the info in your signature but in your profile there are pre-made settings that when selected will display the info in the same place as JB and I display it - in the info panel under your Location BC Canada.

They are down near the bottom of this profile page:
ucp.php?i=164

Best wishes. :)
User avatar
Sharley
AF Moderator
 
Posts: 3316
Joined: 03. October 2008 05:10
Location: Yeppoon, Australia Time Zone: GMT/UTC+10
Operating System: Win 7 Pro 32bit/XP Pro SP3


Return to XAMPP for Linux

Who is online

Users browsing this forum: No registered users and 6 guests