Hello!
I already did some experiments with Wt, now I'm trying to build a full
featured website.

I'm using apache and mod-fcgid, as I saw it's much better for performances
and scalability, but it seems that the path isn't propagated to the app
(which is needed for both bookmarks saving, and for handling mail
verification).

I want something similar to mod-proxy behaviour, so when the path
/appPath/auth/mail/xx is requested, internalPath should be "auth/mail/xx",
but instead internal path seems to always be "/" when I open a new browser
window.

I saw this page:
http://redmine.webtoolkit.eu/projects/wt/wiki/Fastcgi_on_apache which
explains some fcgid options, but they seem to be quite different to what I
want to achieve.

here's  the content of my apache virtualhost configuration section:

        FcgidCmdOptions /var/www/myApp/bin/myapp InitialEnv
WT_CONFIG_XML=/var/www/myApp/webroot/configurations/wt_config.xml

        Alias /resources/ /usr/share/Wt/resources/
        Alias /static/  /var/www/myApp/webroot/static/

        RedirectMatch ^/$ /web/
        <LocationMatch "/web.*">
# Also tried Location /web, still the same..
                Options FollowSymLinks Includes +ExecCGI
                Order allow,deny
                Allow from all
                FcgidWrapper /var/www/myApp/bin/myapp virtual
                SetHandler fcgid-script
        </LocationMatch>

Thanks
Marco
------------------------------------------------------------------------------
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. ON SALE this month only -- learn more at:
http://p.sf.net/sfu/learnmore_123012
_______________________________________________
witty-interest mailing list
witty-interest@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/witty-interest

Reply via email to