web services - Added a folder to www. Appears as Folder structure on browser -


a buddy of mind developed image viewer website. have web server contains www/webdev folder development work done.

the image viewer has own folder , file called viewer.php own images folder , css , scripts. want append folder webdev directory , see runs correctly. when type webdev/viewer should the webpage viewer (viewer.php)

the problem

when so, indexing of directories , files in webdev.

how come website displays directories instead of web page?

you need turn of indexing in .htaccess in root. put @ top.

options -indexes 

additionally can create .htaccess file in /webdev/viewer/ , in put this.

directoryindex viewer.php 

that should make default page /viewer.


Comments

Popular posts from this blog

twig - Using Twigbridge in a Laravel 5.1 Package -

jdbc - Not able to establish database connection in eclipse -

Kivy: Swiping (Carousel & ScreenManager) -