ClearFoundation Tracker - ClearOS
View Issue Details
0000231ClearOSapp-flexshare - Flexsharespublic2011-02-13 13:182013-02-02 12:22
timb80 
user2 
normaltrivialalways
closedduplicate 
5.2-SP1 
 
0000231: Web enabled flexshare with directory index enabled doesn't work when accessed using subdomain URL
With 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>
No tags attached.
duplicate of 0000791closed user2 The default welcome.conf file interferes with flexshare directory listsing 
Issue History
2011-02-13 13:18timb80New Issue
2011-02-13 13:20timb80Note Added: 0000334
2011-02-16 09:07user2Statusnew => confirmed
2013-02-02 09:43user2Relationship addedduplicate of 0000791
2013-02-02 09:44user2Statusconfirmed => resolved
2013-02-02 09:44user2Resolutionopen => duplicate
2013-02-02 09:44user2Assigned To => user2
2013-02-02 12:22user2Statusresolved => closed

Notes
(0000334)
timb80   
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/