For react build deployment - put buli in (/var/www/html) folder
PORT 80 - is for http ip access link (comment it out in httpd.conf file)
PORT 443 is for HTTPS ip access link
For redirection reload "404 error" issues-
1) Change httpd.conf file in (/etc/httpd/conf)and in .htaccess build folder (/var/www/html).
2) Note: This two files should contain the same below code i.e.->
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^ index.html [QSA,L]
3) Note: in document root "/var/www/html" change AllowOverride to All.
After this re-run the Apache server command - apachectl restart
Preview:
downloadDownload PNG
downloadDownload JPEG
downloadDownload SVG
Tip: You can change the style, width & colours of the snippet with the inspect tool before clicking Download!
Click to optimize width for Twitter