• Resolved aloretoc

    (@aloretoc)


    Hello,
    I need some help.
    I’m building an intranet where i work.
    I’m in need of pointing the Base Directory one to a NAS since all the size of all the information i need to display is too big and must remain in the NAS.

    I’m running a mac server as my web server.
    I got around to pointing the Base Directory 1 to my volume using
    /Applications/MAMP/htdocs/../../../Volumes/engineering/Website

    the plugin works flawlessly with any files that resides in the locations specified. My problem relies when i activate the directory feature.
    I’m able to see all the folders and files but im not able to go to any subfolder. Every time i click a folder to look at its content it just refreshes the same page im in.

    I have my iframe page which is a “File Away iFrame” template and contains
    (iframe leaves in mydomain/iframe/

    [fileup type=”table” name=”avid” base=”1″ paginate=”true” pagesize=”15″ searchlabel=”Search Files” theme=”whitestripes” heading=”News Download” textalign=”left” encryption=”on” directories=”on”]

    The page im accessing to view the files has a default template and contains

    [fileaframe source=”/iframe/” name=”avid”]

    What i noticed is if i do this same setup but using the predefined Base Directory
    /Applications/MAMP/htdocs/

    I’m able to browse the folders without any issues.
    I’m sure its the way im forcing it to look at my volume drive that resides in the server.

    Your help would be appreciated.

    https://ww.wp.xz.cn/plugins/file-away/

Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Author thomstark

    (@thomstark)

    It is refreshing to the same folder because you have “..” (double-dots) in your Base Directory. It’s a security feature to prevent users from modifying the html to navigate backwards to access directories they shouldn’t. That’s why you’re having the issue.

    Thread Starter aloretoc

    (@aloretoc)

    Is there a workaround? something i can do to make it work?

    Thread Starter aloretoc

    (@aloretoc)

    Because your plugin is perfect for what i need. Only thing is i cant have the data in the server. I need to pull the data from a different volume.

    Thread Starter aloretoc

    (@aloretoc)

    @thomstark
    i really need your help with this please.

    Thread Starter aloretoc

    (@aloretoc)

    well i figured it out.
    For anybody else running into the same issue as i was.

    Since im running an intranet on our own server i have full access to it.

    I made the default folder for the website to be the root.

    From there once the file away plugin is installed, set it to site root directory.
    from there you will be able to mount any other volume besides where the OS is installed.

    /Volumes/(name of your volume)
    even if you have it mounted via SMB or AFP.

    Plugin Author thomstark

    (@thomstark)

    I’m glad you figured it out. I had just finished making a list of changes in the code for you to make to allow “..”, and I was about to post it here for you, but yours is the better solution because it allows the security to remain in place.

    Thread Starter aloretoc

    (@aloretoc)

    Thank you for the support.

    This plugin kicks ass.

    Plugin Author thomstark

    (@thomstark)

    Really glad you found the solution you did. Hope you enjoy.

Viewing 8 replies - 1 through 8 (of 8 total)

The topic ‘Subfolders not opening’ is closed to new replies.