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
0000791ClearOSapp-web-server - Web Serverpublic2012-10-18 09:202013-02-02 12:22
Reporteruser2 
Assigned Touser2 
PrioritynormalSeveritytweakReproducibilityalways
StatusclosedResolutionfixed 
PlatformOSOS Version
Product Version 
Target Version6.4.0 Beta 2Fixed in Version 
Summary0000791: The default welcome.conf file interferes with flexshare directory listsing
DescriptionThe /etc/httpd/conf.d/welcome.conf creates a nice splash page, but it interferes with Flexshare web access -- it prevents a directory listing in the root folder using the subdomain name, e.g.

music.example.com/ -- shows the splash page instead of all the subfolders
music.example.com/Beastie_Boys -- shows the expected listing of the Beastie Boys albums

That's crappy behavior.
TagsNo tags attached.
Attached Files

- Relationships
has duplicate 0000231closeduser2 Web enabled flexshare with directory index enabled doesn't work when accessed using subdomain URL 

-  Notes
(0000575)
dloper (administrator)
2012-10-24 17:28

This is not caused by the welcome.conf file but rather the flexshare config which contains a ServerName directive.

from /etc/httpd/conf.d/flex-443.conf:

<VirtualHost *:443>
    ServerName web-test.server.example.com
    DocumentRoot /var/flexshare/shares/web-test
    ErrorLog /var/log/httpd/server.example.com_error_log
    CustomLog /var/log/httpd/server.example.com_access_log common
    SSLEngine on
    SSLCertificateFile /etc/pki/tls/certs/localhost.crt
    SSLCertificateKeyFile /etc/pki/tls/private/localhost.key
    # No weak export crypto allowed
    # SSLCipherSuite ALL:!ADH:!EXPORT56:RC4+RSA:+HIGH:+MEDIUM:+LOW:+SSLv2:+EXP:+eNULL
    SSLCipherSuite ALL:!ADH:!EXPORT56:RC4+RSA:+HIGH:+MEDIUM:+LOW:+SSLv2:!EXP:+eNULL
    SetEnvIf User-Agent ".*MSIE.*" nokeepalive ssl-unclean-shutdown downgrade-1.0 force-response-1.0
    DefineExternalAuth pwauth pipe /usr/bin/pwauth
    DefineExternalGroup pwauth pipe /usr/bin/unixgroup
</VirtualHost>

By commenting or removing the ServerName directive, the flexshare operates normally.
(0000671)
user2
2013-02-01 20:47

Source Code Changelog
---------------------------------------------------
- Disabled welcome.conf splash [fixed tracker 0000791]

File Changes
---------------------------------------------------
Details: http://code.clearfoundation.com/svn/revision.php?repname=ClearOS&rev=5574 [^]
U webconfig/apps/web_server/trunk/deploy/info.php
U webconfig/apps/web_server/trunk/deploy/install
U webconfig/apps/web_server/trunk/packaging/app-web-server.spec
(0000672)
user2
2013-02-01 20:57

Was the comment above intended for 0000760 ? The welcome.conf file definitely prevents the Flexshare index from working on subdomains -- that's what the configlet is designed to to. Here is the contents of the configlet for clarity:

#
# This configuration file enables the default "Welcome"
# page if there is no default index page present for
# the root URL. To disable the Welcome page, comment
# out all the lines below.
#
<LocationMatch "^/+$">
    Options -Indexes
    ErrorDocument 403 /error/noindex.html
</LocationMatch>

- Issue History
Date Modified Username Field Change
2012-10-18 09:20 user2 New Issue
2012-10-18 09:21 user2 Assigned To => user2
2012-10-18 09:21 user2 Status new => confirmed
2012-10-24 17:28 dloper Note Added: 0000575
2012-12-06 12:35 user2 Target Version 6.4.0 Alpha 1 => 6.4.0 Beta 1
2012-12-21 09:33 user2 Target Version 6.4.0 Beta 1 => 6.4.0 Beta 2
2013-02-01 20:47 user2 Checkin
2013-02-01 20:47 user2 Note Added: 0000671
2013-02-01 20:47 user2 Status confirmed => resolved
2013-02-01 20:47 user2 Resolution open => fixed
2013-02-01 20:57 user2 Note Added: 0000672
2013-02-02 09:43 user2 Relationship added has duplicate 0000231
2013-02-02 12:22 user2 Status resolved => closed

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