Aug 10, 2012; 21:43
Brad Lindsay
LassoApp At Root URI
I'm working on a LassoApp and I'm trying to get it to run without needing everything prefixed by "/lasso9/app_name". I've looked at the documentation (http://www.lassosoft.com/Language-Guide-Lasso-Apps), but it appears to be from pre mod_lasso9. Here's my stab at what what I've come up with in Apache:
<Location ~ "^.*/[^./]{0,8}$">
SetHandler lasso9-handler
Order allow,deny
Allow from all
</Location>
RewriteEngine on
RewriteRule ^(.*)$ - [E=LASSOSERVER_APP_PREFIX:/lasso9/app_name]
If I call a url like "http://example.com/login" I get this:
An unhandled failure during a web request
Error Code: -9945
Error Msg: The path '/login.html' was not found
Error Stack:
13:2 error.lasso
77:3 lassoapp.lasso
116:17 web_response.lasso
137:13 web_response.lasso
126:4 web_response.lasso
122:4 web_response.lasso
122:4 web_response.lasso
239:19 web_response.lasso
182:2 error.lasso
182:2 error.lasso
176:2 error.lasso
175:2 error.lasso
121:3 web_response.lasso
239:19 web_response.lasso
229:3 web_response.lasso
227:6 web_response.lasso
664:17 fastcgi.lasso
182:2 error.lasso
182:2 error.lasso
176:2 error.lasso
175:2 error.lasso
663:2 fastcgi.lasso
287:16 fastcgi.lasso
283:3 fastcgi.lasso
275:2 fastcgi.lasso
182:2 error.lasso
182:2 error.lasso
176:2 error.lasso
175:2 error.lasso
281:2 fastcgi.lasso
275:2 fastcgi.lasso
599:5 fastcgi.lasso
599:5 fastcgi.lasso
598:4 fastcgi.lasso
591:4 fastcgi.lasso
589:21 fastcgi.lasso
And if I just call something like "http://example.com", I get this:
An unhandled failure during a web request
Error Code: -9945
Error Msg: Relative path not permitted.
Error Stack:
13:2 error.lasso
44:4 lassoapp.lasso
42:2 lassoapp.lasso
116:17 web_response.lasso
137:13 web_response.lasso
126:4 web_response.lasso
122:4 web_response.lasso
122:4 web_response.lasso
239:19 web_response.lasso
182:2 error.lasso
182:2 error.lasso
176:2 error.lasso
175:2 error.lasso
121:3 web_response.lasso
239:19 web_response.lasso
229:3 web_response.lasso
227:6 web_response.lasso
664:17 fastcgi.lasso
182:2 error.lasso
182:2 error.lasso
176:2 error.lasso
175:2 error.lasso
663:2 fastcgi.lasso
287:16 fastcgi.lasso
283:3 fastcgi.lasso
275:2 fastcgi.lasso
182:2 error.lasso
182:2 error.lasso
176:2 error.lasso
175:2 error.lasso
281:2 fastcgi.lasso
275:2 fastcgi.lasso
599:5 fastcgi.lasso
599:5 fastcgi.lasso
598:4 fastcgi.lasso
591:4 fastcgi.lasso
589:21 fastcgi.lasso
Before I go any farther, I figured I'd see if anyone has any pointers on how to get this to work.
Thanks,
Brad
#############################################################
This message is sent to you because you are subscribed to
the mailing list Lasso
Lasso@lists.lassosoft.com
To unsubscribe, E-mail to: <Lasso-unsubscribe@lists.lassosoft.com>
Send administrative queries to <Lasso-request@lists.lassosoft.com>