
我嘗試使用 Apache/2.4.29(WordPress 等)在伺服器上放置某種網站,但除了主頁本身之外,無法載入任何頁面。造訪這些頁面時,出現「未找到。在此伺服器上找不到要求的 URL。Apache/2.4.29 (Ubuntu)。伺服器位於本機主機連接埠 8080」錯誤。問題的根源是什麼?我對所有這些東西都是全新的,如果我問的問題太愚蠢了,我很抱歉。
我已經改變了,apache2.conf
AllowOverride
僅此而已。
</Directory>
<Directory /usr/share>
AllowOverride None
Require all granted
</Directory>
<Directory /var/www/>
Options Indexes FollowSymLinks
AllowOverride All
Require all granted
</Directory>