On Sun, 08 May 2005 21:31, motivated wrote:
> 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.
because that file is not in the root of your html documents directory.

can you try putting the file in the public_html sub dir of your home dir.
and see if that works from the url http://localhost/~kelvyn/info.php--
C. S.


Reply via email to