Skip to content

devsunset/gotogether-frontend-react

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

gotogether-frontend-react

gotogether-frontend - frontend go together (react)

https://gotogether-react.web.app - service running (firebase web hosting)

http://152.70.91.9 - service stop (http nginx)


apache spa 모듈 배포시 Refresh시 404 해결 처리 법

1.htdocs (www root 경로 하위에 .htaccess파일 작성)

RewriteEngine On

RewriteBase /

RewriteRule ^index.html$ - [L]

RewriteCond %{REQUEST_FILENAME} !-f

RewriteCond %{REQUEST_FILENAME} !-d

RewriteCond %{REQUEST_FILENAME} !-l

RewriteRule . /index.html [L]

2.httpd.conf 파일 수정

i)주석 해제

#LoadModule rewrite_module modules/mod_rewrite.so

ii) Directory 설정 부분 하단 내용 수정

AllowOverride None -> AllowOverride All

3.apache 재시작

Template : https://github.com/creativetimofficial/light-bootstrap-dashboard-react

About

gotogether-frontend-react - Go Together Frontend - React

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published