Re: [Cppcms-users] Attempting to run cppcms at webroot
Brought to you by:
artyom-beilis
From: David E. <dav...@gm...> - 2011-09-01 01:19:29
|
i was going to use lighttpd. On Wed, Aug 31, 2011 at 3:40 AM, augustin <aug...@ov...>wrote: > On Wednesday, August 31, 2011 01:28:12 PM Artyom Beilis wrote: > > So you need to do apply some URL rewriting rules such that path > > "/something" would map to lets say "/blog.cgi/something" where > "/blog.cgi" > > is the FastCGI script name. > > I am not Allan, but that's what I did, too. > > David doesn't say which web server he uses. > mod_rewrite with apache2 works like a charm. > > .htaccess: > > <IfModule mod_rewrite.c> > RewriteEngine on > > RewriteCond %{REQUEST_FILENAME} !-f > RewriteCond %{REQUEST_FILENAME} !-d > RewriteRule ^(.*)$ my_app.cgi/$1 [L,QSA] > </IfModule> > > > Of course, Apache2 must be properly configured to allow .htaccess override > of > mod_rewrite. > > David: this is likely to become a FAQ (literally): can you add a new page > about this somewhere in the wiki? > > Blessings, > > Augustin. > > > > -- > Friends: http://www.reuniting.info/ > My projects: > http://astralcity.org/ http://3enjeux.overshoot.tv/ > http://linux.overshoot.tv/ > http://overshoot.tv/ http://charityware.info/ http://masquilier.org/ > http://openteacher.info/ http://minguo.info/ > http://www.wechange.org/ http://searching911.info/ > > > > > > > > > > > > > . > > > ------------------------------------------------------------------------------ > Special Offer -- Download ArcSight Logger for FREE! > Finally, a world-class log management solution at an even better > price-free! And you'll get a free "Love Thy Logs" t-shirt when you > download Logger. Secure your free ArcSight Logger TODAY! > http://p.sf.net/sfu/arcsisghtdev2dev > _______________________________________________ > Cppcms-users mailing list > Cpp...@li... > https://lists.sourceforge.net/lists/listinfo/cppcms-users > |