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.

Apache security question

Featured Replies

Hi,

 

I just installed Uniform Server to Windows Server. This server hosts a web page that is available from internet.

 

If I open web browser and type "http://server_ip" it opens the "index of" page and shows one folder (web page folder that this server is hosting) and favicon file. I want to restrict access to this root directory and want to allow access only to this http://server_ip/hosted_web_page. How I can do this?

  • Author

I figured it out.

 

I added "Options -Indexes" to httpd.conf -file in www -folder and now it says "You don't have permission to access / on this server".

Restricting access to root folder www is configurable from the server configuration menu. First undo any changes you have made httpd.conf these are not required.

 

Read the manual page; Root folder www – Access (general_access_www.html) it provides details for setting root folder access and restricting access using a name/password.

 

View manual page:

From folder UniServer run help.exe – This opens manual in default browser

Left menu click item General – Opens general page

Left menu click item Root folder www Access

All the best

Ric

  • Author

Restricting access to root folder www is configurable from the server configuration menu. First undo any changes you have made httpd.conf these are not required.

 

Read the manual page; Root folder www – Access (general_access_www.html) it provides details for setting root folder access and restricting access using a name/password.

 

View manual page:

From folder UniServer run help.exe – This opens manual in default browser

Left menu click item General – Opens general page

Left menu click item Root folder www Access

All the best

Ric

 

Hi,

 

I tried that already but after that I can no longer access the web page under the root folder anymore.

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.