Hemtah Posted April 30, 2005 Report Share Posted April 30, 2005 Hi, Could someone tell me how best i can setup my apache server like DocumentRoot /var/www/html where documentRoot must be located, how to add a password on my mysql db. links or anwser are welcome thank you. Quote Link to comment Share on other sites More sharing options...
Qchem Posted May 1, 2005 Report Share Posted May 1, 2005 I'm not entriely sure what you're asking here... Doesn't the apache package for mandrake automatically have the DocumentRoot at that location? Quote Link to comment Share on other sites More sharing options...
Hemtah Posted May 1, 2005 Author Report Share Posted May 1, 2005 My Question what best config do you recommand? Do i have to leave DocumentRoot /var/www/html is that location or on /home/... Thank you Quote Link to comment Share on other sites More sharing options...
Qchem Posted May 2, 2005 Report Share Posted May 2, 2005 It doesn't really matter where your DocumentRoot is, I prefer leaving it as /var/www/html - just do whatever is best for you! Quote Link to comment Share on other sites More sharing options...
adamw Posted May 2, 2005 Report Share Posted May 2, 2005 Except that if you put it in /home , you're going to have to have apache run as a user with rw access to your home directory, which is not an especially good idea. Quote Link to comment Share on other sites More sharing options...
aioshin Posted May 3, 2005 Report Share Posted May 3, 2005 you can leave it as default /var/www/html, or did you create a separate partition of your /var? if not, you can make a directory for your httpdoc in your /home, like, /home/www and make sure the owner of /home/www is apache Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.