Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
I
ISPConfig 3
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 480
    • Issues 480
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge Requests 22
    • Merge Requests 22
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
  • Operations
    • Operations
    • Incidents
    • Environments
  • Analytics
    • Analytics
    • CI / CD
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • ISPConfig
  • ISPConfig 3
  • Issues
  • #5977

Closed
Open
Opened Dec 22, 2020 by Tony G@CaptainStarbuck

Vhost subdomain on existing web folder overwrites stats folder

Create a vhost subdomain 'aaa' in web folder 'aaa' and verify that it works. Edit a minor change into site_00/aaa/stats/.htaccess and/or index.html. Create a vhost subdomain 'bbb' in web folder 'aaa'. The files in site_00/aaa are not modified, but the stats folder is replaced.

I don't know if anyone changes the files in their stats folder, but if someone does this will result in an unexpected data loss. I believe an enhancement would be helpful:

For a new subdomain, see if the web folder already exists, and display a prompt like:

Folder 'aaa' exists. See documentation. Are you sure you want to save?

Please verify that there are no undesirable side effects in the webserver configs when two or more sites point to the same folder. And, separately, please verify that there are no undesirable side effects in the web server configs when one of those sites is removed.

This functionality can be defined as a (new?) feature : subdomain aliases.

Please simply decide what the behavior should be, document it, and ensure that the software complies with the intent.

Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
None
Due date
None
Reference: ispconfig/ispconfig3#5977