I need help setting up the .htaccess for my DigitalOcean App Static Website

Posted December 25, 2021 119 views
DigitalOceanHTMLDigitalOcean App PlatformBuilding on DigitalOcean

I created my static website with the new service called Apps, and I tried to add my .htaccess file, so the file gets uploaded and can be accessed by url through URL but is not working on Digital Ocean and it’s not being executed.

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

Hi @asadDolphin,

Static Sites on App Platform are not using an Apache Server. In that regard, .htaccess files will have no effect on your Application.

What is your aim, if you provide us with more information, we should be able to provide you with some tips or recommendations on how to proceed?