mirror of
https://github.com/community-scripts/ProxmoxVE.git
synced 2026-06-24 08:14:56 +02:00
enabling rewirte module in apache (#15360)
The rewrite module is essential for beautiful domains like "https://myexample.com/problematicSite". With the currently provided setup these domains end up in a 404, as apache is not rewriting the domain.
This commit is contained in:
@@ -47,6 +47,7 @@ cat <<EOF >/etc/apache2/sites-available/wordpress.conf
|
||||
EOF
|
||||
$STD a2ensite wordpress.conf
|
||||
$STD a2dissite 000-default.conf
|
||||
$STD a2enmod rewrite
|
||||
systemctl reload apache2
|
||||
msg_ok "Created Services"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user