LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 01-07-2003, 03:58 AM   #1
banana2
Member
 
Registered: Dec 2002
Location: Sydney
Distribution: Debian
Posts: 55

Rep: Reputation: 15
Apache problem....


Last time i was plaing around with apache,

and my problem is...

lets just say we have user, test

and to see home directory of user we use.

http://192.168.0.1/~test

haw can i make http://test.192.168.0.1/

to see home directory of test.
 
Old 01-07-2003, 04:28 AM   #2
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 64
So what you are saying is you decided to double post?

Hmmmm, I'd have to think that might get you in trouble...

As for an answer, you might check the apache docs:
http://httpd.apache.org/docs/urlmapping.html

Or maybe:
http://httpd.apache.org/docs/mod/mod_userdir.html

If not there, you might hunt around the docs some more, or even perform a search.

And save yourself and the mods a headache and just don't double post anymore.

Cool
 
Old 01-07-2003, 03:17 PM   #3
rewt
Member
 
Registered: May 2001
Posts: 44

Rep: Reputation: 15
There are a number of ways to do what you want-

set this in your httpd.conf

DocumentRoot /var/www
change to
DocumentRoot /home/test

or you could add this line to your httpd.conf

Alias / /home/test

(never tried to alias a home dir but it should work If I am wrong please tell me)

I am sure there are other ways as well. If these answers don't help the apache site was always helpful to me- www.Google.com is still the best search engine too

Hope this helps,
rewt
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Strange apache trailing / problem - Slack-current, apache 1.3.33 vamp Linux - Networking 1 01-30-2005 08:28 PM
problem with apache 1.3.27 czarherr Linux - Software 2 01-10-2004 12:38 PM
RH9: PHP session problem (or Apache problem) fengcn Red Hat 0 12-01-2003 07:32 PM
perl problem? apache problem? cgi problem? WorldBuilder Linux - Software 1 09-17-2003 08:45 PM
apache benchmarks (apache v13 / apache v20) ; large differences between benchmarking markus1982 Linux - Software 0 02-08-2003 11:53 AM


All times are GMT -5. The time now is 04:38 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration