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

Offical apps | Community apps | Demo | Docs | Install
  1. Cloudron Forum
  2. Cubby
  3. Sharing a folder publicly redirects to login page

Sharing a folder publicly redirects to login page

Scheduled Pinned Locked Moved Solved Cubby
6 Posts 3 Posters 237 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.
  • humptyH
    humptyH
    humpty
    wrote last edited by
    #1

    If you share a "folder" via link, the link redirects to the login page. If you do the same share via link for an image, it'll display the image as expected. I'd like to share images + pdf files by uploading a folder (uncompressed) that can be accessed by visiting the URL. Is this the intended effect or a bug?

    P.S. Kudos on the file drop feature. Love it! Thanks! 👌

    1 Reply Last reply
    1
    • robiR
      robiR
      robi
      wrote last edited by
      #2

      does it work if you provide an index.html listing all the files?

      Conscious tech

      1 Reply Last reply
      0
      • humptyH
        humptyH
        humpty
        wrote last edited by
        #3

        I created an index.html file with the code below and placed it inside of the shared folder. It still redirects to the login page.

        <!DOCTYPE html>
        <html lang="en">
        <head>
            <meta charset="UTF-8">
            <meta name="viewport" content="width=device-width, initial-scale=1.0">
            <title>Shared Files</title>
        </head>
        <body>
            <h1>Shared Files</h1>
        
            <ul>
                <li><a href="image1.png">image1.png</a></li>
                <li><a href="image2.png">image2.png</a></li>
            </ul>
        </body>
        </html>
        
        1 Reply Last reply
        0
        • robiR
          robiR
          robi
          wrote last edited by
          #4

          Then it's not just the dir listing that is disabled.

          Conscious tech

          1 Reply Last reply
          1
          • nebulonN
            nebulonN
            nebulon
            Staff
            wrote last edited by
            #5

            Thanks for reporting, this seems a bug in the app routing. I will look into this.

            1 Reply Last reply
            2
            • nebulonN nebulon marked this topic as a question
            • nebulonN
              nebulonN
              nebulon
              Staff
              wrote last edited by
              #6

              Fixed now with next cubby release. Will go out later today

              1 Reply Last reply
              2
              • nebulonN nebulon has marked this topic as solved

              Hello! It looks like you're interested in this conversation, but you don't have an account yet.

              Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

              With your input, this post could be even better 💗

              Register Login
              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