> It's not always possible to get the Application-URL. That's a problem > with other server-side weblanguages too.
Maybe... the PHP framework I use require me to specify the base URL (relative from the host:port) like /myproj/ for http://localhost:8080/myproj/ assuming the webserver is listening at localhost on port 8080. But only up to that point, the other parts are determined from the environment variables (I guess). Back to the problem, using relative URL is not a solution as well. When I do http://localhost/proj/proj.cgi/module/action then if somewhere I put public/style/style.css then the link becomes: http://localhost/proj/proj.cgi/module/public/style/style.css, regardless of the webapp type (at least on Chrome, don't know about other browsers). Isn't there really a way somehow? -- View this message in context: http://free-pascal-lazarus.989080.n3.nabble.com/EmbWeb-Moving-between-webapp-type-caveats-tp3053108p3059323.html Sent from the Free Pascal - Lazarus mailing list archive at Nabble.com. -- _______________________________________________ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus