Does Storage understand the .htaccess file?

August 13, 2019 97 views
DigitalOcean Storage Debian

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?

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.

Have another answer? Share your knowledge.