Hi! If you're using Apache, by default Apache will serve an index.html file before a index.php file if one is present. So, you should be able to simply drop your React app in the root of your webserver.
stackoverflow.com/questions/100024...
If you've changed the DirectoryIndex hierarchy, you can simply modify the rule in your .htaccess like so:
DirectoryIndex index.html index.php /index.php
Let me know if that doesn't work!
Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink.
Hide child comments as well
Confirm
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Hi! If you're using Apache, by default Apache will serve an index.html file before a index.php file if one is present. So, you should be able to simply drop your React app in the root of your webserver.
stackoverflow.com/questions/100024...
If you've changed the DirectoryIndex hierarchy, you can simply modify the rule in your .htaccess like so:
DirectoryIndex index.html index.php /index.php
Let me know if that doesn't work!