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 504
    • Issues 504
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge Requests 28
    • Merge Requests 28
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Operations
    • Operations
    • Incidents
    • Environments
  • Analytics
    • Analytics
    • CI/CD
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • ISPConfig
  • ISPConfig 3
  • Issues
  • #5560

Closed
Open
Created Mar 06, 2020 by Jacob Rasmussen@jacrasmussen

Unable to access statistics if using subroot configuration on nginx

short description

When subroot (eg. ##subroot web##) is defined for a given site, nginx tries to resolve the path to the statistics folder in the subroot path instead of document root and this results in 404 errors on all resources in the stats folder.

I haven't tested if the Apache configuration displays the same behavior.

correct behaviour

Website configuration should be changed, so that content from the stats folder is accessible.

environment

Server OS: Ubuntu
Server OS version: 18.04.4
ISPConfig version: 3.1.15p3
nginx version: nginx/1.14.0 (Ubuntu)

proposed fix

None right now

log entries

2020/03/03 08:11:55 [error] 3335#3335: *181766 "/var/www/<website redacted>/web/web/stats/index.html" is not found (2: No such file or directory), client: <redacted>, server: <website redacted>, request: "GET /stats/ HTTP/2.0", host: "<website redacted>"
2020/03/03 08:16:19 [error] 3447#3447: *181834 open() "/var/www/<website redacted>/web/web/stats/awindex.html" failed (2: No such file or directory), client: <redacted>, server: <website redacted>, request: "GET /stats/awindex.html HTTP/2.0", host: "<website redacted>"
2020/03/06 08:07:23 [error] 29416#29416: *154016 open() "/var/www/<website redacted>/web/web/stats/index.php" failed (2: No such file or directory), client: <redacted>, server: <website redacted>, request: "GET /stats/index.php HTTP/2.0", host: "<website redacted>"
Edited Mar 08, 2020 by Jacob Rasmussen
Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
None
Due date
None