Results 1 to 6 of 6
If i install apache / mysql etc. on one of my pc's running say suse, when I am on the other pc if i type in the ip address 192.168.1.2 ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 10-17-2004 #1Just Joined!
- Join Date
- Oct 2004
- Location
- Scotland
- Posts
- 44
Apache
If i install apache / mysql etc. on one of my pc's running say suse, when I am on the other pc if i type in the ip address 192.168.1.2 for example i will get the server.............but...................
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?
- 10-17-2004 #2
- 10-18-2004 #3
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
- 10-18-2004 #4
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.
- 10-18-2004 #5
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?
- 10-19-2004 #6


Reply With Quote
