ClearOS Bug Tracker


View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0019201ClearOSapp-web-server - Web Serverpublic2018-02-21 02:462018-12-17 02:24
ReporterNickH 
Assigned To 
PrioritynormalSeverityminorReproducibilityalways
StatusacknowledgedResolutionopen 
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/www.example.com/cgi-bin/ /var/flexshare/shares/www.example.com/cgi-bin/
<VirtualHost *:80>
    ServerName www.example.com
    DocumentRoot /var/www/virtual/www.example.com
    ScriptAlias /cgi-bin/ /var/flexshare/shares/www.example.com/cgi-bin/
    ErrorLog /var/log/httpd/www.example.com_error_log
    CustomLog /var/log/httpd/www.example.com_access_log combined
</VirtualHost>

<Directory /var/www/virtual/www.example.com/cgi-bin>
    Options +ExecCGI
    Require all granted
</Directory>

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/www.example.com/cgi-bin/ instead of /var/www/virtual/www.example.com/cgi-bin
Steps To ReproduceEnable the CGI option for your web site
TagsNo tags attached.
Attached Files

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

-  Notes
There are no notes attached to this issue.

- 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