On apache web server Document root setup is a easy task which can be tedious some times because of some mistakes by ours..
Some Possible error
like.. server don't allow to access file from ur document root folder even if specified in Document root field..
Solution:
while creating ur document root don't forgot to change two fields in httpd.conf file
ex: If I want to set my document root as C:/myWebFiles/../web then necessary changes are:
1. set document root
DocumentRoot "C:/myWebFiles/../web"
2.
Change the same in Directory node also..
Imp::: If u made changes only in document root,then server will not allow to access document root unless u 'll make same change in
Note:-
Make sure you r not going to change the other
/* no change in this node */
Options FollowSymLinks
....
With these two changes its very easy to set document root for the Apache web server...
....#### enjoy with apache web server ####...

No comments:
Post a Comment