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
0000231ClearOSapp-flexshare - Flexsharespublic2011-02-13 13:182013-02-02 12:22
Reportertimb80 
Assigned Touser2 
PrioritynormalSeveritytrivialReproducibilityalways
StatusclosedResolutionduplicate 
PlatformOSOS Version
Product Version5.2-SP1 
Target VersionFixed in Version 
Summary0000231: Web enabled flexshare with directory index enabled doesn't work when accessed using subdomain URL
DescriptionWith a web enabled flexshare, if you try and access it via the subdomain form of it's URL. e.g. http://subdomain.domain.com. [^] Directory indexing will not work. It will however work if you access it via http://domain.com/flexshare/subdomain [^]

This is because the default web server configuration overrides the index options set by the flexshare.

In /etc/httpd/conf.d you will see a file entitled welcome.conf

It looks like this:

<LocationMatch "^/+$">
Options -Indexes
ErrorDocument 403 /error/noindex.html
</LocationMatch>

For indexes to appear in the root folder of your website (or subdomain site) change it to this:

<LocationMatch "^/+$">
Options Indexes
ErrorDocument 403 /error/noindex.html
</LocationMatch>
TagsNo tags attached.
Attached Files

- Relationships
duplicate of 0000791closeduser2 The default welcome.conf file interferes with flexshare directory listsing 

-  Notes
(0000334)
timb80 (developer)
2011-02-13 13:20

Corresponding log seen in /var/log/httpd/domain_error_log

[Sun Feb 13 20:07:03 2011] [error] [client 192.168.2.100] Directory index forbidden by Options directive: /var/flexshare/shares/sharename/

- Issue History
Date Modified Username Field Change
2011-02-13 13:18 timb80 New Issue
2011-02-13 13:20 timb80 Note Added: 0000334
2011-02-16 09:07 user2 Status new => confirmed
2013-02-02 09:43 user2 Relationship added duplicate of 0000791
2013-02-02 09:44 user2 Status confirmed => resolved
2013-02-02 09:44 user2 Resolution open => duplicate
2013-02-02 09:44 user2 Assigned To => user2
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