<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[LAMP App - How to enable mod_expires.c ?]]></title><description><![CDATA[<p dir="auto">I am trying to enable the <code>expires</code> module for apache2.</p>
<p dir="auto">But if I try to do it via <code>/app/data/run.sh</code> or via the repair-mode, it tells me that the Apache2 mod folder is read-only.</p>
<p dir="auto">How do I enable this module?</p>
]]></description><link>https://forum.cloudron.io/topic/1662/lamp-app-how-to-enable-mod_expires-c</link><generator>RSS for Node</generator><lastBuildDate>Sun, 19 Jul 2026 22:04:38 GMT</lastBuildDate><atom:link href="https://forum.cloudron.io/topic/1662.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 30 Jan 2019 12:40:48 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to LAMP App - How to enable mod_expires.c ? on Fri, 06 Feb 2026 16:56:24 GMT]]></title><description><![CDATA[<p dir="auto">Unfortunately I get the same error with the updated package. Here is my current config:</p>
<p dir="auto"><strong>OpenID Client on Cloudron:</strong></p>
<pre><code>https://lampoidc.mydomain.com/secure/redirect_uri
&lt;clientId&gt;
&lt;secret&gt;
</code></pre>
<p dir="auto"><strong>/app/data/apache/app.conf:</strong></p>
<pre><code>ServerName localhost

&lt;VirtualHost *:80&gt;
    ServerName localhost
    UseCanonicalName Off
    DocumentRoot /app/data/public

    LogFormat "%{X-Forwarded-For}i %l %u %t \"%r\" %&gt;s %b \"%{Referer}i\" \"%{User-Agent}i\"" proxy
    CustomLog "|/bin/cat" proxy
    ErrorLog "|/bin/cat"

    &lt;Directory /app/data/public&gt;
        Options +FollowSymLinks
        AllowOverride All
        Require all granted
    &lt;/Directory&gt;

    # Do not remove this include. It's required for your app to see the Real IP
    Include "/app/code/apache/rpaf.conf"
    # This line can be commented out, if you do no require PHPMyAdmin Access
    Include "/app/code/apache/phpmyadmin.conf"

&lt;/VirtualHost&gt;

# OIDCRedirectURI is a vanity URL that must point to a path protected by this module but must NOT point to any content
OIDCRedirectURI https://lampoidc.mydomain.com/secure/redirect_uri
OIDCCryptoPassphrase somethingsecret

