ClearOS Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0019201ClearOSapp-web-server - Web Serverpublic2018-02-21 02:462021-01-18 04:24
Assigned To 
PlatformOSOS Version
Product Version7.4.0 
Target VersionFixed in Version 
Summary0019201: CGI option points to flexshares and not /var/www/virtual
DescriptionIf you enable CGI in the Webconfig the flex-80 file points the ScriptAlias to settings to the flexshare location rather than the location under /var/www/virtual. Although they are synonymous (when the bind mounts work) it is inconsistent. Example from flex-80:

ScriptAlias /flexshare/ /var/flexshare/shares/
<VirtualHost *:80>
    DocumentRoot /var/www/virtual/
    ScriptAlias /cgi-bin/ /var/flexshare/shares/
    ErrorLog /var/log/httpd/www.example.com_error_log
    CustomLog /var/log/httpd/www.example.com_access_log combined

<Directory /var/www/virtual/>
    Options +ExecCGI
    Require all granted

The Directory line is as I would have expected, the two ScriptAlias lines are not as they point to the flexshare version of the file location, /var/flexshare/shares/ instead of /var/www/virtual/
Steps To ReproduceEnable the CGI option for your web site
TagsNo tags attached.
Attached Files

- Relationships
related to 0022561closeddloper CGI scripts won't run from /var/flexshare/share paths 

-  Notes
NickH (developer)
2021-01-18 04:24

Migrated to [^]

- Issue History
Date Modified Username Field Change
2018-02-21 02:47 NickH New Issue
2018-02-21 09:26 user2 Status new => acknowledged
2018-12-17 02:24 NickH Relationship added related to 0022561
2021-01-18 04:24 NickH Note Added: 0015171
2021-01-18 04:24 NickH Status acknowledged => closed
2021-01-18 04:24 NickH Resolution open => suspended