LockedDirectory Browsing

Author
Dhosting.co.uk
Premium Member
2006/06/11 16:43:33 (permalink)

Directory Browsing

Something that’s always got me about hc is directory browsing

Have you noticed hc only shows the file name and no other info like date, size etc :)

Now after some research i've found the solution :)

Under the site settings in the IIS metabase hc puts
DirBrowseFlags="EnableDirBrowsing | EnableDefaultDoc"
Which enables browsing and displays the file name

Now this is what it should be
DirBrowseFlags="EnableDirBrowsing | DirBrowseShowDate | DirBrowseShowTime | DirBrowseShowSize | DirBrowseShowExtension | DirBrowseShowLongDate | EnableDefaultDoc"
The above gives you IIS default browsing which gives date, size etc etc

Suggestion HC make directory browsing show as the IIS defualt or give an option to configure what can be shown.

Anyways if that’s a bug which you've never been able to solve, fire up metaedit or open the metabase file in notepad and find the incorrect entry, you can search using the incorrect code HC puts in, then replace with the IIS standard code. Restart IIS and your done :)

Hope you enjoy this little fix guys and i hope hc add it into v7

Update. Corrected some bad english, must have had too many pints :)
__________________
Chris Daley
Dwebs Ltd Director :: Company No. 05603664 :: Phone No. (UK) 0870 803 4423
www.Dhosting.co.uk - Web Hosting, Domain Registration, Windows 2003 NLB Cluster with HC 6.1!!!
www.Dwebs.ltd.uk - Web Design & Other Services
My views are my own and not those of my company.
#1

4 Replies Related Threads

    HC Team
    Hosting Controller
    RE: Directory Browsing 2006/11/11 05:55:30 (permalink)
    It's being correctly set in HC7. All of the flags that you mentioned are being set and one can see the date, time, size, name of the files if directory browsing is enabled.


    ________________________
    HC Support Team
    support@hostingcontroller.com
    http://hostingcontroller.com
    +1-213-341-1419
    #2
    Dhosting.co.uk
    Premium Member
    RE: Directory Browsing 2006/11/11 06:13:59 (permalink)
    Thanks, its only a small change but stops clients moaning at me about why they cant see it the way they want to :)

    __________________
    Chris Daley
    Dwebs Ltd Director :: Company No. 05603664 :: Phone No. (UK) 0870 803 4423
    www.Dhosting.co.uk - Web Hosting, Domain Registration, Windows 2003 NLB Cluster with HC 6.1!!!
    www.Dwebs.ltd.uk - Web Design & Other Services
    My views are my own and not those of my company.
    #3
    HC Team
    Hosting Controller
    RE: Directory Browsing 2006/11/13 07:02:30 (permalink)
    But in HC7 its working the way they are asking for?

    ________________________
    HC Support Team
    support@hostingcontroller.com
    http://hostingcontroller.com
    +1-213-341-1419
    #4
    Dhosting.co.uk
    Premium Member
    RE: Directory Browsing 2006/11/15 02:16:29 (permalink)
    No idea at the min, waiting for a new test box to go live, once thats up i will put hc v7 on it for some very heavy testing

    __________________
    Chris Daley
    Dwebs Ltd Director :: Company No. 05603664 :: Phone No. (UK) 0870 803 4423
    www.Dhosting.co.uk - Web Hosting, Domain Registration, Windows 2003 NLB Cluster with HC 6.1!!!
    www.Dwebs.ltd.uk - Web Design & Other Services
    My views are my own and not those of my company.
    #5
    Jump to: