LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
Search this Thread
Old 09-07-2004, 01:01 PM   #1
g452
Member
 
Registered: May 2003
Location: tswane
Distribution: Slackware 9.1
Posts: 113

Rep: Reputation: 15
Question 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
 
Old 09-07-2004, 01:10 PM   #2
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 64
I'm not sure what you mean by "web clients" are you wanting to run your own web host for people, charging money etc?
 
Old 09-07-2004, 01:25 PM   #3
g452
Member
 
Registered: May 2003
Location: tswane
Distribution: Slackware 9.1
Posts: 113

Original Poster
Rep: Reputation: 15
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
 
Old 09-07-2004, 01:30 PM   #4
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 64
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
 
Old 09-07-2004, 02:05 PM   #5
g452
Member
 
Registered: May 2003
Location: tswane
Distribution: Slackware 9.1
Posts: 113

Original Poster
Rep: Reputation: 15
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 ...
 
Old 09-07-2004, 02:47 PM   #6
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 64
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.
 
Old 09-07-2004, 03:11 PM   #7
g452
Member
 
Registered: May 2003
Location: tswane
Distribution: Slackware 9.1
Posts: 113

Original Poster
Rep: Reputation: 15
cool - i'll give it a try and i do hope i get it right - else it is back to the drawing board -

 
Old 09-10-2004, 02:10 PM   #8
g452
Member
 
Registered: May 2003
Location: tswane
Distribution: Slackware 9.1
Posts: 113

Original Poster
Rep: Reputation: 15
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
 
Old 09-10-2004, 06:31 PM   #9
kirtimaan_bkn
Member
 
Registered: Aug 2004
Location: INDIA
Distribution: Various Distros
Posts: 203

Rep: Reputation: 31
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
 
Old 09-11-2004, 02:16 AM   #10
g452
Member
 
Registered: May 2003
Location: tswane
Distribution: Slackware 9.1
Posts: 113

Original Poster
Rep: Reputation: 15
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.
 
Old 09-11-2004, 12:24 PM   #11
g452
Member
 
Registered: May 2003
Location: tswane
Distribution: Slackware 9.1
Posts: 113

Original Poster
Rep: Reputation: 15
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
 
  


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
Web clients (SSH, TelNet and IRC) Granden General 0 06-27-2005 03:24 AM
Can access web from clients but not server bnemesis Linux - Networking 2 10-03-2004 09:47 PM
Can I use Snort to see what web clients are seeing? linuxboy69 Linux - Security 3 09-10-2004 06:04 PM
setting up password protected web forms on an apache web server AZDAVE Linux - Security 3 07-07-2004 12:03 PM
Making Default Web and Mail clients? carlosinfl Linux - Software 0 07-01-2004 04:44 AM


All times are GMT -5. The time now is 05:20 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration