ClearFoundation Tracker - ClearOS |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0000791 | ClearOS | app-web-server - Web Server | public | 2012-10-18 09:20 | 2013-02-02 12:22 |
|
Reporter | user2 | |
Assigned To | user2 | |
Priority | normal | Severity | tweak | Reproducibility | always |
Status | closed | Resolution | fixed | |
Platform | | OS | | OS Version | |
Product Version | | |
Target Version | 6.4.0 Beta 2 | Fixed in Version | | |
|
Summary | 0000791: The default welcome.conf file interferes with flexshare directory listsing |
Description | 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. |
Steps To Reproduce | |
Additional Information | |
Tags | No tags attached. |
Relationships | has duplicate | 0000231 | closed | user2 | Web enabled flexshare with directory index enabled doesn't work when accessed using subdomain URL |
|
Attached Files | |
|
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 |
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> |
|