ClearFoundation Tracker - ClearOS
View Issue Details
0000791ClearOSapp-web-server - Web Serverpublic2012-10-18 09:202013-02-02 12:22
user2 
user2 
normaltweakalways
closedfixed 
 
6.4.0 Beta 2 
0000791: The default welcome.conf file interferes with flexshare directory listsing
The /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.
No tags attached.
has duplicate 0000231closed user2 Web enabled flexshare with directory index enabled doesn't work when accessed using subdomain URL 
Issue History
2012-10-18 09:20user2New Issue
2012-10-18 09:21user2Assigned To => user2
2012-10-18 09:21user2Statusnew => confirmed
2012-10-24 17:28dloperNote Added: 0000575
2012-12-06 12:35user2Target Version6.4.0 Alpha 1 => 6.4.0 Beta 1
2012-12-21 09:33user2Target Version6.4.0 Beta 1 => 6.4.0 Beta 2
2013-02-01 20:47user2Checkin
2013-02-01 20:47user2Note Added: 0000671
2013-02-01 20:47user2Statusconfirmed => resolved
2013-02-01 20:47user2Resolutionopen => fixed
2013-02-01 20:57user2Note Added: 0000672
2013-02-02 09:43user2Relationship addedhas duplicate 0000231
2013-02-02 12:22user2Statusresolved => closed

Notes
(0000575)
dloper   
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>