Results 1 to 6 of 6
Enjoy an ad free experience by logging in. Not a member yet? Register.
- Join Date
- Oct 2004
If i am setting up a PHP script where it asked for the base directory and the web directory what do i put in there is it /home/www/???? or what.
So what is the base directory and what it the web directory?
The best place to find out is open your httpd.conf and find your DocumentRoot this will tell you where the server looks for its web pages.
Most people place there webpages under /www not /var
wow, talk about the gentoo indoctrined, emerge apache defaults at /var/www ....... i need to try something new... or not... reguardless, that documentroot variable can be set to anywere you want, but for security purposes, you should probably not point it anywhere in /home /etc /lib or /bin.
Most distros use /var/www just easyer to have it on its own partition under /www. Plus i remember reading some where that /var is not for webpages?