World: r3wp
[!Cheyenne] Discussions about the Cheyenne Web Server
older newer | first last |
Endo 21-Apr-2009 [4408] | yep, you got my point before I say :) |
Dockimbel 21-Apr-2009 [4409] | :-) |
Endo 21-Apr-2009 [4410] | I want to execute .r files in cheyenne, so should I change the plugin's extension? |
Dockimbel 21-Apr-2009 [4411] | Yes, that's the correct solution. |
Endo 21-Apr-2009 [4412] | ok, thanks. I'll try to reproduce the service problem, but currently it works well. thanks. |
Dockimbel 21-Apr-2009 [4413] | If you have issues again with the service mode, try running Cheyenne with the -vvv command line option to log debugging messages. |
Robert 30-Apr-2009 [4414x4] | DEBUG: I'm I right that the newest version doesn't send a Rebol error to the client anymore? How can I re-enable this "feature" for non-web-app pages? |
Something like: debug: true? | |
Does Chyenne support the HTPP request method DELETE out of the box? GET, POST & PUT work. But DELETE seems to be handled differently. | |
Web-Apps Login: Is the login page always presented as first page if a user isn't yet logged in and tried to access an other page directly? | |
BrianH 30-Apr-2009 [4418x2] | Yes, in my experience, as long as the other page is in the web app directory. You can't even use an external CSS file in the directory until you log in, even if it is referenced from the login page. |
Web-Apps Login: Is basic authentication supported? I have a situation where form-and-cookie authentication is awkward. | |
Janko 30-Apr-2009 [4420x2] | I think you can if you put it in public/ folder inside secured folder.. at least that's how it works here |
I mean access css/js.. files | |
Robert 30-Apr-2009 [4422] | secured folder = web-app folder? |
BrianH 30-Apr-2009 [4423] | Oh, and cool, thanks. I really need basic authentication though, with no cookies required. Either that or to be able to specify sessionids as get parameters, or maybe post sometimes. I need to support stateless clients. |
Janko 30-Apr-2009 [4424] | yes, <web-app>/public/ |
Dockimbel 30-Apr-2009 [4425] | DEBUG: you're right. You can re-enable that by adding a DEBUG keyword in httpd.cfg in domain or webapp config block.. |
Robert 30-Apr-2009 [4426] | DEBUG: Can I enable it via a RSP API call or a flag for just a specific RSP file? |
Dockimbel 30-Apr-2009 [4427] | Let me see if it can be done easily... |
BrianH 30-Apr-2009 [4428] | I'm running Cheyenne in an EC2 instance, btw. Even the cheapest, bottom-of-the-line instance runs Cheyenne really quickly. |
Dockimbel 30-Apr-2009 [4429] | Try adding this line at the beginning of the RSP script (it shouldn't affect other scripts) : debug-banner/active?: yes |
BrianH 30-Apr-2009 [4430] | Is debug-banner page-local or app-local? |
Dockimbel 30-Apr-2009 [4431x4] | It's reset at every RSP request. |
So, doing as explained would make it page-local. | |
DELETE: not out of the box. If you want to add support for new HTTP methods, you need to build a custom module for Cheyenne that would take precedence over mod-static/method-support handler. If you need it as RSP level only, you can just edit that handler and add whatever method you need. I may add a config option to be able to extend allowed methods in a cleaner way. | |
What OS are you using on EC2? | |
BrianH 30-Apr-2009 [4435] | I went with a web app for the database connection management and authentication, but now I find out I need to support stateless clients. So, no persistent cookies. Help? |
Graham 30-Apr-2009 [4436] | 18th March "No builtin support for basic auth. You need to provide your own code. 'on-page-start would be a good place to put that kind of filter." |
Dockimbel 30-Apr-2009 [4437] | Thanks for digging up that post. :-) |
BrianH 30-Apr-2009 [4438] | Darn. I'll figure it out tomorrow then. Any problems with creating a throw-away session every five minutes? |
Graham 30-Apr-2009 [4439x2] | Just shows I wasn't the only one wanting ( not necessarily needing though ) ba. |
:) | |
Dockimbel 30-Apr-2009 [4441x2] | Brian: It shouldn't be a problem. Sessions block is hashed, so session access time is constant and the only impact is on memory usage. |
Graham: I suspected a hidden message ;-). | |
Graham 30-Apr-2009 [4443] | Was I so transparent ?? |
Janko 30-Apr-2009 [4444] | Brian.. are there any special requirements to run cheyenne on EC2 or is that like any other vps? |
Dockimbel 30-Apr-2009 [4445] | Taking the time to read all messages back to 18h March to dig it up was most probably driven by another goal than just saving me from re-typing it. :-) |
Graham 30-Apr-2009 [4446] | ummm.... see the magnifying glass top right? It's called a search tool :) |
Janko 30-Apr-2009 [4447] | hm.. I need to figure out one day how those EC2 prices "$0.10 per instance hour" translate or compare to some small VPS |
Dockimbel 30-Apr-2009 [4448] | Damn, that's the first time I'm noticing that feature in AltMe! |
Graham 30-Apr-2009 [4449x2] | much more expensive |
If you run your EC2 instance 24/7 ... probably 3x the cost or more | |
Janko 30-Apr-2009 [4451] | I run 2 cheyenne webites (site-assistant and qwikitodo) and 2 apache solr servers and a bunch of rebol bots on 180MB RAM VPS for 12EUR/month.. and pages load in a snap (unless I add sqlite update/delete/insert to the pageload) |
Graham 30-Apr-2009 [4452] | All kidding aside, BA would be useful .. it's also needed for mod-rest.r |
Dockimbel 30-Apr-2009 [4453x3] | I agree, I just need to figure out how to best integrate it. |
Web-Apps Login: Is the login page always presented as first page if a user isn't yet logged in and tried to access an other page directly? It depends, if you're using the AUTH keyword in the webapp config bloc, that's true. If AUTH is not used, you can access every webapp resource directly, it's up to each RSP to manage the access rights strategy. That's how CureCode webapp works. It uses a common filter script called from 'on-page-start to control access. | |
BrianH: "I really need basic authentication though, with no cookies required. Either that or to be able to specify sessionids as get parameters, or maybe post sometimes." Passing RSP session ID as GET or POST parameter is supported in latest release. | |
BrianH 30-Apr-2009 [4456x2] | The only requirement I specified was that it be x86-compatible Linux. Someone else built it. Be sure to back up though, in case the instance goes away unannounced. |
What is the parameter named? | |
older newer | first last |