Newbie - Directory Set-up Question

This is a discussion on Newbie - Directory Set-up Question within the Apache Web Server forums, part of the Web Server and Related Forums category; I would like to run an FTP program (I was thinking about using WarFTP) and Apache on my machine. What ...


Go Back   Usenet Forums > Web Server and Related Forums > Apache Web Server

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 07-13-2003
JaiGuru
 
Posts: n/a
Default Newbie - Directory Set-up Question

I would like to run an FTP program (I was thinking about using WarFTP) and
Apache on my machine. What is the best way to set up the directories?

If I would like to update pages remotely, should my Web directories be
inside my FTP directories?

I would also like to share my Web space with a few friends, but I don't want
to give them access to all my Web files. Is there a way I can set-up the
FTP program so they only go into their FTP space, but they can still have a
public HTML file that will show up in a browser like an ISP does? (
Example: www.mydomain.com/~friend )

I would also like to have some sub-domains (like sub.mydomain.com ). Does
it matter where I put the directories for the sub-domain as long as they're
in my main HTML files?


  #2 (permalink)  
Old 07-14-2003
The Other Guy
 
Posts: n/a
Default Re: Newbie - Directory Set-up Question

On Sun, 13 Jul 2003 17:59:06 GMT, The Other Guy responded to a post
from "JaiGuru" <nomail@hotmail.com> who wrote in
alt.apache.configuration:

>I would like to run an FTP program (I was thinking about using WarFTP) and
>Apache on my machine. What is the best way to set up the directories?


I haven't used WarFTP but I m assuming that it is like most other FTP
programs.

You install the FTP program and then create users, and assign them
permissions to directories based on rules (can they read, write,
and/or delete files from that directory).

>If I would like to update pages remotely, should my Web directories be
>inside my FTP directories?


Again, you create a user for yourself and assign access and
permissions to the directories (and subdirectories by default). You
may want to create a user that has access to the Apache

>I would also like to share my Web space with a few friends, but I don't want
>to give them access to all my Web files. Is there a way I can set-up the
>FTP program so they only go into their FTP space, but they can still have a
>public HTML file that will show up in a browser like an ISP does? (
>Example: www.mydomain.com/~friend )


Set a UserDir directive (look at the docs for this), and then in the
FTP limit the user to his/her home DIR. You have to decide what you
want to do with CGI -- give them access to the current cgi-bin, create
their own cgi-bin in their home DIRs, or whatever.

>I would also like to have some sub-domains (like sub.mydomain.com ). Does
>it matter where I put the directories for the sub-domain as long as they're
>in my main HTML files?


Review the documentation on Virtual Hosts. You can put the VH
DocumentRoot to wherever you want, or you can try using the Alias
directive (again, check out the documentation on this.

My suggestion would be to just go ahead and install the FTP and play
with it and get to know it before allowing users (other than yourself)
to access your machine through it. But the only way to learn, I feel,
is to go ahead and do it.

HTH
TOG

--
../configure --prefix=~/zyterion
Not this guy or that guy, The Other Guy.

This spot may contain a satirical comment or comedic source,
and is meant to be funny. If you are easily offended, gullible
or don't have a sense of humour we suggest you read elsewhere.
  #3 (permalink)  
Old 07-16-2003
JaiGuru
 
Posts: n/a
Default Re: Newbie - Directory Set-up Question

Thank you for the advice. I was a little concerned that I'd dig a hole so
deep I couldn't climb out of it, but things are looking up.

So far, things are going better than I thought they would. I just know
something is going to jump up and bite me soon!


 


Thread Tools
Display Modes

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

vB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 11:56 PM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0