Typing localhost in browser should send me to main page of my PHP project -
i have php project has many files. have configured , it's working.
but want whenever type (only) localhost
in browser, should lead main page of project.
right now, scenario whenever that, shows php directory this:
index of / adddet.php client/ dbconn.php deldet.php login.php main.php
i assume using apache web server.
rename main.php index.php or adjust httpd.conf follows.
directoryindex index.html index.htm default.htm index.php index.pl main.php
you need use directoryindex directive under apache set default page other index.html or index.php.
Comments
Post a Comment