LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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


Reply
  Search this Thread
Old 03-19-2003, 01:01 AM   #1
-G-
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: Reputation: 15
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-
 
Old 03-19-2003, 01:06 AM   #2
mayankjohri
Member
 
Registered: Mar 2002
Location: INDIA
Distribution: Mandrake Linux 9.2, Knoppix 3.0
Posts: 158

Rep: Reputation: 30
how about mounting the remote system files on ur system using samba and then use them
 
Old 03-19-2003, 01:15 AM   #3
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613

Rep: Reputation: 69
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
 
Old 03-19-2003, 09:56 AM   #4
-G-
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: Reputation: 15
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-
 
  


Reply



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
pretty green apache question howarddevore Ubuntu 5 07-27-2005 08:47 AM
Not your regular GRUB question - just a short question for a fried MBR!! ziphem Linux - General 3 01-31-2005 01:51 PM
Apache FTP permissions question Seventh Linux - Newbie 1 05-20-2004 03:09 PM
Very short PERL question. Stingreen Programming 4 03-15-2002 09:59 AM
Permission question, (short) Stingreen Linux - General 5 03-14-2002 11:19 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:57 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
Open Source Consulting | Domain Registration