All Questions
300
questions
0
votes
0
answers
12
views
ReactJS App Resources Not Loading Correctly When Accessed Via Link in Another App
I have two websites, both developed with ReactJS. Let's call them "homepage" and "samplecompanysite01".
I built the "homepage" site and copied its files into /opt/lampp/...
2
votes
0
answers
27
views
How to Implement Server Redirection with Authorization in a React App Using Apache?
I need help with server redirection in my React app. My app runs on an Apache web server. I’ve tested redirection with this PHP code:
(redirect.php)
<?php
header('Access-Control-Allow-Origin: *'...
0
votes
0
answers
34
views
Django Static Files Not Loading Correctly in Production with Apache
I've been struggling with serving static files in a Django application deployed on Apache. Despite following numerous guides and suggestions, I'm still encountering 404 errors for my static files. ...
0
votes
1
answer
43
views
How does Next.js redirects to 404.html under the hood in static exports?
I have a website (let's call it example.com) built with Next.js, statically exported. When I type in a wrong address in the browser (i.e. https://example.com/wrong-addr), it redirects to /404.html, a ...
0
votes
0
answers
31
views
How take Proxy apache
I'm trying to configure my Apache with a Java API to receive calls from my front end. The way below he receives the first call, I can log in, but the next calls I get 401 Unauthorized.
<VirtualHost ...
1
vote
0
answers
25
views
Running React on port 80 but still want access to PhpMyAdmin
I have an Ubuntu server with a LAMP stack already but recently added a react server aswell. My web domain points to port 80 of course which is the apache server but I would like to have it go to my ...
0
votes
1
answer
16
views
https not being forced after modifying apache configuration for reverse proxy
I'm running an Apache/Cpanel server and wrote an Apache host domain include config file to point a one of my domain names to a port number for a Next.js app I created.
The although it partially works. ...
0
votes
0
answers
25
views
Can't access to /public/ folder en HTTPS
can someone help me with this?
So i use ViteJS with react and i have a button to open PDF in new tab.
<a href='/pdf/carnival-texts/mypdf.pdf'>Test LINK</a>
<a href='FULLLINK/pdf/...
0
votes
1
answer
32
views
Not secure error after implementing SSL certificate in apache and nodejs
My project architecture is as below.
There is two server - web server(Linux) and app server(Ubuntu). My react frontend and nodejs backend are deployed on appserver. And apache(httpd) is installed at ...
0
votes
0
answers
25
views
Django + react with apache can't find django rest api
I have a django + react app that i wish to deploy on my VPS. I have installed apache and tried to configure it to work with django and react. When i only put django in the apache conf, it works with a ...
0
votes
0
answers
29
views
404 Occurrence Problems When Deploying a react project to Apache
If you build a small project that you made after learning the react for the first time, upload files and folders to the Apache server, and access them
Unexpected Application Error!
404 Not Found
It ...
0
votes
0
answers
21
views
Host WordPress and ReactJS in the same Apache Server
Can this be doable to serve WordPress and ReactJS in the same server.
I have a ReactJS App that is running in http://127.0.0.1:3000/ and a WordPress' root directory is located at "D:/var/www/html/...
0
votes
0
answers
20
views
Get header with react over loadbalancer
is it possible in react to get the full header information when we have a loadbalancer between client and server?
In my example the client is opening the website. Normally i think we have a http ...
0
votes
1
answer
56
views
Invalid Host header: Owned DNS domain pointing to AWS EC2 IP address running React App on port 3000
I created an ec2 instance with public access to everything inbound and outbound. I containerized my local react app for front and backend (node js) (MERN) and pushed images to ECR and pulled and ...
0
votes
0
answers
73
views
Alma Linux 8 cant connect my react app with nodejs server
My react app is running on apache2 and is placed inside cPanel's directory public_html. My backend nodejs server is also inside the same public_html directory but its running on linux, My frontend ...