Jump to:

23461 Posts in 18908 Topics by 2878 members

General Questions

SilverStripe Forums » General Questions » How to download rar, psd, ai and so on

General questions about getting started with SilverStripe that don't fit in any of the categories above.

Moderators: martimiz, Sean, biapar, Willr, Ingo, swaiba, simon_w

Page: 1
Go to End
Author Topic: 1004 Views
  • benni91
    Avatar
    Community Member
    72 Posts

    How to download rar, psd, ai and so on Link to this post

    Hi everyone,

    I allowed to upload .rar, .psd and .ai files. This works fine.
    But when i'll download them, the site always redirects me to an "error 403 page - access denided".

    Why?

    How can i fix this problem and allow to download every uploaded file?

    Can someone help me ?

    Thx Benni

  • zenmonkey
    Avatar
    Community Member
    528 Posts

    Re: How to download rar, psd, ai and so on Link to this post

    I'd first check the ownership/permissions on the file. IF its Linux system make its 766

  • Invader_Zim
    Avatar
    Community Member
    141 Posts

    Re: How to download rar, psd, ai and so on Link to this post

    Also, have a look into your /assets/.htacess file (/assets/web.config if you are on IIS)

    There's a description in it on how to whitelist additional file types for download.

    Cheers

  • benni91
    Avatar
    Community Member
    72 Posts

    Re: How to download rar, psd, ai and so on Link to this post

    doesn't work
    i modified the web.config but i think that takes no effect because my webspace told me this "Apache/2.2.17 Server at hobedesign.de Port 80"

    Apache. But i can't find a .htacess file

    what could i do ?

  • Invader_Zim
    Avatar
    Community Member
    141 Posts

    Re: How to download rar, psd, ai and so on Link to this post

    Well, you could download, modify and use this one from here:
    https://github.com/silverstripe/silverstripe-installer/blob/master/assets/.htaccess

  • benni91
    Avatar
    Community Member
    72 Posts

    Re: How to download rar, psd, ai and so on Link to this post

    aha i tried to create a new file BUT than Aptana announced me that the file allready excist => Aptana didn't show .htaccess i think.
    ok. i'll get another programm to open/show/download the .htaccess file and thna i'll try again

    but thx

    //EDIT: After changing the Aptana settings to show .htaccess files, i edited it and now i can download everything Thx for the help

    1004 Views
Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.