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

Popular posts from this blog

c# - SharpSVN - How to get the previous revision? -

c++ - Is it possible to compile a VST on linux? -

url - Querystring manipulation of email Address in PHP -