motivated wrote:
OK - looks like the default document root for your distro is /var/www/html, not /var/www. You can check in the config file, which I *hope* is at /etc/apache/httpd.conf - the line DocumentRoot maps the browser top level directory to the physical location on your machine.This works:
chown kelvin /var/www/html
Open up a browser: http://localhost/info.php
I'm guessing by the replies I recieved that its not the best way to do things, but it does work.
Sorry it took so long to click onto what was being said, guess I'm a bit slow.
If anyone would like to tell me why it doesn't work this way:
mkdir /var/www/web chown kelvin /var/www/web
Open up a browser: http://localhost/web/info.php
I would be interested.
Regards Kelvyn
To modify the above commands..
mkdir /var/www/html/web chown kelvin /var/www/html/web
Then http://localhost/web/info.php should be found.
Steve
