World: r3wp
[CGI] web server issues
older | first |
Pekr 8-Apr-2009 [806] | Changed index.html permission to 646, and it works now. Maybe CGI scripts are being run under the Apache user or group, who knows. Thanks for pointers! |
Anton 8-Apr-2009 [807] | Did you try 664 first ? |
Pekr 8-Apr-2009 [808] | no, I can try once I get at home ... that might be more secure solution, thanks ... |
Anton 8-Apr-2009 [809] | What is the tool your client uses which produces the extra lines? It is the source of the problem. |
Pekr 8-Apr-2009 [810] | some old Mozilla web building SW, don't remember its name. It was some three letters name. But - maybe one of my friends is doing some small Rebol client app edits (putting news into the main site), so maybe it is his script which does so. I need to check with him, it is an encapped app, so I can't see the sources ... |
Anton 8-Apr-2009 [811] | Yeah, definitely check that. If it's rebol, then it can be easily fixed. |
Chris 8-Apr-2009 [812] | NVU? |
Pekr 8-Apr-2009 [813] | NVU is old Mozilla attempt to separate page editor into something like FrontPage. I think it is not developed anymore, but some ppl do continue with developments under the name Kompozer. More info here - https://wiki.mozilla.org/NVU:Home_Page |
Maxim 9-Jun-2009 [814x2] | is there a ways to know if a rebol script is being run as cgi or as a stand-alone? |
I want to print out an html error when run from cgi, but execute code when run stand-alone. | |
Graham 9-Jun-2009 [816] | system/options/cgi |
Maxim 9-Jun-2009 [817] | ahhh yes, I can use the cgi headers to see if they are set... that was obvious... seems, I'm still not fully recuperated from the virus which I've been "nurturing" for a few days now. |
amacleod 9-Jun-2009 [818x2] | I'll have a static ip by next week so I hope that solves this issue for me.. |
wrong group...sorry | |
amacleod 10-Jul-2010 [820x2] | I want to access a mysql db via a cgi interface directly with a rebol client. I have a cgi script that accesses the db and prints the results which I can read with the client but is this the best method? Is there a way to send the data directly to the client as rebol blocks or do I need to essestialy parse a cgi built web page as I am doing? |
I know I can use mysql-protocol to access mysql directly but that is not hat I mean as sometimes that is not possible/allowed by some isp's. | |
Graham 10-Jul-2010 [822:last] | The ISP owns the mysql db .. and opens up some tables for you to use. So, no, it's not possible unless you run your own Vm like as on Amazon or linode or slicehost or whatever. |
older | first |