Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • I ISPConfig 3
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 551
    • Issues 551
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 41
    • Merge requests 41
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • ISPConfig
  • ISPConfig 3
  • Issues
  • #6194

Closed
Open
Created Jun 28, 2021 by Collin Machine@TechManPro

Listen on Port 80 Not Added in Apache2 ports.conf File on Update

Summary

"Listen 80" is not added to ports.conf file on ispconfig_update.sh even if sites/vhosts exist that are configured for access on port 80

Steps to reproduce

  1. Remove lines containing "Listen 80" and "Listen 443" in /etc/apache2/ports.conf
  2. Run ispconfig_update.sh
  3. Check port.conf and only Listen 443 exists, even if sites/vhosts exist configured for port 80 access

Correct behaviour

Also add Listen 80 line, or perhaps make this entirely optional (enabled by default, but maybe a setting that can be changed or custom-conf file that if exists would make the updater skip/not do this)? To be honest, I have Apache2 only listening on specific IP addresses, but the updater adds this/these lines, so Apache2 fails to restart after update, until I remove these Listen lines, should they exist, and restart the service.

Environment

Server OS + version: Ubuntu 20.04 ISPConfig version: 3.2.5 Software version of the related software: Server version: Apache/2.4.48 (Ubuntu) Server built: 2021-06-08T07:06:51

Proposed fix

Hopefully add option in Web tab of Server Config section of control panel to enable/disable adding these lines when reconfiguring (apache) services. If this option is enabled/not disabled, then also add the Listen 80 line if sites exist that are configured to be accessible on port 80

Assignee
Assign to
Time tracking