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

Popular posts from this blog

image - ClassNotFoundException when add a prebuilt apk into system.img in android -

I need to import mysql 5.1 to 5.5? -

Java, Hibernate, MySQL - store UTC date-time -