Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
lolo888
ISPConfig 3
Commits
14001d25
Commit
14001d25
authored
Mar 12, 2014
by
Till Brehm
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
FS#3370 - Duplicate directive NameVirtualHost in ispconfig.conf and ports.conf?
parent
793c77a0
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
install/lib/installer_base.lib.php
install/lib/installer_base.lib.php
+4
-0
No files found.
install/lib/installer_base.lib.php
View file @
14001d25
...
...
@@ -1235,6 +1235,10 @@ class installer_base {
if
(
is_file
(
'/etc/apache2/ports.conf'
))
{
// add a line "Listen 443" to ports conf if line does not exist
replaceLine
(
'/etc/apache2/ports.conf'
,
'Listen 443'
,
'Listen 443'
,
1
);
// Comment out the namevirtualhost lines, as they were added by ispconfig in ispconfig.conf file again
replaceLine
(
'/etc/apache2/ports.conf'
,
'NameVirtualHost *:80'
,
'# NameVirtualHost *:80'
,
1
);
replaceLine
(
'/etc/apache2/ports.conf'
,
'NameVirtualHost *:443'
,
'# NameVirtualHost *:443'
,
1
);
}
if
(
is_file
(
'/etc/apache2/apache.conf'
))
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment