Project

General

Profile

Actions

Bug #2602

closed
IL WD

Wrong wthttpd Config File Location (win32 precompiled installer)

Bug #2602: Wrong wthttpd Config File Location (win32 precompiled installer)

Added by I. Lazaridis over 12 years ago. Updated over 12 years ago.

Status:
Closed
Priority:
High
Assignee:
Target version:
-
Start date:
01/24/2014
Due date:
% Done:

0%

Estimated time:

Description

(Followup to #2593)

I am on Win7, used the installer

Wt-3.3.1-msvc2010-Windows-x86-SDK-build-1

Compiled a simple test app.

Problem:

The config-file-location (retrieved via: mywttest.exe ---help) is set to :

c:/pau/winstng/build2010-x86/prefix/etc/wt/wthttpd

Should be:

c:/witty/wthttpd

(I can workaround by simply creating this directory-tree and placing the file there)

WD Updated by Wim Dumon over 12 years ago Actions #1

  • Status changed from New to Resolved

you can set it yourself, by not using WRun, but instantiating the server yourself. How your own MyWRun should look like is documented here:

http://www.webtoolkit.eu/wt/doc/reference/html/classWt_1_1WServer.html

The third parameter of setServerConfiguration is the path to the filename.

Precompiled Wt needs indeed a fix for this.

IL Updated by I. Lazaridis over 12 years ago Actions #2

Wim Dumon wrote:

Precompiled Wt needs indeed a fix for this.

ok.

I am wondering about your workflow here (Status changed from New to Resolved). Usually, "resolved" is set when the bug is fixed in the repo (pointing to the changeset).

WD Updated by Wim Dumon over 12 years ago Actions #3

I fixed this indeed in the winstng git.

Resolved = fixed in git
Closed = fixed and released in an official version

Best regards,
Wim.

IL Updated by I. Lazaridis over 12 years ago Actions #4

You don't point to the commit here?

Additionally, I noticed that wt is on github:

https://github.com/kdeforche/wt

I'm a bit confused about the repo's, is this one the main winstng repo?

https://elpauer.assembla.com/spaces/winstng/stream

WD Updated by Wim Dumon over 12 years ago Actions #5

winstng is a tool that builds wt and all of its dependencies. It's a combination of shell scripts and cmake files.

The github repository that you refer to is the wt git repository.

BR,
Wim.

IL Updated by I. Lazaridis over 12 years ago Actions #6

I try to locate the commit of your fix for this issue.

Can you please provide a link?

IL Updated by I. Lazaridis over 12 years ago Actions #8

ok.

btw: I noticed that the blog main code contains a relevant line, which can be set to:

server.setServerConfiguration(argc, argv, "c:/witty/wthttpd");

So, working around is trivial.

WD Updated by Wim Dumon over 12 years ago Actions #9

Like I wrote in my first response? ;-)

Wim.

IL Updated by I. Lazaridis over 12 years ago Actions #10

No exactly.

You pointed to the doc.

I gave the relevant code example (after grasping it), making this way the workaround simpler for newcomers.

KD Updated by Koen Deforche over 12 years ago Actions #11

  • Assignee set to Wim Dumon

KD Updated by Koen Deforche over 12 years ago Actions #12

  • Status changed from Resolved to Closed
Actions

Also available in: PDF Atom