Skip to content

Instantly share code, notes, and snippets.

Password for Web Server Content

This is a relatively easy way to password-protect anything being pulished via a web server (e.g. Apache or httpd)

Overview

  1. Configure web server to allow for local config files
  2. Create .htaccess file
  3. Create .htpassword file
  4. Restart Web server
  5. Test
dummy file
So we get a sensible name
@cburkins
cburkins / .RainMeter Custom Skins
Last active April 30, 2017 11:22
RainMeter New Custom Skins
This is a dummy file so that our gist has a sensible name
@cburkins
cburkins / .Service Portal Widget for Catalog Search
Last active May 27, 2021 20:05
Service Portal Widget for Catalog Search
Dummy file so that gist has a sensible name
If you name your new widget as "ToDo", then the
test page for the Widget is /sp?id=todo
e.g. https://dev21737.service-now.com/sp?id=todo
Gist that is referenced in Lab PDF: https://gist.github.com/patrickw14
This gist is a version of same (I added comments within the code)
Dummy file so that gist has a decent name
If you name your new widget as "Quick Order", then the
test page for the Widget is /sp?id=quick_order