In the world of security we often do whats known as penetration tests on our networks. Sometimes professionals are hired and sometimes we try to do it ourselves as IT administrators. One thing which is often hard in either situation is actually organizing the data in a meaning full and easy to read format. In this post I will show you how to do this.
LiteSpeed web server uses the same Rewrite engine that Apache uses so most of the information you will find on the Internet relates to Apache and not LiteSpeed. One of the projects I am working on redirects all web traffic that hits each virtual host from HTTP to HTTPS without exception. Recently it came up that we needed to do some API testing with a company that wanted to test on a development server to HTTP and not HTTPS. So I needed to figure out how to exclude a specific directory from our HTTPS Redirect Rule on one specific virtual host which turns out is really easy. Below I describe how to send all traffic except one directory to HTTPS via the LiteSpeed web admin.