Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place! |
| Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
03-19-2003, 01:01 AM
|
#1
|
|
LQ Newbie
Registered: Mar 2003
Location: North West USA
Distribution: Redhat 8.0 & 9.0, Mandrake 9.0 & 9.2, Fedora Core 1, Knoppix
Posts: 28
Rep:
|
Got pretty far, but just short of goal...Apache/FTP Question(s)
HowD all,
First things first, this site rules. I usually find all my questions have been asked and answered in a search of the forum...
...but
I was not able to find some info on the DocumentRoot for Apache. I want to change the current DR from /usr/local/apache/htdocs to something like /home/name/www. The reason for this is like a typical virtual domain name web hoster...you have a domain, you ftp your pages up, and bam, that's what's loaded. I tried using some various link arrangements...no dice. I'm obviously missing something here.
The second question I had is that I've installed vsftp and it works great. But...how can I have someone ftp into the linux box, and his/her home directory is actually two directories on a different box that is running that other OS? The HD on the linux box is small and I want to serve files on the computer that is running that other OS. I have installed SAMBA, and I can see the Samba server under the computers that are in the workgroup when viewing from that other computer. How can I actually share the files back and forth? Can I have files servered "Through" the linux box?
Any help is appreciated...TIA
-G-
|
|
|
|
03-19-2003, 01:06 AM
|
#2
|
|
Member
Registered: Mar 2002
Location: INDIA
Distribution: Mandrake Linux 9.2, Knoppix 3.0
Posts: 158
Rep:
|
how about mounting the remote system files on ur system using samba and then use them
|
|
|
|
03-19-2003, 01:15 AM
|
#3
|
|
Guru
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,611
Rep:
|
Since the 0 replies is gone, and you've already got your email, I will re-itterate my suggestion here
About 1/3 the way down my httpd.conf file I found Apache's DocumentRoot, you can edit that to whatever you want to be the "home directory" for apache, and that *should* work.
Cool
|
|
|
|
03-19-2003, 09:56 AM
|
#4
|
|
LQ Newbie
Registered: Mar 2003
Location: North West USA
Distribution: Redhat 8.0 & 9.0, Mandrake 9.0 & 9.2, Fedora Core 1, Knoppix
Posts: 28
Original Poster
Rep:
|
Quote:
Originally posted by MasterC
Since the 0 replies is gone, and you've already got your email, I will re-itterate my suggestion here
|
I'm not quite sure what you mean by your statement above. Maybe it's too early in the morning...need the java to kick in.
Quote:
About 1/3 the way down my httpd.conf file I found Apache's DocumentRoot, you can edit that to whatever you want to be the "home directory" for apache, and that *should* work.

Cool
|
Unfortunately it's not that simple. I already changed the httpd.conf file to reflect where I want the DocumentRoot to be (changed two lines in the .conf file for DocumentRoot). I'm starting to think this is a permission issue. I seem to "Not have permission" when I try to view the index.html file in the new DocumentRoot. I'm too new to Linux to really understand the permission issue...perhaps suggestions along that line? Sorry for such a bone head question.
As far as mounting the drives from the other computer running that other OS, I've tried that. I can't seem to mount them. I tried something like (I can't quite remember) mount -t //< computer name> < mount point> or some such thing. I think I had a user in there too somewhere. Anyway...no dice. I can't even look in the linux box from the computer running that other OS.
I got so close to where I wanted to be after doing a LAMP install. It actually worked...just not quite the way I wanted...so far.
Thanks again for all the comments and advice.
As always, TIA
-G-
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 09:55 PM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|