Forum Moderators: phranque
I would be appreciated if somebody with more experience could give me a hint. Thanks.
Paul
Welcome to WebmasterWorld!
Using NotePad or a similar simple text editor, create a plain-text (US-ASCII) file named ".htaccess" in that directory, or in any Web-accessible directory above it.
Place the following directive in that .htaccess file:
Options -Indexes
Another alternative is add a line of code to that .htaccess file to define the index.php file as the 'default index' for that directory. In this case, entering either http://192.168.1.2/myapp/index.php or http://192.168.1.2/myapp would display the index.php page:
DirectoryIndex index.php
See Apache core Options [httpd.apache.org] and Apache mod_dir DirectoryIndex [httpd.apache.org].
Jim