Does Storage understand the .htaccess file?

Posted August 13, 2019 1.1k views

I connected to Storage through the CDN and subdomain. Everything works fine, I post pictures. Why does the Storage not accept the .htaccess file in which I want to configure 301 redirects from the subdomain to

RewriteEngine On
RewriteCond %{REQUEST_URI} (.*)
RewriteRule ^(.*)$$1 [L,R=301]

How do I implement this?


These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Submit an Answer
1 answer

You tell me some kind of “wildfowl”! I tell you that my rented SPACE S3 does not understand the .htaccess file, and you redirect me to the question about managing the drop with LAMP! I already know that.

Once again I repeat the question, how do I send my S3 Space at the program level to understand the .htaccess file?

  • The simple answer is No your DO Spaces does not read your .htaccess.

    Now, It does redirect you to a question about managing with LAMP as you need Apache to read an .htaccess file.

    Kind regards,
    Kalin D.