apache listing directory contents
if i go to http://mysite.com/folder
then apache is listing all the files in 'folder'. i'm sure this must be a php ini setting or some similar. how do I change it? it would probably be useful to know that i don't have access to the apache conf file as it's on a shared hosting server. |
If the server is configured to allow the use of .htaccess, you can create a file .htaccess containing:
Code:
Options -Indexes Else create and upload an empty index.html (or index.php) file to that folder. |
All times are GMT -5. The time now is 07:26 AM. |