Jump to content
View in the app

A better way to browse. Learn more.

The Uniform Server Community

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Mini Server File Listing

Featured Replies

I have been reading the Mini Server Wiki Articles (Just finished 3, about to start 4) when I decided to try and enable folder listing in one of my folders. I did it by adding

<Directory "/www/list">
Options Indexes
</Directory>

to the .htaccess, unfortunately this did not work. It gave a 404 error saying it couldn't find localhost:80/list (the folder is full of random files so I can see a list).

 

My apache config is basically exactly the same as at the end of the Server 3 article, any help would be appreciated.

IPB Image

 

The mini-servers are reduced in functionality when enabling additional features you may need to add additional modules. The above is a typical case you need to add the module: mod_autoindex.so to folder \udrive\usr\local\apache2\modules

 

Apache loads this module using the following line:

LoadModule autoindex_module modules/mod_autoindex.so

 

Add the above to the end of section: Modules in file httpd.conf

Folder: \udrive\usr\local\apache2\conf

 

Restart the server so Apache loads the module.

 

In your .htaacess file change this:

 

Options Indexes

 

To:

 

Options Indexes

 

Note 1: not allowed in htaccess files.

 

Note 2: If you put .htaccess in the root folder “www” all folders bellows this will display a folder listing if no index page found.

 

Note 3. If you place the file in folder “list” only that folder and its sub-folders are targeted.

 

Alternative:

 

While in httpd.conf add the following to the end of section: Access control

 

Options Indexes

 

remove the line “Options Indexes “ from your .htaccess file

 

This will target only folder “list” and it’s sub-folders

 

If you wish to target the root and all sub-folders just add the line to this section as shown:

 

Options Indexes

AllowOverride All

Order allow,deny

Allow from all

 

One final note, to obtain mod_autoindex.so check out the support page

 

All the best

Ric :D

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

Account

Navigation

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.