hi everyone,
ive installed a apache,php on my computer,
i changed my root to another folder, but there’s this error appearing when i access my localhost
Access forbidden!
You don't have permission to access the requested directory. There is either no index document or the directory is read-protected.
If you think this is a server error, please contact the webmaster.
Error 403
localhost
Fri Jul 18 22:52:34 2008
Apache/2.2.8 (Linux/SUSE)
i didnt use linux for a long time, i forgot my httpd.conf before,
how can i see the subfolders and files inside my webroot without seeing this error or warning, my php is working just fine
please help me 
Specific to the question, I’m not sure, but to view denied folders:
-
Open a terminal window
-
Issue the command su
-
When prompted, enter your root password
-
Now that you are logged in as root, use the cd foldername
command to enter a directory
-
Once in a directory, you can view the contents by issuing the command dir
or ls -l (those are Ls)
-
To view the contents of a file: cat filename.txt
Note: replace foldername and filename with the respective name of your folders and files.
Hope that helps. 
thanks for replying mate,
i can’t view my files and folders and i type http://localhost/
on my browser
i changed my webroot by editing the default-server.conf file
before, i can view my subfolders and files when i visit my http://localhost but now i got that error
by these time i can look at my files by typing the exact file /folder where it is
e.g
(/mysite/somefolder/file.php)
i can access these by typing
http://localhost/somefolder/file.php
if it were my settings before,
i can access that file by just going to localhost then
click the somefolder then click file php
but now it is not that way 