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


    Cloudron Forum

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular

    Solved LAMP App - How to enable mod_expires.c ?

    LAMP
    lamp
    2
    5
    253
    Loading More Posts
    • 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-arcus
      M-arcus last edited by girish

      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 Reply Quote 0
      • girish
        girish Staff last edited by

        @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 Reply Quote 2
        • M-arcus
          M-arcus last edited by

          @girish Thanks for the quick update.

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

          1 Reply Last reply Reply Quote 0
          • girish
            girish Staff last edited by

            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 Reply Quote 1
            • M-arcus
              M-arcus last edited by

              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 Reply Quote 0
              • First post
                Last post
              Powered by NodeBB