Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/leekelleher/umbraco-https-redirect

[INACTIVE] An Umbraco package to switch a URL from HTTP to HTTPS (SSL)
https://github.com/leekelleher/umbraco-https-redirect

umbraco

Last synced: 11 days ago
JSON representation

[INACTIVE] An Umbraco package to switch a URL from HTTP to HTTPS (SSL)

Awesome Lists containing this project

README

        

# HTTPS Redirect for Umbraco

HTTPS Redirect provides a simple mechanism to switch a URL from HTTP to HTTPS (SSL) based on the document-type (alias), node id or template alias.

This package will add the following appSetting keys to your Web.config file...

* `HttpsRedirect:DocTypes` - **DocTypes** - a comma separated list of doc type aliases that should be served as HTTPS.
* `HttpsRedirect:PageIds` - **PageIds** - a comma separated list of page IDs that should be served as HTTPS.
* `HttpsRedirect:Properties` - **Properties** - a comma separated list of property-aliases and values; in the format `propertyAlias:value`.
* `HttpsRedirect:Templates` - **Templates** - a comma separated list of template aliases that should be served as HTTPS.
* `HttpsRedirect:StripPort` - **Strip Port** - used to strip out the port portion of the URL - use this when you use a non-standard port internally to your firewall (e.g. 81 or 444).
* `HttpsRedirect:UseTemporaryRedirects` - **Use Temporary Redirects** - boolean value indicating whether HTTPS redirects should be temporary (302).
* `HttpsRedirect:XForwardedProto` - **X-Forwarded-Proto** - boolean value indicating whether to use a load balancer with SSL termination that adds the X-Forwarded-Proto header.

---

## Getting Started

### Installation

> *Note:* HTTPS Redirect has been developed against **Umbraco v6.1.2** and will support that version and above.

HTTPS Redirect can be installed from either Our Umbraco or build manually from the source-code:

#### Our Umbraco package repository

To install from Our Umbraco, please download the package from:

>

#### Manual build

If you prefer, you can compile the project yourself, you'll need:

* Visual Studio 2012 (or above)

To clone it locally click the "Clone in Windows" button above or run the following git commands.

git clone https://github.com/leekelleher/umbraco-https-redirect.git umbraco-https-redirect
cd umbraco-https-redirect
.\build.cmd

---

## Contributing to this project

Anyone and everyone is welcome to contribute. Please take a moment to review the [guidelines for contributing](CONTRIBUTING.md).

* [Bug reports](CONTRIBUTING.md#bugs)
* [Feature requests](CONTRIBUTING.md#features)
* [Pull requests](CONTRIBUTING.md#pull-requests)

## Contact

Have a question?

* [Raise an issue](https://github.com/leekelleher/umbraco-https-redirect/issues) on GitHub

## License

Copyright © 2011 Lee Kelleher, Umbrella Inc, Our Umbraco

Licensed under the [MIT License](LICENSE.md)