Project

General

Profile

URL's without ?_= and without --docroot=".;..."

Added by Torsten Schulz over 3 years ago

Hey,

I try to get my URL's without the known ?_= running.

I know that with a ---docroot=".;/resources,/images,..." (or ---docroot ".;/images,...) it would work. But when I do that, my application isn't working right. With a normal ---docroot . everything is fine (btw, I made an enableUpdates in the application).

When I set the ---docroot=".;...\", the applications don't accpet any click. And the commandline output looks like that:

127.0.0.1 - - [2020-Sep-14 14:46:01.978] "POST /?wtd=aRvmSAyU8pLwAou3 HTTP/1.1" 200 22
127.0.0.1 - - [2020-Sep-14 14:46:01.982] "POST /?wtd=aRvmSAyU8pLwAou3 HTTP/1.1" 200 22
127.0.0.1 - - [2020-Sep-14 14:46:01.986] "POST /?wtd=aRvmSAyU8pLwAou3 HTTP/1.1" 200 22
127.0.0.1 - - [2020-Sep-14 14:46:01.989] "POST /?wtd=aRvmSAyU8pLwAou3 HTTP/1.1" 200 22
127.0.0.1 - - [2020-Sep-14 14:46:01.992] "POST /?wtd=aRvmSAyU8pLwAou3 HTTP/1.1" 200 22
127.0.0.1 - - [2020-Sep-14 14:46:01.996] "POST /?wtd=aRvmSAyU8pLwAou3 HTTP/1.1" 200 22
127.0.0.1 - - [2020-Sep-14 14:46:01.999] "POST /?wtd=aRvmSAyU8pLwAou3 HTTP/1.1" 200 22
127.0.0.1 - - [2020-Sep-14 14:46:02.003] "POST /?wtd=aRvmSAyU8pLwAou3 HTTP/1.1" 200 22
127.0.0.1 - - [2020-Sep-14 14:46:02.007] "POST /?wtd=aRvmSAyU8pLwAou3 HTTP/1.1" 200 22
127.0.0.1 - - [2020-Sep-14 14:46:02.011] "POST /?wtd=aRvmSAyU8pLwAou3 HTTP/1.1" 200 22
127.0.0.1 - - [2020-Sep-14 14:46:02.015] "POST /?wtd=aRvmSAyU8pLwAou3 HTTP/1.1" 200 22
127.0.0.1 - - [2020-Sep-14 14:46:02.018] "POST /?wtd=aRvmSAyU8pLwAou3 HTTP/1.1" 200 22
127.0.0.1 - - [2020-Sep-14 14:46:02.020] "POST /?wtd=aRvmSAyU8pLwAou3 HTTP/1.1" 200 22
127.0.0.1 - - [2020-Sep-14 14:46:02.024] "POST /?wtd=aRvmSAyU8pLwAou3 HTTP/1.1" 200 22
127.0.0.1 - - [2020-Sep-14 14:46:02.028] "POST /?wtd=aRvmSAyU8pLwAou3 HTTP/1.1" 200 22
127.0.0.1 - - [2020-Sep-14 14:46:02.031] "POST /?wtd=aRvmSAyU8pLwAou3 HTTP/1.1" 200 22
127.0.0.1 - - [2020-Sep-14 14:46:02.034] "POST /?wtd=aRvmSAyU8pLwAou3 HTTP/1.1" 200 22
127.0.0.1 - - [2020-Sep-14 14:46:02.036] "POST /?wtd=aRvmSAyU8pLwAou3 HTTP/1.1" 200 22
127.0.0.1 - - [2020-Sep-14 14:46:02.039] "POST /?wtd=aRvmSAyU8pLwAou3 HTTP/1.1" 200 22
127.0.0.1 - - [2020-Sep-14 14:46:02.043] "POST /?wtd=aRvmSAyU8pLwAou3 HTTP/1.1" 200 22
127.0.0.1 - - [2020-Sep-14 14:46:02.046] "POST /?wtd=aRvmSAyU8pLwAou3 HTTP/1.1" 200 22
127.0.0.1 - - [2020-Sep-14 14:46:02.050] "POST /?wtd=aRvmSAyU8pLwAou3 HTTP/1.1" 200 22
127.0.0.1 - - [2020-Sep-14 14:46:02.053] "POST /?wtd=aRvmSAyU8pLwAou3 HTTP/1.1" 200 22
127.0.0.1 - - [2020-Sep-14 14:46:02.056] "POST /?wtd=aRvmSAyU8pLwAou3 HTTP/1.1" 200 22
127.0.0.1 - - [2020-Sep-14 14:46:02.059] "POST /?wtd=aRvmSAyU8pLwAou3 HTTP/1.1" 200 22
127.0.0.1 - - [2020-Sep-14 14:46:02.063] "POST /?wtd=aRvmSAyU8pLwAou3 HTTP/1.1" 200 22
127.0.0.1 - - [2020-Sep-14 14:46:02.066] "POST /?wtd=aRvmSAyU8pLwAou3 HTTP/1.1" 200 22
127.0.0.1 - - [2020-Sep-14 14:46:02.069] "POST /?wtd=aRvmSAyU8pLwAou3 HTTP/1.1" 200 22
127.0.0.1 - - [2020-Sep-14 14:46:02.073] "POST /?wtd=aRvmSAyU8pLwAou3 HTTP/1.1" 200 22
127.0.0.1 - - [2020-Sep-14 14:46:02.076] "POST /?wtd=aRvmSAyU8pLwAou3 HTTP/1.1" 200 22
127.0.0.1 - - [2020-Sep-14 14:46:02.079] "POST /?wtd=aRvmSAyU8pLwAou3 HTTP/1.1" 200 22
127.0.0.1 - - [2020-Sep-14 14:46:02.083] "POST /?wtd=aRvmSAyU8pLwAou3 HTTP/1.1" 200 22
127.0.0.1 - - [2020-Sep-14 14:46:02.086] "POST /?wtd=aRvmSAyU8pLwAou3 HTTP/1.1" 200 22
127.0.0.1 - - [2020-Sep-14 14:46:02.089] "POST /?wtd=aRvmSAyU8pLwAou3 HTTP/1.1" 200 22
127.0.0.1 - - [2020-Sep-14 14:46:02.093] "POST /?wtd=aRvmSAyU8pLwAou3 HTTP/1.1" 200 22
127.0.0.1 - - [2020-Sep-14 14:46:02.097] "POST /?wtd=aRvmSAyU8pLwAou3 HTTP/1.1" 200 22
127.0.0.1 - - [2020-Sep-14 14:46:02.100] "POST /?wtd=aRvmSAyU8pLwAou3 HTTP/1.1" 200 22
127.0.0.1 - - [2020-Sep-14 14:46:02.103] "POST /?wtd=aRvmSAyU8pLwAou3 HTTP/1.1" 200 22
127.0.0.1 - - [2020-Sep-14 14:46:02.106] "POST /?wtd=aRvmSAyU8pLwAou3 HTTP/1.1" 200 22
127.0.0.1 - - [2020-Sep-14 14:46:02.108] "POST /?wtd=aRvmSAyU8pLwAou3 HTTP/1.1" 200 22
127.0.0.1 - - [2020-Sep-14 14:46:02.111] "POST /?wtd=aRvmSAyU8pLwAou3 HTTP/1.1" 200 22
127.0.0.1 - - [2020-Sep-14 14:46:02.115] "POST /?wtd=aRvmSAyU8pLwAou3 HTTP/1.1" 200 22
127.0.0.1 - - [2020-Sep-14 14:46:02.118] "POST /?wtd=aRvmSAyU8pLwAou3 HTTP/1.1" 200 22
127.0.0.1 - - [2020-Sep-14 14:46:02.121] "POST /?wtd=aRvmSAyU8pLwAou3 HTTP/1.1" 200 22
127.0.0.1 - - [2020-Sep-14 14:46:02.124] "POST /?wtd=aRvmSAyU8pLwAou3 HTTP/1.1" 200 22
127.0.0.1 - - [2020-Sep-14 14:46:02.128] "POST /?wtd=aRvmSAyU8pLwAou3 HTTP/1.1" 200 22
127.0.0.1 - - [2020-Sep-14 14:46:02.131] "POST /?wtd=aRvmSAyU8pLwAou3 HTTP/1.1" 200 22
127.0.0.1 - - [2020-Sep-14 14:46:02.134] "POST /?wtd=aRvmSAyU8pLwAou3 HTTP/1.1" 200 22
127.0.0.1 - - [2020-Sep-14 14:46:02.137] "POST /?wtd=aRvmSAyU8pLwAou3 HTTP/1.1" 200 22
127.0.0.1 - - [2020-Sep-14 14:46:02.140] "POST /?wtd=aRvmSAyU8pLwAou3 HTTP/1.1" 200 22
127.0.0.1 - - [2020-Sep-14 14:46:02.145] "POST /?wtd=aRvmSAyU8pLwAou3 HTTP/1.1" 200 22
127.0.0.1 - - [2020-Sep-14 14:46:02.148] "POST /?wtd=aRvmSAyU8pLwAou3 HTTP/1.1" 200 22
127.0.0.1 - - [2020-Sep-14 14:46:02.152] "POST /?wtd=aRvmSAyU8pLwAou3 HTTP/1.1" 200 22
127.0.0.1 - - [2020-Sep-14 14:46:02.157] "POST /?wtd=aRvmSAyU8pLwAou3 HTTP/1.1" 200 22
127.0.0.1 - - [2020-Sep-14 14:46:02.160] "POST /?wtd=aRvmSAyU8pLwAou3 HTTP/1.1" 200 22
127.0.0.1 - - [2020-Sep-14 14:46:02.162] "POST /?wtd=aRvmSAyU8pLwAou3 HTTP/1.1" 200 22
127.0.0.1 - - [2020-Sep-14 14:46:02.165] "POST /?wtd=aRvmSAyU8pLwAou3 HTTP/1.1" 200 22
^C127.0.0.1 - - [2020-Sep-14 14:46:02.169] "POST /?wtd=aRvmSAyU8pLwAou3 HTTP/1.1" 413 115

So is there a way to remove the ?_= without the enhanced ---docroot?


Replies (9)

RE: URL's without ?_= and without --docroot=".;..." - Added by Roel Standaert over 3 years ago

Except for changing your deployment path there isn't. You could also get away with a simpler docroot argument if you run Wt behind a reverse proxy that handles the static resources differently (basically doing what you do now with the docroot argument, just via the proxy server).

Maybe there's some error in the --docroot argument. I don't know why you'd get that behavior. First time I hear of an issue like that. There's nothing at all in the console of your browser, or in Wt's error log?

RE: URL's without ?_= and without --docroot=".;..." - Added by Torsten Schulz over 3 years ago

I tried it with the hello example to:

torsten:~/libs/wt-4.4.0/examples/hello> g++-10 -o hello.wt -lwt -lwthttp hello.C
torsten:~/libs/wt-4.4.0/examples/hello> ./hello.wt --docroot=".;/images" --http-port 1236 --http-address 0.0.0.0
[2020-Sep-14 15:04:58.853] 30760 - [info] "WLogger: Opened log file (/var/log/wt.log)."
127.0.0.1 - - [2020-Sep-14 15:05:01.519] "GET / HTTP/1.1" 200 2284
127.0.0.1 - - [2020-Sep-14 15:05:01.536] "POST /?wtd=tn9Hn8dw2gzh8ZEE HTTP/1.1" 403 62
127.0.0.1 - - [2020-Sep-14 15:05:01.570] "GET /?wtd=ySTAz4AfTjo9knvQ&request=style&page=1 HTTP/1.1" 200 88
127.0.0.1 - - [2020-Sep-14 15:05:01.570] "GET /?wtd=ySTAz4AfTjo9knvQ&sid=350519246&webGL=true&scrW=1920&scrH=1080&tz=120&tzS=Europe%2FBerlin&htmlHistory=true&deployPath=%2F&request=script&rand=2083515401 HTTP/1.1" 200 38260
127.0.0.1 - - [2020-Sep-14 15:05:01.575] "GET /resources/themes/default/wt.css HTTP/1.1" 200 3054
127.0.0.1 - - [2020-Sep-14 15:05:01.575] "GET /resources/moz-transitions.css HTTP/1.1" 200 3057
127.0.0.1 - - [2020-Sep-14 15:05:01.660] "POST /?wtd=ySTAz4AfTjo9knvQ HTTP/1.1" 200 22
127.0.0.1 - - [2020-Sep-14 15:05:01.667] "POST /?wtd=ySTAz4AfTjo9knvQ HTTP/1.1" 200 22
127.0.0.1 - - [2020-Sep-14 15:05:01.672] "POST /?wtd=ySTAz4AfTjo9knvQ HTTP/1.1" 200 22
127.0.0.1 - - [2020-Sep-14 15:05:01.676] "POST /?wtd=ySTAz4AfTjo9knvQ HTTP/1.1" 200 22
127.0.0.1 - - [2020-Sep-14 15:05:01.683] "POST /?wtd=ySTAz4AfTjo9knvQ HTTP/1.1" 200 22
127.0.0.1 - - [2020-Sep-14 15:05:01.688] "POST /?wtd=ySTAz4AfTjo9knvQ HTTP/1.1" 200 22
127.0.0.1 - - [2020-Sep-14 15:05:01.692] "POST /?wtd=ySTAz4AfTjo9knvQ HTTP/1.1" 200 22
127.0.0.1 - - [2020-Sep-14 15:05:01.696] "POST /?wtd=ySTAz4AfTjo9knvQ HTTP/1.1" 200 22
127.0.0.1 - - [2020-Sep-14 15:05:01.699] "POST /?wtd=ySTAz4AfTjo9knvQ HTTP/1.1" 200 22
127.0.0.1 - - [2020-Sep-14 15:05:01.703] "POST /?wtd=ySTAz4AfTjo9knvQ HTTP/1.1" 200 22
127.0.0.1 - - [2020-Sep-14 15:05:01.707] "POST /?wtd=ySTAz4AfTjo9knvQ HTTP/1.1" 200 22
127.0.0.1 - - [2020-Sep-14 15:05:01.712] "POST /?wtd=ySTAz4AfTjo9knvQ HTTP/1.1" 200 22
127.0.0.1 - - [2020-Sep-14 15:05:01.716] "POST /?wtd=ySTAz4AfTjo9knvQ HTTP/1.1" 200 22
127.0.0.1 - - [2020-Sep-14 15:05:01.720] "POST /?wtd=ySTAz4AfTjo9knvQ HTTP/1.1" 200 22
127.0.0.1 - - [2020-Sep-14 15:05:01.723] "POST /?wtd=ySTAz4AfTjo9knvQ HTTP/1.1" 200 22
127.0.0.1 - - [2020-Sep-14 15:05:01.727] "POST /?wtd=ySTAz4AfTjo9knvQ HTTP/1.1" 200 22
127.0.0.1 - - [2020-Sep-14 15:05:01.732] "POST /?wtd=ySTAz4AfTjo9knvQ HTTP/1.1" 200 22
127.0.0.1 - - [2020-Sep-14 15:05:01.737] "POST /?wtd=ySTAz4AfTjo9knvQ HTTP/1.1" 200 22
127.0.0.1 - - [2020-Sep-14 15:05:01.740] "POST /?wtd=ySTAz4AfTjo9knvQ HTTP/1.1" 200 22
127.0.0.1 - - [2020-Sep-14 15:05:01.744] "POST /?wtd=ySTAz4AfTjo9knvQ HTTP/1.1" 200 22
127.0.0.1 - - [2020-Sep-14 15:05:01.749] "POST /?wtd=ySTAz4AfTjo9knvQ HTTP/1.1" 200 22
127.0.0.1 - - [2020-Sep-14 15:05:01.756] "POST /?wtd=ySTAz4AfTjo9knvQ HTTP/1.1" 200 22
127.0.0.1 - - [2020-Sep-14 15:05:01.766] "POST /?wtd=ySTAz4AfTjo9knvQ HTTP/1.1" 200 22
127.0.0.1 - - [2020-Sep-14 15:05:01.770] "POST /?wtd=ySTAz4AfTjo9knvQ HTTP/1.1" 200 22
127.0.0.1 - - [2020-Sep-14 15:05:01.773] "POST /?wtd=ySTAz4AfTjo9knvQ HTTP/1.1" 200 22
127.0.0.1 - - [2020-Sep-14 15:05:01.780] "POST /?wtd=ySTAz4AfTjo9knvQ HTTP/1.1" 200 22
127.0.0.1 - - [2020-Sep-14 15:05:01.784] "POST /?wtd=ySTAz4AfTjo9knvQ HTTP/1.1" 200 22
127.0.0.1 - - [2020-Sep-14 15:05:01.789] "POST /?wtd=ySTAz4AfTjo9knvQ HTTP/1.1" 200 22
127.0.0.1 - - [2020-Sep-14 15:05:01.792] "POST /?wtd=ySTAz4AfTjo9knvQ HTTP/1.1" 200 22
127.0.0.1 - - [2020-Sep-14 15:05:01.800] "POST /?wtd=ySTAz4AfTjo9knvQ HTTP/1.1" 200 22
127.0.0.1 - - [2020-Sep-14 15:05:01.804] "POST /?wtd=ySTAz4AfTjo9knvQ HTTP/1.1" 200 22
127.0.0.1 - - [2020-Sep-14 15:05:01.808] "POST /?wtd=ySTAz4AfTjo9knvQ HTTP/1.1" 200 22
127.0.0.1 - - [2020-Sep-14 15:05:01.813] "POST /?wtd=ySTAz4AfTjo9knvQ HTTP/1.1" 200 22
127.0.0.1 - - [2020-Sep-14 15:05:01.816] "POST /?wtd=ySTAz4AfTjo9knvQ HTTP/1.1" 200 22
127.0.0.1 - - [2020-Sep-14 15:05:01.821] "POST /?wtd=ySTAz4AfTjo9knvQ HTTP/1.1" 200 22
127.0.0.1 - - [2020-Sep-14 15:05:01.825] "POST /?wtd=ySTAz4AfTjo9knvQ HTTP/1.1" 200 22
127.0.0.1 - - [2020-Sep-14 15:05:01.833] "POST /?wtd=ySTAz4AfTjo9knvQ HTTP/1.1" 200 22
127.0.0.1 - - [2020-Sep-14 15:05:01.837] "POST /?wtd=ySTAz4AfTjo9knvQ HTTP/1.1" 200 22
127.0.0.1 - - [2020-Sep-14 15:05:01.841] "POST /?wtd=ySTAz4AfTjo9knvQ HTTP/1.1" 200 22
127.0.0.1 - - [2020-Sep-14 15:05:01.844] "POST /?wtd=ySTAz4AfTjo9knvQ HTTP/1.1" 200 22
127.0.0.1 - - [2020-Sep-14 15:05:01.849] "POST /?wtd=ySTAz4AfTjo9knvQ HTTP/1.1" 200 22
127.0.0.1 - - [2020-Sep-14 15:05:01.852] "POST /?wtd=ySTAz4AfTjo9knvQ HTTP/1.1" 200 22
127.0.0.1 - - [2020-Sep-14 15:05:01.856] "POST /?wtd=ySTAz4AfTjo9knvQ HTTP/1.1" 200 22
127.0.0.1 - - [2020-Sep-14 15:05:01.859] "POST /?wtd=ySTAz4AfTjo9knvQ HTTP/1.1" 200 22
127.0.0.1 - - [2020-Sep-14 15:05:01.864] "POST /?wtd=ySTAz4AfTjo9knvQ HTTP/1.1" 200 22
127.0.0.1 - - [2020-Sep-14 15:05:01.867] "POST /?wtd=ySTAz4AfTjo9knvQ HTTP/1.1" 200 22
127.0.0.1 - - [2020-Sep-14 15:05:01.871] "POST /?wtd=ySTAz4AfTjo9knvQ HTTP/1.1" 200 22
127.0.0.1 - - [2020-Sep-14 15:05:01.875] "POST /?wtd=ySTAz4AfTjo9knvQ HTTP/1.1" 200 22
127.0.0.1 - - [2020-Sep-14 15:05:01.878] "POST /?wtd=ySTAz4AfTjo9knvQ HTTP/1.1" 200 22
127.0.0.1 - - [2020-Sep-14 15:05:01.882] "POST /?wtd=ySTAz4AfTjo9knvQ HTTP/1.1" 200 22
127.0.0.1 - - [2020-Sep-14 15:05:01.885] "POST /?wtd=ySTAz4AfTjo9knvQ HTTP/1.1" 200 22
127.0.0.1 - - [2020-Sep-14 15:05:01.890] "POST /?wtd=ySTAz4AfTjo9knvQ HTTP/1.1" 200 22
127.0.0.1 - - [2020-Sep-14 15:05:01.894] "POST /?wtd=ySTAz4AfTjo9knvQ HTTP/1.1" 200 22
127.0.0.1 - - [2020-Sep-14 15:05:01.899] "POST /?wtd=ySTAz4AfTjo9knvQ HTTP/1.1" 200 22
127.0.0.1 - - [2020-Sep-14 15:05:01.903] "POST /?wtd=ySTAz4AfTjo9knvQ HTTP/1.1" 200 22
127.0.0.1 - - [2020-Sep-14 15:05:01.906] "POST /?wtd=ySTAz4AfTjo9knvQ HTTP/1.1" 200 22
127.0.0.1 - - [2020-Sep-14 15:05:01.909] "POST /?wtd=ySTAz4AfTjo9knvQ HTTP/1.1" 200 22
127.0.0.1 - - [2020-Sep-14 15:05:01.923] "POST /?wtd=ySTAz4AfTjo9knvQ HTTP/1.1" 200 22
127.0.0.1 - - [2020-Sep-14 15:05:01.928] "POST /?wtd=ySTAz4AfTjo9knvQ HTTP/1.1" 200 22
127.0.0.1 - - [2020-Sep-14 15:05:01.932] "POST /?wtd=ySTAz4AfTjo9knvQ HTTP/1.1" 200 22
127.0.0.1 - - [2020-Sep-14 15:05:01.935] "POST /?wtd=ySTAz4AfTjo9knvQ HTTP/1.1" 200 22
127.0.0.1 - - [2020-Sep-14 15:05:01.939] "POST /?wtd=ySTAz4AfTjo9knvQ HTTP/1.1" 200 22
127.0.0.1 - - [2020-Sep-14 15:05:01.942] "POST /?wtd=ySTAz4AfTjo9knvQ HTTP/1.1" 200 22
127.0.0.1 - - [2020-Sep-14 15:05:01.946] "POST /?wtd=ySTAz4AfTjo9knvQ HTTP/1.1" 200 22
127.0.0.1 - - [2020-Sep-14 15:05:01.950] "POST /?wtd=ySTAz4AfTjo9knvQ HTTP/1.1" 200 22
127.0.0.1 - - [2020-Sep-14 15:05:01.953] "POST /?wtd=ySTAz4AfTjo9knvQ HTTP/1.1" 200 22
127.0.0.1 - - [2020-Sep-14 15:05:01.957] "POST /?wtd=ySTAz4AfTjo9knvQ HTTP/1.1" 200 22
127.0.0.1 - - [2020-Sep-14 15:05:01.963] "POST /?wtd=ySTAz4AfTjo9knvQ HTTP/1.1" 200 22
127.0.0.1 - - [2020-Sep-14 15:05:01.968] "POST /?wtd=ySTAz4AfTjo9knvQ HTTP/1.1" 200 22
127.0.0.1 - - [2020-Sep-14 15:05:01.974] "POST /?wtd=ySTAz4AfTjo9knvQ HTTP/1.1" 200 22
127.0.0.1 - - [2020-Sep-14 15:05:01.982] "POST /?wtd=ySTAz4AfTjo9knvQ HTTP/1.1" 200 22
127.0.0.1 - - [2020-Sep-14 15:05:01.987] "POST /?wtd=ySTAz4AfTjo9knvQ HTTP/1.1" 200 22
127.0.0.1 - - [2020-Sep-14 15:05:01.991] "POST /?wtd=ySTAz4AfTjo9knvQ HTTP/1.1" 200 22
127.0.0.1 - - [2020-Sep-14 15:05:01.999] "POST /?wtd=ySTAz4AfTjo9knvQ HTTP/1.1" 200 22
127.0.0.1 - - [2020-Sep-14 15:05:02.003] "POST /?wtd=ySTAz4AfTjo9knvQ HTTP/1.1" 200 22
127.0.0.1 - - [2020-Sep-14 15:05:02.007] "POST /?wtd=ySTAz4AfTjo9knvQ HTTP/1.1" 200 22
127.0.0.1 - - [2020-Sep-14 15:05:02.015] "POST /?wtd=ySTAz4AfTjo9knvQ HTTP/1.1" 200 22

Thats the output of the log file:

[2020-Sep-14 15:11:14.620] 8911 - [info] "config: reading Wt config file: /etc/wt/wt_config.xml (location = './hello.wt')"
[2020-Sep-14 15:11:14.621] 8911 - [info] "WServer/wthttp: initializing built-in wthttpd"
[2020-Sep-14 15:11:14.622] 8911 - [info] "wthttp: started server: http://0.0.0.0:1236"
[2020-Sep-14 15:11:15.908] 8911 - [info] "Wt: session created (#sessions = 1)"
[2020-Sep-14 15:11:15.909] 8911 [/ FGkKRZ1m773zV6l2] [info] "WEnvironment: UserAgent: Mozilla/5.0 (X11; Linux x86_64; rv:80.0) Gecko/20100101 Firefox/80.0"
[2020-Sep-14 15:11:15.913] 8911 - [info] "WebRequest: took 5.319 ms"
[2020-Sep-14 15:11:16.028] 8911 - [info] "WebRequest: took 23.17 ms"
[2020-Sep-14 15:11:16.029] 8911 - [info] "WebRequest: took 13.482 ms"
[2020-Sep-14 15:11:16.070] 8911 [/ FGkKRZ1m773zV6l2] [info] "Wt: refreshing session"
[2020-Sep-14 15:11:16.072] 8911 - [info] "WebRequest: took 2.178 ms"
[2020-Sep-14 15:11:16.072] 8911 [/ FGkKRZ1m773zV6l2] [info] "Wt: refreshing session"
[2020-Sep-14 15:11:16.074] 8911 - [info] "WebRequest: took 1.929 ms"
[2020-Sep-14 15:11:16.168] 8911 - [info] "WebRequest: took 0.515 ms"
[2020-Sep-14 15:11:16.187] 8911 - [info] "WebRequest: took 0.38 ms"
[2020-Sep-14 15:11:16.203] 8911 - [info] "WebRequest: took 0.389 ms"
[2020-Sep-14 15:11:16.226] 8911 - [info] "WebRequest: took 0.462 ms"
[2020-Sep-14 15:11:16.242] 8911 - [info] "WebRequest: took 0.456 ms"
[2020-Sep-14 15:11:16.266] 8911 - [info] "WebRequest: took 0.358 ms"
[2020-Sep-14 15:11:16.300] 8911 - [info] "WebRequest: took 0.373 ms"
[2020-Sep-14 15:11:16.309] 8911 - [info] "WebRequest: took 0.353 ms"
[2020-Sep-14 15:11:16.326] 8911 - [info] "WebRequest: took 0.588 ms"
[2020-Sep-14 15:11:16.342] 8911 - [info] "WebRequest: took 0.396 ms"
[2020-Sep-14 15:11:16.371] 8911 - [info] "WebRequest: took 0.379 ms"
[2020-Sep-14 15:11:16.382] 8911 - [info] "WebRequest: took 0.383 ms"
[2020-Sep-14 15:11:16.398] 8911 - [info] "WebRequest: took 0.486 ms"
[2020-Sep-14 15:11:16.409] 8911 - [info] "WebRequest: took 0.435 ms"
[2020-Sep-14 15:11:16.421] 8911 - [info] "WebRequest: took 0.331 ms"
[2020-Sep-14 15:11:16.445] 8911 - [info] "WebRequest: took 0.367 ms"
[2020-Sep-14 15:11:16.454] 8911 - [info] "WebRequest: took 0.459 ms"
[2020-Sep-14 15:11:16.463] 8911 - [info] "WebRequest: took 0.253 ms"
[2020-Sep-14 15:11:16.474] 8911 - [info] "WebRequest: took 0.366 ms"
[2020-Sep-14 15:11:16.486] 8911 - [info] "WebRequest: took 0.316 ms"
[2020-Sep-14 15:11:16.506] 8911 - [info] "WebRequest: took 0.469 ms"
[2020-Sep-14 15:11:16.516] 8911 - [info] "WebRequest: took 0.328 ms"
[2020-Sep-14 15:11:16.525] 8911 - [info] "WebRequest: took 0.464 ms"
[2020-Sep-14 15:11:16.543] 8911 - [info] "WebRequest: took 0.381 ms"
[2020-Sep-14 15:11:16.553] 8911 - [info] "WebRequest: took 0.475 ms"
[2020-Sep-14 15:11:16.573] 8911 - [info] "WebRequest: took 0.526 ms"
[2020-Sep-14 15:11:16.586] 8911 - [info] "WebRequest: took 0.622 ms"
[2020-Sep-14 15:11:16.599] 8911 - [info] "WebRequest: took 0.379 ms"
[2020-Sep-14 15:11:16.607] 8911 - [info] "WebRequest: took 0.371 ms"
[2020-Sep-14 15:11:16.617] 8911 - [info] "WebRequest: took 0.389 ms"
[2020-Sep-14 15:11:16.636] 8911 - [info] "WebRequest: took 0.381 ms"
[2020-Sep-14 15:11:16.647] 8911 - [info] "WebRequest: took 0.492 ms"
[2020-Sep-14 15:11:16.657] 8911 - [info] "WebRequest: took 0.43 ms"
[2020-Sep-14 15:11:16.667] 8911 - [info] "WebRequest: took 0.494 ms"
[2020-Sep-14 15:11:16.676] 8911 - [info] "WebRequest: took 0.377 ms"
[2020-Sep-14 15:11:16.686] 8911 - [info] "WebRequest: took 0.303 ms"
[2020-Sep-14 15:11:16.708] 8911 - [info] "WebRequest: took 0.38 ms"
[2020-Sep-14 15:11:16.717] 8911 - [info] "WebRequest: took 0.314 ms"
[2020-Sep-14 15:11:16.728] 8911 - [info] "WebRequest: took 0.381 ms"
[2020-Sep-14 15:11:16.737] 8911 - [info] "WebRequest: took 0.473 ms"
[2020-Sep-14 15:11:16.746] 8911 - [info] "WebRequest: took 0.304 ms"

A screenshot of the browser console I added too. And as I said, I can type in text, but clicking on the button does nothing.

RE: URL's without ?_= and without --docroot=".;..." - Added by Torsten Schulz over 3 years ago

I forgot: This is happening on my local Tumbleweed computer. But I can reproduce this behaviour on a Ubuntu 16.04 server.

RE: URL's without ?_= and without --docroot=".;..." - Added by Roel Standaert over 3 years ago

In this case, I can already see that /resources is missing from your --docroot argument, maybe your browser is handling that in a way that causes this issue?

RE: URL's without ?_= and without --docroot=".;..." - Added by Torsten Schulz over 3 years ago

But it is chrome and firefox in newest version.

RE: URL's without ?_= and without --docroot=".;..." - Added by Roel Standaert over 3 years ago

Is the problem fixed if you add /resources to your docroot argument?

RE: URL's without ?_= and without --docroot=".;..." - Added by Torsten Schulz over 3 years ago

In Firefox yes, in Chrome (Linux, Version 85.0.4183.102) no

RE: URL's without ?_= and without --docroot=".;..." - Added by Roel Standaert over 3 years ago

Do you then get a 404 for those resources? Do you have the symlink to the resources folder in place? Alternatively, you can use the --resources-dir argument. I've never it fail in such a way before. Usually the browser will try to request your resource, not know what to do with the response (since it will get an HTTP page instead of CSS), and just discard it, and that doesn't cause rapidly repeating requests.

RE: URL's without ?_= and without --docroot=".;..." - Added by Torsten Schulz over 3 years ago

Also the use of --resources-dir don't solve it.

I tried it now with a proxy what's generally working. But unfortunately, the application is generating the URL's in the /?_= style. :(

    (1-9/9)