Home React-Redux application on sub-directory using Apache Server
Reply: 0

React-Redux application on sub-directory using Apache Server

user529
1#
user529 Published in May 20, 2018, 10:14 am

I have deployed react application on the subfolder of apache server

Url Folder: /var/www/html/abc

I have the following .htaccess rules to rewrite requests

RewriteEngine On 
RewriteBase /abc
RewriteRule ^index\.html$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-l
RewriteRule . /abc/index.html [L]

But it is not working Please help me to rewrite the .htaccess rules

You need to login account before you can post.

About| Privacy statement| Terms of Service| Advertising| Contact us| Help| Sitemap|
Processed in 0.307821 second(s) , Gzip On .

© 2016 Powered by mzan.com design MATCHINFO