Project

General

Profile

Change app's url name

Added by Hanan Natan over 9 years ago

Hi,

As a beginner in wt i have 2 questions:

  • How can i change the url of my app so that it run when i access somedomain.com\index.php ?

For now i am using the build-in httpd server on windows platform and i would like to know whether i need to change the configuration on the code or on some config file.

Thanks.


Replies (2)

RE: Change app's url name - Added by Hanan Natan over 9 years ago

I found an answer [[http://stackoverflow.com/a/15990617/963318\]] and it works for me.

Eventhough it works i still get many warnings in the build process like:

warning C4251: 'Wt::WText::flags_' : class 'std::bitset<9>' needs to have dll-interface to be used by clients of class 'Wt::WText'

How can i get rid of these warnings?

BTW i compile in VS 2013 on Win8.1.

Thanks.

RE: Change app's url name - Added by Wim Dumon over 9 years ago

Hi Nathan,

The best thing you can do to this warning to to turn it off. While building Wt we turn of quite a few warnings:

/wd4251 /wd4275 /wd4355 /wd4800 /wd4996 /wd4101 /wd4267

Wim.

    (1-2/2)