mirror of
https://github.com/apache/cloudstack.git
synced 2025-10-26 08:42:29 +01:00
bug 12130: add "Options -Indexes" in the root directory
status 12130: resolved fixed
This commit is contained in:
parent
0b6b8f7e46
commit
6df2cd07d2
@ -397,6 +397,7 @@ setup_apache2() {
|
||||
[ -f /etc/apache2/ports.conf ] && sed -i -e "s/Listen .*:80/Listen $ip:80/g" /etc/apache2/ports.conf
|
||||
[ -f /etc/apache2/ports.conf ] && sed -i -e "s/Listen .*:443/Listen $ip:443/g" /etc/apache2/ports.conf
|
||||
[ -f /etc/apache2/ports.conf ] && sed -i -e "s/NameVirtualHost .*:80/NameVirtualHost $ip:80/g" /etc/apache2/ports.conf
|
||||
echo "Options -Indexes" > /var/www/html/.htaccess
|
||||
}
|
||||
|
||||
setup_redundant_router() {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user