Project

General

Profile

Actions

Bug #473

closed

Ignoring wt_config.xml?

Added by Iuliu Vasilescu over 13 years ago. Updated over 13 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Target version:
-
Start date:
08/15/2010
Due date:
% Done:

0%

Estimated time:

Description

running a small wt app with apache/fastcgi. I modified the /etc/wt/wt_config.xml to point the resources directory to a different location. Seems to be ignored.

log:

[2010-Aug-15 14:50:50.854388] 7735 - [notice] "Spawned session process: pid = 7746"

[2010-Aug-15 14:50:50.855372] 7735 - [notice] "Reading FastCGI stream from stdin"

[2010-Aug-15 14:50:50.887065] 7746 - [notice] "Wt: initializing session process"

[2010-Aug-15 14:50:50.888006] 7746 - [notice] "Reading Wt config file: /etc/wt/wt_config.xml (location = '/usr/lib/cgi-bin/wt-netbeans.wt')"

[2010-Aug-15 14:50:51.316306] 7746 [/cgi-bin/wt-netbeans.wt P3Ja512LjL5YMXdX] [notice] "Session created (#sessions = 1)"

Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US) AppleWebKit/533.4 (KHTML, like Gecko) Chrome/5.0.375.125 Safari/533.4

[Sun Aug 15 14:50:51 2010] [error] (13)Permission denied: exec of '/usr/lib/cgi-bin/resources/themes/default/wt.css' failed

[Sun Aug 15 14:50:51 2010] [error] [client 192.168.1.2] Premature end of script headers: wt.css, referer: http://192.168.1.6/cgi-bin/wt-netbeans.wt

[Sun Aug 15 14:50:51 2010] [error] [client 192.168.1.2] File does not exist: /var/www/favicon.ico

in /etc/wt/wt_config.xml

...

/res/

...

thank you

Actions #1

Updated by Koen Deforche over 13 years ago

  • Status changed from New to Resolved
  • Assignee set to Koen Deforche

Hey Iuliu,

the name for the property is "resourcesURL", not "resources". Probably there is somewhere wrong information, do you recall where you found in the documentation that it said "resources" ?

Regards,

koen

Actions #2

Updated by Iuliu Vasilescu over 13 years ago

Hi Koen,

thank you, I will try that! Somehow I thought is 'resources' from here:

std::string Wt::WApplication::resourcesUrl() [static]

http://www.webtoolkit.eu/wt/doc/reference/html/classWt_1_1WApplication.html#c0fa2857a600cc34b3443a04d9ed5c5c

Iuliu.

Actions #3

Updated by Koen Deforche over 13 years ago

  • Status changed from Resolved to Closed

Fixed in Wt 3.1.5

Actions

Also available in: Atom PDF