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?
varies depending on where you installed it, but should be
please try to minimise the overuse of punctuation, its really not nessicary
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 :wink:
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?
especialy in gentoo, var is used for workspace during portage compiles, unless im mistaken, i doubt its anything serious, but opens some possibilites especialy for large compiles.