LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Can you put a website anywhere on any drive? (https://www.linuxquestions.org/questions/linux-newbie-8/can-you-put-a-website-anywhere-on-any-drive-390893/)

kuplo 12-09-2005 09:21 AM

Can you put a website anywhere on any drive?
 
I've got them all on a stock suse 9.3 system in the htdocs folder, but lets say that I fill up that 200gb, can I make a directory on hdb named www and start putting new ones there and adjusting their directory in the virtual host file, or must they all be in one directory no matter what?

Could I even put them in each users public_html directory so lets say, someone is using example.com could I use the directory of /home/user_name/public_html and have them show up on the web?

Im just thinking that if I can put them in the home public_html directory I dont have to think about who's site it is since their name will be in home directory.

itz2000 12-09-2005 09:58 AM

I didn't understand much of what u said, but if you want to set up a related web through your computer install apache.

Google it up.

cs-cam 12-09-2005 10:02 AM

Yeah dude, that'll be fine. As long as you put the corrent paths in your httpd.conf you won't have any problems :)

kuplo 12-09-2005 11:22 AM

Now what about installing webalizer for each virtual host as well as phpmyadmin for each virtual host, I tried to install phpmyadmin in a home user directory and it did nothing but come back with inconsistancies so I cancelled.

Is there no way to get a stats program and or a phpmyadmin program to go into each users public_html/domain name directory automatically. I thought I'd just install it to /etc/skel that way everytime I make a user it will end up in their directory. Or maybe just intall it in its proper htdocs folder then copy it to the /etc/skel directory so that the user can configure it. Im totally lost on these two.

itz2000 12-09-2005 12:41 PM

I think it comes with apache...

Anyways, don't forget to install mysql first

Code:

yum -y install mysql
phpmyadmin sourceforge site
http://sourceforge.net/projects/phpmyadmin/


I would have install it myself to check what u need to do, but I'm really busy ATM, sorry :(.


All times are GMT -5. The time now is 07:49 AM.