OIDCProviderMetadataURL https://my.mydomain.com/.well-known/openid-configuration
OIDCClientID &lt;clientId&gt;
OIDCClientSecret &lt;secret&gt;
</code></pre>
<p dir="auto"><strong>/app/data/public/.htaccess:</strong></p>
<pre><code>AuthType openid-connect
Require valid-user
</code></pre>
<hr />
<p dir="auto">Any ideas?</p>
]]></description><link>https://forum.cloudron.io/post/119802</link><guid isPermaLink="true">https://forum.cloudron.io/post/119802</guid><dc:creator><![CDATA[chmod777]]></dc:creator><pubDate>Fri, 06 Feb 2026 16:56:24 GMT</pubDate></item><item><title><![CDATA[Reply to LAMP App - How to enable mod_expires.c ? on Mon, 02 Feb 2026 11:27:02 GMT]]></title><description><![CDATA[<p dir="auto">Hello <a class="plugin-mentions-user plugin-mentions-a" href="/user/chmod777" aria-label="Profile: chmod777">@<bdi>chmod777</bdi></a><br />
I have rebased the <a href="https://git.cloudron.io/packages/lamp-app/-/tree/oidc-support?ref_type=heads" target="_blank" rel="noopener noreferrer nofollow ugc">oidc-support</a> branch against the <code>master</code> branch.<br />
You should be able to run <code>git pull</code> in the <code>oidc-support</code> branch now.</p>
]]></description><link>https://forum.cloudron.io/post/119551</link><guid isPermaLink="true">https://forum.cloudron.io/post/119551</guid><dc:creator><![CDATA[james]]></dc:creator><pubDate>Mon, 02 Feb 2026 11:27:02 GMT</pubDate></item><item><title><![CDATA[Reply to LAMP App - How to enable mod_expires.c ? on Mon, 02 Feb 2026 11:16:27 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/girish" aria-label="Profile: girish">@<bdi>girish</bdi></a>, I am not sure how to merge the update from the master to the oidc-support branch.</p>
<p dir="auto">would you be able to do that, so I can pull the branch again like I managed to do before?</p>
]]></description><link>https://forum.cloudron.io/post/119549</link><guid isPermaLink="true">https://forum.cloudron.io/post/119549</guid><dc:creator><![CDATA[chmod777]]></dc:creator><pubDate>Mon, 02 Feb 2026 11:16:27 GMT</pubDate></item><item><title><![CDATA[Reply to LAMP App - How to enable mod_expires.c ? on Fri, 30 Jan 2026 17:39:21 GMT]]></title><description><![CDATA[<p dir="auto">Can you try with the latest package 5.0.3? I think yourls needed a similar fix in apache.</p>
]]></description><link>https://forum.cloudron.io/post/119417</link><guid isPermaLink="true">https://forum.cloudron.io/post/119417</guid><dc:creator><![CDATA[girish]]></dc:creator><pubDate>Fri, 30 Jan 2026 17:39:21 GMT</pubDate></item><item><title><![CDATA[Reply to LAMP App - How to enable mod_expires.c ? on Fri, 30 Jan 2026 11:07:14 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/nebulon" aria-label="Profile: nebulon">@<bdi>nebulon</bdi></a>, so I finally got around to testing this:</p>
<p dir="auto">authentication works (nice!) but the redirect url appends port 80 (<code>https://lampoidc.mydomain.com:80/</code>) which results in an ssl error (SSL_ERROR_RX_RECORD_TOO_LONG)</p>
<p dir="auto">manualy removing the port then loads the page.</p>
<p dir="auto">ai suggested adding this to the app.conf virtual host:</p>
<p dir="auto"><code>UseCanonicalName Off</code><br />
<code>UseCanonicalPhysicalPort Off</code></p>
<p dir="auto">which did not help...</p>
<p dir="auto">any ideas?</p>
]]></description><link>https://forum.cloudron.io/post/119390</link><guid isPermaLink="true">https://forum.cloudron.io/post/119390</guid><dc:creator><![CDATA[chmod777]]></dc:creator><pubDate>Fri, 30 Jan 2026 11:07:14 GMT</pubDate></item><item><title><![CDATA[Reply to LAMP App - How to enable mod_expires.c ? on Wed, 29 Oct 2025 17:16:13 GMT]]></title><description><![CDATA[<p dir="auto">Yeah the idea was to just setup an oidc client credentials set with a redirect URI for the app, but not actually configuring the lamp stack to also use this. Same as with LDAP credentials.</p>
<p dir="auto">You can test the branch from <a href="https://git.cloudron.io/packages/lamp-app/-/tree/oidc-support?ref_type=heads" target="_blank" rel="noopener noreferrer nofollow ugc">https://git.cloudron.io/packages/lamp-app/-/tree/oidc-support?ref_type=heads</a> if you know your way around building a custom app.</p>
<p dir="auto">Once installed you have to create an OpenID client in your Cloudron dashboard with <code>/secure/redirect_uri</code> and put the following in /app/data/apache/app.conf:</p>
<pre><code>   # OIDCRedirectURI is a vanity URL that must point to a path protected by this module but must NOT point to any content
OIDCRedirectURI https://&lt;your.lampapp.domain&gt;/secure/redirect_uri
OIDCCryptoPassphrase somethingsecret

