Код: Выделить всё
Unexpected Application Error!
404 Not Found
Тип адреса доступа:
Код: Выделить всё
http://Ipadress/userid
Код: Выделить всё
http://Ipadress/static/css
http://IpIpadress/static/js
Код: Выделить всё
PUBLIC_URL = http://ip/userid
На экране та же ошибка, что и на первом.< /p>
То, что я пытался найти, находится в папке public_html
Код: Выделить всё
.htaccess
RewriteEngine On
RewriteRule ^index\.html$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^ index.html [QSA,L]
Require all granted
Настройка Apache:
Код: Выделить всё
AllowOverride FileInfo AuthConfig Limit
Options MuliViews SymLinkIfOwnerMatch IncludesNoExec
Require method GET POST OPTIONS
Кроме того, я использую reacr-route-dom, но он не в виде страницы
p>
Нет места для применения URL-адреса, потому что он просто установлен в качестве макета,
Код: Выделить всё
route.js
const router = createBrowserRouter([
{
path: "/",
element: ,
loader: ScheduleMainLoader,
children: [
{
path: "/",
element: ,
//loader: ScheduleMainLoader,
},
],
},
]);
Код: Выделить всё
App.jsx
const App = () => {
return (
);
};
Код: Выделить всё
You need to enable JavaScript to run this app.
Пожалуйста, дайте мне несколько советов или ноу-хау.
Подробнее здесь: https://stackoverflow.com/questions/782 ... -to-apache
Мобильная версия