MAMP Directory listings

Since moving to lion and with a clean install of MAMP the default list of folders in htdocs has lost its styling.

When going to http://localhost:8888 and viewing the code

Index of /

Index of /

  • mysitefolder/
  • On Snow Leopard the directory listing was neatly styled with folder names folder icons and also showed the list in date order recent at the top. So it did look like this http://www.askdavetaylor.com/1-blog-pics/apache-crude-directory-listing.png

    Now its a plain un-styled page. Not a big thing but v. annoying.

    There is no index file in the htdocs folder so I assuming Apache is somehow displaying the above html code and some CSS somewhere to display the folder icons and the rest.

    Any Apache gurus know what is wrong and a fix?

    David


    dynamo mailing list
    email@hidden
    Update your subscriptions at:
    http://freewaytalk.net/person/options

Here’s a blog post that covers some of the fancy settings you can add: http://www.okayjacob.com/blog/web-talk/fancy-directory-listing-htaccess.html

Walter

On Aug 16, 2012, at 6:52 AM, David Owen wrote:

Since moving to lion and with a clean install of MAMP the default list of folders in htdocs has lost its styling.

When going to http://localhost:8888 and viewing the code

Index of /

Index of /

  • mysitefolder/
  • On Snow Leopard the directory listing was neatly styled with folder names folder icons and also showed the list in date order recent at the top. So it did look like this http://www.askdavetaylor.com/1-blog-pics/apache-crude-directory-listing.png

    Now its a plain un-styled page. Not a big thing but v. annoying.

    There is no index file in the htdocs folder so I assuming Apache is somehow displaying the above html code and some CSS somewhere to display the folder icons and the rest.

    Any Apache gurus know what is wrong and a fix?

    David


    dynamo mailing list
    email@hidden
    Update your subscriptions at:
    http://freewaytalk.net/person/options


dynamo mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Thanks

David

On 16 Aug 2012, at 13:32, Walter Lee Davis email@hidden wrote:

Here’s a blog post that covers some of the fancy settings you can add: http://www.okayjacob.com/blog/web-talk/fancy-directory-listing-htaccess.html

Walter

On Aug 16, 2012, at 6:52 AM, David Owen wrote:

Since moving to lion and with a clean install of MAMP the default list of folders in htdocs has lost its styling.

When going to http://localhost:8888 and viewing the code

Index of /

Index of /

  • mysitefolder/
  • On Snow Leopard the directory listing was neatly styled with folder names folder icons and also showed the list in date order recent at the top. So it did look like this http://www.askdavetaylor.com/1-blog-pics/apache-crude-directory-listing.png

    Now its a plain un-styled page. Not a big thing but v. annoying.

    There is no index file in the htdocs folder so I assuming Apache is somehow displaying the above html code and some CSS somewhere to display the folder icons and the rest.

    Any Apache gurus know what is wrong and a fix?

    David


    dynamo mailing list
    email@hidden
    Update your subscriptions at:
    http://freewaytalk.net/person/options


dynamo mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options


dynamo mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Hum…

The link says the default directory listing is like this: http://www.thewebsqueeze.com/wp-content/uploads/2009/12/default-directory-listing.png

The latest MAMP install is like this: http://www.printlineadvertising.co.uk/demo/freeway/index-list.png

…without last name, modified, size, description. I wonder if MAMP has cut a few things to favour buying the PRO version?

David

On 16 Aug 2012, at 13:32, Walter Lee Davis wrote:

Here’s a blog post that covers some of the fancy settings you can add: http://www.okayjacob.com/blog/web-talk/fancy-directory-listing-htaccess.html


dynamo mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

More likely that Apache has updated, and the blog refers to an older version. You might try the documentation at apache.org and see if this is just something new. Auto-index is really not recommended for production use, because it makes it easy to slip up and forget to put a manual index file in a folder you want to be private.

Walter


dynamo mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options