Hi
I am trying to run a D server with vibe.d
dub build runs ok, No isuue.
dub run gives me this
Failed to execute '/usr/home/synlir/domains/synlir.serv00.net/public_html/synlir/synlir' (Permission denied)
I am aware that I don#t have nor should i see root access, but D is installed. which i would like to use.
Here is my app.d
import vibe.vibe;
import routes;
import std.file;
//void main() , conflicts with vibemain
shared static this()
{
chdir("/usr/home/synlir/domains/synlir.serv00.net/public_html/synlir"); // moved to my working directory. i have read / write perms here. but no execute?
auto settings = new HTTPServerSettings;
settings.port = 80;
settings.bindAddresses = ["0.0.0.0"];
// settings.workingDirectory = "/usr/home/synlir/domains/synlir.serv00.net/public_html/synlir"; --- wrong syntax
auto router = new URLRouter;
registerRoutes(router); // Delegate route setup to `routes.d`
listenHTTP(settings, router);
logInfo("Server started on synlir");
}
All help is appreciated. Thanks.