Linked Questions

24 questions linked to/from react router doesn't work in aws s3 bucket
205 votes
22 answers
490k views

I am using the AmazonS3Client in an Android app using a getObject() request to download an image from my Amazon S3 bucket. Currently, I am getting this exception: com.amazonaws.services.s3.model....
105 votes
16 answers
124k views

I am trying to setup CloudFront to serve static files hosted in my S3 bucket. I have setup distribution but I get AccessDenied when trying to browse to the CSS (/CSS/stlyle.css) file inside S3 bucket: ...
53 votes
4 answers
98k views

We are having issues trying to make working a SPA with a client router (react router). We are using the concept of have a DOMAIN -> CDN (CloudFront) -> S3 for serving our static files. We have ...
21 votes
4 answers
17k views

When I deployed a React Router app to AWS S3 and CloudFront and when I try to access React routes directly it gives the following error with 403 error code. I can access both the base URL(www.sample-...
9 votes
4 answers
12k views

I have custom routes like follows: // @flow import React, { PureComponent } from 'react'; import { Switch, Redirect } from 'react-router-dom'; import { withRouter } from 'react-router'; import { ...
5 votes
3 answers
7k views

I am currently trying to deploy the default react web app to Azure and I am encountering an issue where though I deploy the contents of my build folder to the azure hosted /site/wwwroot folder I end ...
4 votes
2 answers
7k views

I have a SPA made with React JS on a S3 Bucket and I’m using Cloud Front to work through HTTPS and with a custom domain. When I refresh the page - if I have another Route that is not the BASE_URL (for ...
2 votes
1 answer
7k views

i have a bucket and enabled static web site hosting in it. Say i have only two files in the bucket (index.html) and (error.html) If a request is hit with test.html, either access denied or no such ...
5 votes
1 answer
3k views

I have the following situation: An S3 bucket with multiple path-based applications, grouped by version number. Simplified example: /v1.0.0 index.html main.js /v1.1.0 index.html main.js Each ...
6 votes
1 answer
4k views

So I have an AWS S3 Bucket hosting the files for a react application I've built. I use CodePipeline to build and compile the React app and store the files on an S3 bucket which is served through a ...
0 votes
2 answers
3k views

I am trying to host a site with muliple paths on a S3 Bucket. Is this an available option ? These two work on my local machine. localhost:3000 localhost:3000/policy Trying to host this on S3 is ...
1 vote
3 answers
2k views

I have deployed my website on AWS using React and react-router-dom for simple route changing. However, I made a mistake by only uploading the index.html file for both the origin page and error page to ...
1 vote
2 answers
881 views

I am using this doc https://aws.amazon.com/blogs/networking-and-content-delivery/adding-http-security-headers-using-lambdaedge-and-amazon-cloudfront/ I am using a react app in S3 bucket, with a ...
1 vote
2 answers
1k views

I have hosted a static react website on aws and use s3, cloudfront. It has several subpages. <Link to='/about'>about us</Link> <Link to='/projects'>projects</Link> <Link to='...
1 vote
1 answer
933 views

I'm trying to host a static react website on an AWS S3 bucket with CloudFront as a front-end. Additionally the front-end uses an API which runs as a service on a seperate server with a connected ...

15 30 50 per page
1
2