Unable to browse /var/www/directory

Avi lists at avi.co
Mon Jul 18 10:34:55 UTC 2011


Amrit Pal Pathak wrote:

> Hey
>             I have installed apache2.I tested it by making a test.php
> file in /var/www and then browsed to "localhost/test.php" and it is
> working well. I have a directory in /var/www but i am unable to
> browse to it.When i browse to it ,browser shows only black page .
> 

What is in that directory, and what is the directory called? What are
the permissions of the files in the directory, and of the directory?

The easiest way to get this info is probably to do a

ls -ld /var/www/directory
ls -l /var/www/directory

Replacing in both instances 'directory' with the name of the directory
you created, and pasting the output in reply.

-- 
Avi




More information about the ubuntu-users mailing list