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
  • 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. Unable to enable certain modules

Unable to enable certain modules

Scheduled Pinned Locked Moved Solved LAMP
12 Posts 3 Posters 1.1k Views 3 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.
  • girishG Offline
    girishG Offline
    girish
    Staff
    wrote on last edited by
    #3

    Re-reading the question... P is the proxy flag which requires mod_proxy. This is already enabled. mod_ssl is something else - https://httpd.apache.org/docs/current/mod/mod_ssl.html . Can you check or tell us why you need this?

    S 1 Reply Last reply
    0
    • girishG girish

      Re-reading the question... P is the proxy flag which requires mod_proxy. This is already enabled. mod_ssl is something else - https://httpd.apache.org/docs/current/mod/mod_ssl.html . Can you check or tell us why you need this?

      S Offline
      S Offline
      shrey
      wrote on last edited by
      #4

      @girish said in Unable to enable certain modules:

      mod_ssl is something else - https://httpd.apache.org/docs/current/mod/mod_ssl.html . Can you check or tell us why you need this?

      Hi @girish

      I need the mod_ssl because i found that the above mentioned RewriteRule to an https url doesn't work, unless mod_ssl is enabled.

      S 1 Reply Last reply
      0
      • S Offline
        S Offline
        shrey
        wrote on last edited by
        #5
        This post is deleted!
        1 Reply Last reply
        0
        • S shrey

          @girish said in Unable to enable certain modules:

          mod_ssl is something else - https://httpd.apache.org/docs/current/mod/mod_ssl.html . Can you check or tell us why you need this?

          Hi @girish

          I need the mod_ssl because i found that the above mentioned RewriteRule to an https url doesn't work, unless mod_ssl is enabled.

          S Offline
          S Offline
          shrey
          wrote on last edited by shrey
          #6

          @girish
          LAMP error log:

          No protocol handler was valid for the URL /about (scheme 'https'). If you are using a DSO version of mod_proxy, make sure the proxy submodules are included in the configuration using LoadModule.
          
          1 Reply Last reply
          0
          • S shrey

            When trying to enable the ssl module, using: a2enmod ssl, i'm running into this:

            
            root@451e4844-.......6e3e69d:/app/code# a2enmod ssl
            
            Considering dependency setenvif for ssl:
            Module setenvif already enabled
            Considering dependency mime for ssl:
            Module mime already enabled
            Considering dependency socache_shmcb for ssl:
            Enabling module socache_shmcb.
            Could not create /etc/apache2/mods-enabled/socache_shmcb.load: Read-only file system
            
            

            even though, the socache_shmcb module does seem to be available, as i can see it in /etc/apache2/mods-available/


            How to resolve this situation, as i need to enable proxying of bot requests to a prerendering service, in the .htaccess file?

            RewriteRule ^(.*)$ https://service.prerender.io/%{REQUEST_SCHEME}://%{HTTP_HOST}/$1 [P,L]

            J Offline
            J Offline
            joseph
            Staff
            wrote on last edited by
            #7

            @shrey said in Unable to enable certain modules:

            RewriteRule ^(.*)$ https://service.prerender.io/%{REQUEST_SCHEME}://%{HTTP_HOST}/$1 [P,L]

            Is this even correct? there are two ":" . not an expert but something seems off here

            S 1 Reply Last reply
            0
            • J joseph

              @shrey said in Unable to enable certain modules:

              RewriteRule ^(.*)$ https://service.prerender.io/%{REQUEST_SCHEME}://%{HTTP_HOST}/$1 [P,L]

              Is this even correct? there are two ":" . not an expert but something seems off here

              S Offline
              S Offline
              shrey
              wrote on last edited by shrey
              #8

              @joseph
              Checked again. The second ":" is used correctly.

              But, regardless of that, the exact URL that i'm currently using in the live RewriteRule is unambiguous (syntax: https://example.com/path1?param1=$1)

              1 Reply Last reply
              0
              • S Offline
                S Offline
                shrey
                wrote on last edited by
                #9

                @girish @joseph

                Is there a quick workaround for this, in case a permanent solution is not possible immediately?

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

                  @shrey I can publish a new package now with ssl mod enabled. Just building it now.

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

                    @shrey I pushed an update that enables it now

                    S 1 Reply Last reply
                    2
                    • girishG girish

                      @shrey I pushed an update that enables it now

                      S Offline
                      S Offline
                      shrey
                      wrote on last edited by
                      #12

                      @girish Thanks for the quick resolution!

                      1 Reply Last reply
                      2
                      • girishG girish has marked this topic as solved on
                      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