Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -831,7 +831,7 @@ private void runPostinstallIfNeeded(Path home) throws IOException {
private void patchHttpdConf() throws IOException {
String content = Files.readString(confFile);

content = content.replaceAll("(?m)^Listen 80$", "#Listen 80");
content = content.replaceAll("(?m)^(Listen\\s+(?:\\S+:)?80)\\s*$", "#$1");
content = content.replaceAll(
"(?m)^(LoadModule proxy_balancer_module)",
"#$1");
Expand Down Expand Up @@ -1017,7 +1017,7 @@ private void logHttpdDiagnostics() {
}

if (httpdHome != null) {
Path mDir = modulesPath != null ? modulesPath : httpdHome.resolve("modules");
Path mDir = modulesPath != null ? modulesPath : serverRoot().resolve("modules");
for (String module : List.of("mod_manager.so", "mod_proxy_cluster.so",
"mod_advertise.so", "mod_lbmethod_cluster.so")) {
Path p = mDir.resolve(module);
Expand Down
Loading