Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game. |
| 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. |
|
 |
09-07-2004, 01:01 PM
|
#1
|
|
Member
Registered: May 2003
Location: tswane
Distribution: Slackware 9.1
Posts: 113
Rep:
|
Setting up web clients
hi all
i want to ask a question ... that hopefully isn't stupid or laughed at or frowned upon ... so i'll get to it ...
can anyone that will know tell me how u go about setting up web client on a server for hosting and all - i am sure u don't use ur adduser in linux to setup X amount of clients ...
and is there any reason for having to use red hat for servers???? or doesn't it matter ???
well right now that boggles me a bit - if i might know the answer i can solve my other problems (maybe) myself.
thanx
G452
|
|
|
|
09-07-2004, 01:10 PM
|
#2
|
|
Moderator
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047
Rep:
|
I'm not sure what you mean by "web clients" are you wanting to run your own web host for people, charging money etc?
|
|
|
|
09-07-2004, 01:25 PM
|
#3
|
|
Member
Registered: May 2003
Location: tswane
Distribution: Slackware 9.1
Posts: 113
Original Poster
Rep:
|
web hosting yes ... clients yes - but more for experience than money -
i noticed most hosts has /wwwroot ----
|-home/client_folder
|-www/client_folder
linking the two is a public_html symlink from home/client_folder to www/client_folder
so as u see the home/client has all the info and email stuff and the www/client_folder keeps only the website and when u do the ftp login u get to the home/client_folder and if u follow the public_html symlink u can manage ur whole website - website and email managemnt happens thru seperate admin programs like omail and horde ...
that all i figured out - whot i can't figure is how u setup ur client so that u create both folders under home and www ur clients and putting a symlink between the two once ...
hope this is more clearer than the first time round ...
thanx
|
|
|
|
09-07-2004, 01:30 PM
|
#4
|
|
Moderator
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047
Rep:
|
You can create your default home directory layout by changing the skeleton directory:
/etc/skel
You shouldn't need any type of symlinks. If each user has their own domain then you will need to set up a virtual host for each domain. If you are just using the one domain then you can use user dirs:
http://httpd.apache.org/docs-2.0/howto/public_html.html
|
|
|
|
09-07-2004, 02:05 PM
|
#5
|
|
Member
Registered: May 2003
Location: tswane
Distribution: Slackware 9.1
Posts: 113
Original Poster
Rep:
|
so whot u r saying is that
i can have wwwroot/client_folder where ur files, settings and email accounts go and there is a public_html folder with the website inside ????
and all u do is then setup apache to see /wwwroot/client_folder/public_html when u type the URL from a browser and boom - u can see the website ??? and anything else works like it should concerning the email accounts and stuff ????
hopefully i got it right - hehehe
thanx for the info
now can i host on any system or should it be red hat ????? i don't like RH - i like slackware and as far as i got my stuff working as good on Slackware than RH ...
|
|
|
|
09-07-2004, 02:47 PM
|
#6
|
|
Moderator
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047
Rep:
|
You could create the home directories under /wwwroot but I would tend to create them under /home as that is more standard.
You could use slackware if you like - it is not distro dependant.
|
|
|
|
09-07-2004, 03:11 PM
|
#7
|
|
Member
Registered: May 2003
Location: tswane
Distribution: Slackware 9.1
Posts: 113
Original Poster
Rep:
|
|
|
|
|
09-10-2004, 02:10 PM
|
#8
|
|
Member
Registered: May 2003
Location: tswane
Distribution: Slackware 9.1
Posts: 113
Original Poster
Rep:
|
ok - now i have another problem - i installed apache compiled mysql and installed php - i configured everything like i should ( i hope ) and i can't get apache to work like i want -
i think it is a problem in my httpd.conf file but not sure - i have all the sites i want for now but somehow i keep getting "not authorized to view" errors ... i have read the apache docs and tried as much online content as i could and have done whot been said but no luck ...
any ideas -
thanx
|
|
|
|
09-10-2004, 06:31 PM
|
#9
|
|
Member
Registered: Aug 2004
Location: INDIA
Distribution: Various Distros
Posts: 203
Rep:
|
Hello,
Can you tell me which directories you are trying. i mean to say what location you are trying with your browser
http://yourmachine/cgi-bin
or like ward... if yes then make sure that the specified Relative directory have rwx permission for your user acoount.
Kirtimaan
|
|
|
|
09-11-2004, 02:16 AM
|
#10
|
|
Member
Registered: May 2003
Location: tswane
Distribution: Slackware 9.1
Posts: 113
Original Poster
Rep:
|
ok - never thought of the permission thing - does that mean i have to create user accounts ???
my dir's is like this - /wwwroot/home/client_folders
is it possible to look at my httpd.conf ??
thanx
BTW: whot is the diff between apache 1.3 and 2.0 ?????
Last edited by g452; 09-11-2004 at 11:55 AM.
|
|
|
|
09-11-2004, 12:24 PM
|
#11
|
|
Member
Registered: May 2003
Location: tswane
Distribution: Slackware 9.1
Posts: 113
Original Poster
Rep:
|
ok - i got by some way my virtual server to work but non of my pics and flash wants to show ??? whot is wrong ??
and i still wanna know if someone will look at my httpd.conf to see how i can make it better - i am sure there is something wrong with it still ...
thanx
|
|
|
|
| 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 04:08 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
|
|