# Excluding folder from ssl redirection

**URL:** <https://community.letsencrypt.org/t/excluding-folder-from-ssl-redirection/118959>\
**Category:** Help\
**Created:** [April 9, 2020, 7:31pm UTC](https://community.letsencrypt.org/t/excluding-folder-from-ssl-redirection/118959 "2020-04-09T19:31:50Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![IPTVizion](https://sea3.discourse-cdn.com/letsencrypt/user_avatar/community.letsencrypt.org/iptvizion/32/38754_2.png) [@IPTVizion](https://community.letsencrypt.org/u/IPTVizion)\
**Post date:** [April 9, 2020, 7:31pm UTC](https://community.letsencrypt.org/t/excluding-folder-from-ssl-redirection/118959/1 "2020-04-09T19:31:50Z")

</div>

Hello, i jave installed letsencrypt on LAMP on my vps.  
I choosed to force redirect from http to https through the installation process.

How can I exclude a folder to being redirected to https?

Only 1 single folder.

Please help!

---

<div class="post-metadata">

**Author:** ![9peppe](https://sea3.discourse-cdn.com/letsencrypt/user_avatar/community.letsencrypt.org/9peppe/32/31596_2.png) [@9peppe](https://community.letsencrypt.org/u/9peppe)\
**Post date:** [April 9, 2020, 7:46pm UTC](https://community.letsencrypt.org/t/excluding-folder-from-ssl-redirection/118959/2 "2020-04-09T19:46:21Z")

</div>

what webserver are you using?

its manual will tell you how to do.

for apache it’s a matter of adding another `RewriteCond %{REQUEST_URI} !directory` (or something like that)

---

<div class="post-metadata">

**Author:** ![IPTVizion](https://sea3.discourse-cdn.com/letsencrypt/user_avatar/community.letsencrypt.org/iptvizion/32/38754_2.png) [@IPTVizion](https://community.letsencrypt.org/u/IPTVizion)\
**Post date:** [April 9, 2020, 8:02pm UTC](https://community.letsencrypt.org/t/excluding-folder-from-ssl-redirection/118959/3 "2020-04-09T20:02:43Z")

</div>

I have Ubuntu 18.04 installed through apache

Thank you so much for following up!

---

<div class="post-metadata">

**Author:** ![IPTVizion](https://sea3.discourse-cdn.com/letsencrypt/user_avatar/community.letsencrypt.org/iptvizion/32/38754_2.png) [@IPTVizion](https://community.letsencrypt.org/u/IPTVizion)\
**Post date:** [April 10, 2020, 12:58pm UTC](https://community.letsencrypt.org/t/excluding-folder-from-ssl-redirection/118959/4 "2020-04-10T12:58:35Z")

</div>

Any updates how to do it please?

---

<div class="post-metadata">

**Author:** ![9peppe](https://sea3.discourse-cdn.com/letsencrypt/user_avatar/community.letsencrypt.org/9peppe/32/31596_2.png) [@9peppe](https://community.letsencrypt.org/u/9peppe)\
**Post date:** [April 10, 2020, 3:32pm UTC](https://community.letsencrypt.org/t/excluding-folder-from-ssl-redirection/118959/5 "2020-04-10T15:32:42Z")

</div>

[https://httpd.apache.org/docs/2.4/mod/mod\_rewrite.html#rewritecond](https://httpd.apache.org/docs/2.4/mod/mod_rewrite.html#rewritecond)

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/letsencrypt/original/3X/c/a/ca6c06ea1ea201324bba7048c6841ce60236468d.png) [@system](https://community.letsencrypt.org/u/system)\
**Post date:** [May 10, 2020, 3:32pm UTC](https://community.letsencrypt.org/t/excluding-folder-from-ssl-redirection/118959/6 "2020-05-10T15:32:44Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
