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

powershell Start-Process exit code -1073741502 when used with Credential from a windows service environment -

twig - Using Twigbridge in a Laravel 5.1 Package -

c# - LINQ join Entities from HashSet's, Join vs Dictionary vs HashSet performance -