I open a apache server on my small PC. And That I can click on it by http://localhost. After I visited cmd and employ ipconfig to understand my ip and then try to go to the site with this ip, it's unsuccessful.

"Forbidden

You don't have permission to access / on this server.
Apache/2.2.11 (Win32) PHP/5.2.17 Server at 169.243.***.** Port 80"

How do i solve this issue? I wish to use my phone to go to it and download some files. btw, my PC and make contact with were within the same network. Thanks!

  • Make certain you chmod'd your www directory to 775 if you're on linux (Ought to be automatically, but simply just in case you've some strange umask set).

  • Make certain you've index.php within your www directory

  • Make certain that Options -Indexes is within your .htaccess if you plan to exhibit directory listing

Have you got

Deny from all
Allow from localhost

Somewhere inside your httpd.conf or perhaps your .htaccess?