SYSTEM WARNING: 'file_get_contents(https://www.clearos.com/?rendertype=json&get=header): failed to open stream: Connection refused' in '/var/www/virtual/newwrapper/cf_topmenu.inc' line 5

ClearOS Bug Tracker


View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0022561ClearOSapp-web-server - Web Serverpublic2018-12-17 02:072019-02-23 13:12
ReporterNickH 
Assigned Todloper 
PrioritynormalSeverityminorReproducibilityhave not tried
StatusclosedResolutionsuspended 
PlatformOSOS Version
Product Version7.5.0 Updates 
Target Version7.6.0 UpdatesFixed in Version 
Summary0022561: CGI scripts won't run from /var/flexshare/share paths
DescriptionThere has been an e-mail report that CGI scripts will not run from the /var/flexshare/shares/{website} path, but they will run from /var/www/html/cgi-bin. See attached e-mail to support.

For the Default Website, in the CGI path /etc/httpd/conf.d/flex-80.conf is /var/flexshare/shares/{website}/cgi-bin/. This needs to be changed to /var/www/html/cgi-bin

Also note that the default folder structure creates /var/www/cgi-bin and not /var/www/html/cgi-bin

Although /var/flexshare/shares/{website} paths are bond mounted with /var/www/html and /var/www/virtual/{website} paths it seems to be giving an issue with CGI scripts.

Really all paths in /etc/httpd/conf.d/flex-80.conf need to be somewhere under /var/www and not var/flexshare/shares.
TagsNo tags attached.
Attached Fileseml file icon mail.eml [^] (6,448 bytes) 2018-12-17 02:10

- Relationships
related to 0019201closed CGI option points to flexshares and not /var/www/virtual 

-  Notes
(0009261)
dloper (administrator)
2019-02-23 13:12

Migrated to: https://gitlab.com/clearos/clearfoundation/app-web-server/issues/1 [^]

- Issue History
Date Modified Username Field Change
2018-12-17 02:07 NickH New Issue
2018-12-17 02:10 NickH File Added: mail.eml
2018-12-17 02:11 NickH Description Updated View Revisions
2018-12-17 02:24 NickH Relationship added related to 0019201
2018-12-17 02:24 NickH Description Updated View Revisions
2019-02-23 13:12 dloper Note Added: 0009261
2019-02-23 13:12 dloper Status new => closed
2019-02-23 13:12 dloper Assigned To => dloper
2019-02-23 13:12 dloper Resolution open => suspended

SYSTEM WARNING: 'file_get_contents(https://www.clearos.com/?rendertype=json&get=footer): failed to open stream: Connection refused' in '/var/www/virtual/newwrapper/cf_footer.inc' line 7