0
這是一個簡單的問題,但即時通訊開發者,但我什麼都不知道虛擬主機,我有一個應用程序在ReactJS和它的工作正常在主頁www.example.com,但是當我去www。 example.com/someword這回我404.我vistual主機conf:React JS虛擬主機
<VirtualHost *:80>
ServerName somepage.com
ServerAlias somepage.com www.somepage.com
DocumentRoot "/var/www/somepage/build/"
DirectoryIndex index.html
<Directory "/var/www/somepage/build/">
AllowOverride All
Order allow,deny
Allow from All
</Directory>
ErrorLog /var/log/apache2/somepage_error.log
CustomLog /var/log/apache2/somepage_access.log combined
</VirtualHost>
感謝您的幫助。
Thaks ..!這解決了我的問題。 – Kelvins