OIDCProviderMetadataURL https://&lt;my.example.com&gt;/.well-known/openid-configuration
OIDCClientID &lt;clientId&gt;
OIDCClientSecret &lt;secret&gt;
</code></pre>
<p dir="auto">Then restart the app and then you may put those two lines in any <code>.htaccess</code> within your <code>public/</code> folder which you want to protect from public access:</p>
<pre><code>AuthType openid-connect
Require valid-user
</code></pre>
]]></description><link>https://forum.cloudron.io/post/114578</link><guid isPermaLink="true">https://forum.cloudron.io/post/114578</guid><dc:creator><![CDATA[nebulon]]></dc:creator><pubDate>Wed, 29 Oct 2025 17:16:13 GMT</pubDate></item><item><title><![CDATA[Reply to LAMP App - How to enable mod_expires.c ? on Wed, 29 Oct 2025 17:01:28 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/nebulon" aria-label="Profile: nebulon">@<bdi>nebulon</bdi></a> any (easy) way I could beta test this?</p>
]]></description><link>https://forum.cloudron.io/post/114577</link><guid isPermaLink="true">https://forum.cloudron.io/post/114577</guid><dc:creator><![CDATA[chmod777]]></dc:creator><pubDate>Wed, 29 Oct 2025 17:01:28 GMT</pubDate></item><item><title><![CDATA[Reply to LAMP App - How to enable mod_expires.c ? on Wed, 29 Oct 2025 16:59:08 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/nebulon" aria-label="Profile: nebulon">@<bdi>nebulon</bdi></a> awesome, glad you like the idea! and thanks for working on it. I was surprised there was no "pre-built" solution for securing a website with a login - sounds like this could be it!</p>
<p dir="auto">Please do not pre-provision the client data. My use case would be with keycloak, so users are able to login there and access a members only website, as well as further services.</p>
<p dir="auto">I would like to have the possibility of users self registering - which is impossible with cloudron (atm).</p>
<p dir="auto">is there no way to auto-provision it with the cloudron data, but allow admins to edit the config? That way it would work "out-of-the-box" but could still be used with other IAMs.</p>
]]></description><link>https://forum.cloudron.io/post/114576</link><guid isPermaLink="true">https://forum.cloudron.io/post/114576</guid><dc:creator><![CDATA[chmod777]]></dc:creator><pubDate>Wed, 29 Oct 2025 16:59:08 GMT</pubDate></item><item><title><![CDATA[Reply to LAMP App - How to enable mod_expires.c ? on Wed, 29 Oct 2025 11:16:54 GMT]]></title><description><![CDATA[<p dir="auto">Using an example setup, this works fine. Now we just need to decide if we should auto-provision oidc credentials with a fixed redirect callback URI or not.</p>
<p dir="auto">If we do not pre-provision it, the Cloudron access controls won't be applied <img src="https://forum.cloudron.io/assets/plugins/nodebb-plugin-emoji/emoji/android/1f615.png?v=af5271e93de" class="not-responsive emoji emoji-android emoji--confused" style="height:23px;width:auto;vertical-align:middle" title=":/" alt="😕" /></p>
]]></description><link>https://forum.cloudron.io/post/114565</link><guid isPermaLink="true">https://forum.cloudron.io/post/114565</guid><dc:creator><![CDATA[nebulon]]></dc:creator><pubDate>Wed, 29 Oct 2025 11:16:54 GMT</pubDate></item><item><title><![CDATA[Reply to LAMP App - How to enable mod_expires.c ? on Wed, 29 Oct 2025 10:25:50 GMT]]></title><description><![CDATA[<p dir="auto">That might be a great idea if that works out. Just trying to get it up and running in the package. One question though is about the login redirect URI back to the app. Given that this package is very generic, I am not sure if we should define a route for callback on behalf of the app (which might make it hard to use depending on the actual app/code running in this lamp instance) OR the admin is required to manually add an OpenID client via the dashboard, instead of pre-provisioning that.</p>
<p dir="auto">Any input here might help to decide on how to go about this.</p>
]]></description><link>https://forum.cloudron.io/post/114560</link><guid isPermaLink="true">https://forum.cloudron.io/post/114560</guid><dc:creator><![CDATA[nebulon]]></dc:creator><pubDate>Wed, 29 Oct 2025 10:25:50 GMT</pubDate></item><item><title><![CDATA[Reply to LAMP App - How to enable mod_expires.c ? on Tue, 28 Oct 2025 17:21:40 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/girish" aria-label="Profile: girish">@<bdi>girish</bdi></a>, any updates on installing apache modules in the cloudron LAMP stack?</p>
<p dir="auto">I would like to try <a href="https://github.com/OpenIDC/mod_auth_openidc" target="_blank" rel="noopener noreferrer nofollow ugc">https://github.com/OpenIDC/mod_auth_openidc</a> in it</p>
]]></description><link>https://forum.cloudron.io/post/114528</link><guid isPermaLink="true">https://forum.cloudron.io/post/114528</guid><dc:creator><![CDATA[chmod777]]></dc:creator><pubDate>Tue, 28 Oct 2025 17:21:40 GMT</pubDate></item><item><title><![CDATA[Reply to LAMP App - How to enable mod_expires.c ? on Fri, 01 Feb 2019 10:26:45 GMT]]></title><description><![CDATA[<p dir="auto">A bunch of mods are already installed, but not activated.</p>
<p dir="auto">I would separate this into:</p>
<ul>
<li>Activating already installed mods</li>
<li>Installing and activating new monds</li>
</ul>
]]></description><link>https://forum.cloudron.io/post/2951</link><guid isPermaLink="true">https://forum.cloudron.io/post/2951</guid><dc:creator><![CDATA[M-arcus]]></dc:creator><pubDate>Fri, 01 Feb 2019 10:26:45 GMT</pubDate></item><item><title><![CDATA[Reply to LAMP App - How to enable mod_expires.c ? on Thu, 31 Jan 2019 17:25:48 GMT]]></title><description><![CDATA[<p dir="auto">Have to think about that because I think modules require not just configuration but also code to be installed via apt.</p>
]]></description><link>https://forum.cloudron.io/post/2947</link><guid isPermaLink="true">https://forum.cloudron.io/post/2947</guid><dc:creator><![CDATA[girish]]></dc:creator><pubDate>Thu, 31 Jan 2019 17:25:48 GMT</pubDate></item><item><title><![CDATA[Reply to LAMP App - How to enable mod_expires.c ? on Thu, 31 Jan 2019 10:07:35 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/girish" aria-label="Profile: girish">@<bdi>girish</bdi></a> Thanks for the quick update.</p>
<p dir="auto">Maybe you can symlink the apache2 folder to a writable folder inside <code>/app</code></p>
]]></description><link>https://forum.cloudron.io/post/2944</link><guid isPermaLink="true">https://forum.cloudron.io/post/2944</guid><dc:creator><![CDATA[M-arcus]]></dc:creator><pubDate>Thu, 31 Jan 2019 10:07:35 GMT</pubDate></item><item><title><![CDATA[Reply to LAMP App - How to enable mod_expires.c ? on Wed, 30 Jan 2019 19:11:15 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/m-arcus" aria-label="Profile: M-arcus">@<bdi>M-arcus</bdi></a> I have pushed a new release which enables the apache module.</p>
<p dir="auto">Currently, there is no way to enable modules on the fly. It has to be part of the package. Since expires is fairly standard, I added it to the package itself. Otherwise, we have to investigate what's the best approach for this.</p>
]]></description><link>https://forum.cloudron.io/post/2939</link><guid isPermaLink="true">https://forum.cloudron.io/post/2939</guid><dc:creator><![CDATA[girish]]></dc:creator><pubDate>Wed, 30 Jan 2019 19:11:15 GMT</pubDate></item></channel></rss>