php - xampp showing folder empty in htdocs -


i have folder called myfiles in htdocs , folder contains file name home.php. when open http://localhost:8080/myfiles/ showing no files in it. after trying few things, somehow thought of changing file name home1.php , file being displayed. not able figure out this, why so. can put light on this.

home.php 1 of default index page show in apache settings.

if check xampp/apache/httpd.conf file find following code

<ifmodule dir_module>     directoryindex index.php index.pl index.cgi index.asp index.shtml index.html index.htm \                    default.php default.pl default.cgi default.asp default.shtml default.html default.htm \                    home.php home.pl home.cgi home.asp home.shtml home.html home.htm </ifmodule>  

if want remove home.php index need delete above code , need restart apache.


Comments

Popular posts from this blog

apache - PHP Soap issue while content length is larger -

asynchronous - Python asyncio task got bad yield -

javascript - Complete OpenIDConnect auth when requesting via Ajax -