• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

Directory Browsing

uniacid

Basic Pleskian
I'd like to know how I could edit the indexer that lists what ever files you have in a directory

http://clan-xtc.com/stuff/

for example, I want to change it and make my own indexer and have it list the actual file names with their extensions

(text.txt)
 
The best way to do this is with a ASP script that uses the FileSystemObject to list the files. Then you can have the files displayed any way you like, with icons, whatever file attributes you choose. You'd probably want to authenticate users browsing files and the script could do this too.

Couldn't you Plesk's File Manager? Domain users have access to this, as do resellers and of course admin ... and it shows the filename extensions:).

Cheers,
Julian
 
I know how I can do the script but what I want to know is where would I place the script so that it affects all sites being hosted, and why would I use the file man? I want it to be able to browse directory's not administering them
 
I always thought that the page you see when browsing directories was generated by IIS, not a script or template, in which case you can't do what you're trying to do the way you're trying to do it. But I may be wrong.

The usual way is to have a script that takes the current folder as a parameter. e.g. /utils/filemanager.asp?folder=/images

Then you would have to install the script on each site.
 
we used to did that with a php script when moving a server before Backup restore released.. Check hotscripts/php > something like directory indexing
 
Back
Top