As we know that if we have enabled directory listing then all files and folders will be listed if we do not have index.* or default.
I have used htaccess to auto prepend a php script thinking that it will run instead of the default directory script. but it works only for scripts like php and not for html or other extensions.
So here what i want is i want to do my custom directory listing but i don’t want to put an index.php in all folders with my custom code… whereas i want to autoprepend my custom directory listing script in htaccess but this is not working…
so i want to run my custom script for directory listing
[B]Besides, i am in a shared hosting so i cannot modify config files. htaccess is working.
so what is the way to do a custom directory listing?