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
0001661ClearOSapp-web-server - Web Serverpublic2014-04-09 10:372014-06-25 09:36
Reporteruser2 
Assigned Touser2 
PrioritynormalSeverityminorReproducibilityN/A
StatusclosedResolutionfixed 
PlatformOSOS Version
Product Version 
Target Version6.6.0 Beta 2Fixed in Version6.6.0 Beta 2 
Summary0001661: Make sure httpd.conf is not overriding the settings for /var/www/html
DescriptionDepending on the ordering in the httpd.conf file, the /var/www/html definition might override the settings in the conf.d definition.
TagsNo tags attached.
Attached Files

- Relationships

-  Notes
(0001171)
marclaporte (manager)
2014-04-10 08:51

As of 2014-04-10, with the clearos-updates-testing repo, and thus the recent overhauled "Web Server" engine, .htaccess is not taken into account.

Thanks!
(0001178)
marclaporte (manager)
2014-05-21 15:15

As of 2014-05-21, using the Tiki app installer of CO 6.6 Beta via:
yum --enablerepo=clearos-updates-testing install app-tiki

.htaccess is not taken into account. Visiting a example.org/abc returns:
Not Found
The requested URL /var/clearos/tiki/webroot/live/route.php was not found on this server.

Also, tiki-check.php reports "Your RewriteBase is not set correctly in .htaccess. Search Engine Friendly URLs are not going to work like that. It should be set to "/tiki"."

On a related note:
PHP 5.5 / PHP 5.6 : what is the best way to get on ClearOS 6.x ?
http://www.clearfoundation.com/component/option,com_kunena/Itemid,232/catid,17/func,view/id,61167/limit,10/limitstart,10/#61721 [^]

Thanks!
(0001181)
marclaporte (manager)
2014-05-26 12:17

Today, on a fresh install of Tiki via yum install app-tiki on ClearOS 6.6 beta 1, I configured the system to install Tiki at the root of the system (in this case a subdomain), and the .htaccess is taken into account. Great!

It's really nice that we are not forced to install on a subdomain or subdirectory.

The rest is more for another ticket, but just writing notes here until I open it:
* Tiki authentication via OpenLDAP is broken in 12.0, but fixed in 12.2, so can be tested when we upgrade.
* Since the DB schema changed a bit between 12.0 and 12.2, the following command needs to be run: php console.php database:update

Thanks!!
(0001201)
user2
2014-06-02 13:32

Since users may have already customized the httpd.conf, this fix will only be applied to:

- new installs
- old installs using the default configuration

If you have customized your httpd.conf file, please review the <Directory "/var/www/html"> section in httpd.conf.

- Issue History
Date Modified Username Field Change
2014-04-09 10:37 user2 New Issue
2014-04-09 10:39 user2 Status new => confirmed
2014-04-10 08:51 marclaporte Note Added: 0001171
2014-04-22 13:34 user2 Target Version 6.5.0 Updates => 6.6.0 Beta 1
2014-05-08 08:09 user2 Target Version 6.6.0 Beta 1 => 6.6.0 Beta 2
2014-05-21 15:15 marclaporte Note Added: 0001178
2014-05-26 12:17 marclaporte Note Added: 0001181
2014-06-02 13:18 user2 Status confirmed => resolved
2014-06-02 13:18 user2 Fixed in Version => 6.6.0 Beta 2
2014-06-02 13:18 user2 Resolution open => fixed
2014-06-02 13:18 user2 Assigned To => user2
2014-06-02 13:32 user2 Note Added: 0001201
2014-06-25 09:36 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