Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
  • Search
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

Cloudron Forum

Apps | Demo | Docs | Install
  1. Cloudron Forum
  2. LAMP
  3. LAMP App - How to enable mod_expires.c ?

LAMP App - How to enable mod_expires.c ?

Scheduled Pinned Locked Moved Solved LAMP
lamp
8 Posts 4 Posters 1.5k Views 4 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M-arcusM Offline
    M-arcusM Offline
    M-arcus
    wrote on last edited by girish
    #1

    I am trying to enable the expires module for apache2.

    But if I try to do it via /app/data/run.sh or via the repair-mode, it tells me that the Apache2 mod folder is read-only.

    How do I enable this module?

    1 Reply Last reply
    0
    • girishG Offline
      girishG Offline
      girish
      Staff
      wrote on last edited by
      #2

      @M-arcus I have pushed a new release which enables the apache module.

      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.

      1 Reply Last reply
      2
      • M-arcusM Offline
        M-arcusM Offline
        M-arcus
        wrote on last edited by
        #3

        @girish Thanks for the quick update.

        Maybe you can symlink the apache2 folder to a writable folder inside /app

        1 Reply Last reply
        0
        • girishG Offline
          girishG Offline
          girish
          Staff
          wrote on last edited by
          #4

          Have to think about that because I think modules require not just configuration but also code to be installed via apt.

          1 Reply Last reply
          1
          • M-arcusM Offline
            M-arcusM Offline
            M-arcus
            wrote on last edited by
            #5

            A bunch of mods are already installed, but not activated.

            I would separate this into:

            • Activating already installed mods
            • Installing and activating new monds
            1 Reply Last reply
            0
            • jeauJ jeau referenced this topic on
            • C Offline
              C Offline
              chmod777
              wrote last edited by
              #6

              @girish, any updates on installing apache modules in the cloudron LAMP stack?

              I would like to try https://github.com/OpenIDC/mod_auth_openidc in it

              1 Reply Last reply
              0
              • nebulonN Away
                nebulonN Away
                nebulon
                Staff
                wrote last edited by
                #7

                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.

                Any input here might help to decide on how to go about this.

                1 Reply Last reply
                0
                • nebulonN Away
                  nebulonN Away
                  nebulon
                  Staff
                  wrote last edited by
                  #8

                  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.

                  If we do not pre-provision it, the Cloudron access controls won't be applied 😕

                  1 Reply Last reply
                  0
                  Reply
                  • Reply as topic
                  Log in to reply
                  • Oldest to Newest
                  • Newest to Oldest
                  • Most Votes


                  • Login

                  • Don't have an account? Register

                  • Login or register to search.
                  • First post
                    Last post
                  0
                  • Categories
                  • Recent
                  • Tags
                  • Popular
                  • Bookmarks
                  • Search