Skip to content

Commit 7b28dad

Browse files
committed
Added NameVirtualHost for fedora.
1 parent 9de0c46 commit 7b28dad

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

install/dist/lib/fedora.lib.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -418,7 +418,7 @@ public function configure_apache()
418418

419419
$content = rf('/etc/httpd/conf/httpd.conf');
420420
if(!stristr($content,'Include /etc/httpd/conf/sites-enabled/')) {
421-
af('/etc/httpd/conf/httpd.conf',"\nInclude /etc/httpd/conf/sites-enabled/\n\n");
421+
af('/etc/httpd/conf/httpd.conf',"\nNameVirtualHost *:80\nNameVirtualHost *:443\nInclude /etc/httpd/conf/sites-enabled/\n\n");
422422
}
423423
unset($content);
424424

0 commit comments

Comments
 (0)