Bug #473
closedIgnoring wt_config.xml?
0%
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
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
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]
Iuliu.