Re: [Cppcms-users] Using root dir as application root
Brought to you by:
artyom-beilis
From: doug l. <bi...@gm...> - 2012-04-22 13:51:07
|
Ah, well I was too dumb to know I wasn't being dumb, then. Which I'll leave as a paradox to unravel another time ... ;) Thanks very much for the link, there! On 22 April 2012 14:45, Artyom Beilis <art...@ya...> wrote: > Not a dumb question, and your solution is not correct: > > but there is an answer: > > http://cppcms.com/wikipp/en/page/run_application_web_server_root > > > Artyom Beilis > -------------- > CppCMS - C++ Web Framework: http://cppcms.com/ > CppDB - C++ SQL Connectivity: http://cppcms.com/sql/cppdb/ > > ------------------------------ > *From:* doug livesey <bi...@gm...> > *To:* cpp...@li... > *Sent:* Sunday, April 22, 2012 4:39 PM > *Subject:* Re: [Cppcms-users] Using root dir as application root > > Okay, dumb question, sorry! > I just did it by changing the "script_names" config param to [ "/"] > -- I thought I'd struggled with this before, but I guess not. :) > > On 22 April 2012 14:37, doug livesey <bi...@gm...> wrote: > > Hi -- all of the tutorials seem to use a non-root directory (such as > "hello/" or "myapp/") as the root for the application. > Is it possible with cppcms to have the root directory be the application > root? > So that, for example, I could make the hello world application run in the > browser from "http://localhost:8080/"? > Cheers, > Doug. > > > > > ------------------------------------------------------------------------------ > For Developers, A Lot Can Happen In A Second. > Boundary is the first to Know...and Tell You. > Monitor Your Applications in Ultra-Fine Resolution. Try it FREE! > http://p.sf.net/sfu/Boundary-d2dvs2 > _______________________________________________ > Cppcms-users mailing list > Cpp...@li... > https://lists.sourceforge.net/lists/listinfo/cppcms-users > > > > > ------------------------------------------------------------------------------ > For Developers, A Lot Can Happen In A Second. > Boundary is the first to Know...and Tell You. > Monitor Your Applications in Ultra-Fine Resolution. Try it FREE! > http://p.sf.net/sfu/Boundary-d2dvs2 > _______________________________________________ > Cppcms-users mailing list > Cpp...@li... > https://lists.sourceforge.net/lists/listinfo/cppcms-users > > |