LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (http://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Setting up web clients (http://www.linuxquestions.org/questions/linux-networking-3/setting-up-web-clients-227786/)

g452 09-07-2004 01:01 PM

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

david_ross 09-07-2004 01:10 PM

I'm not sure what you mean by "web clients" are you wanting to run your own web host for people, charging money etc?

g452 09-07-2004 01:25 PM

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

david_ross 09-07-2004 01:30 PM

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

g452 09-07-2004 02:05 PM

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

:D :D :D :D

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 ...

david_ross 09-07-2004 02:47 PM

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.

g452 09-07-2004 03:11 PM

cool - i'll give it a try and i do hope i get it right - else it is back to the drawing board -

:D :D :D :D :D

g452 09-10-2004 02:10 PM

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

kirtimaan_bkn 09-10-2004 06:31 PM

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

g452 09-11-2004 02:16 AM

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 :D :D :D

BTW: whot is the diff between apache 1.3 and 2.0 ?????

g452 09-11-2004 12:24 PM

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


All times are GMT -5. The time now is 08:29 AM.