php - How to change apache 2.2 htdocs folder out side of apache folder? -
hi want store php project folder out side apache folder. how can that?
i changed documentroot "c:/sbnproj" this.
after created 1 folder named mytest.php , write
<?php phpinfo(); ?>
this code on that. when try access http://localhost/
is working when type http://localhost/mytest.php not working. shows
forbidden don't have permission access /mytest.php on server.
why happening please me. thanks
you need trailing forward slash.
c:/sbnproj/
also, check paths... if getting root page it's working, make sure c:/sbnproj/foldername/ exists.
Comments
Post a Comment