I'm struggling while getting a webpage running on my torquebox-server. The page itself is working fine, but to integrate this into another webiste I need to enable (or at least change them to another value) the X-Frame-options for the torquebox-server. I wasn' able to find something in the documentation, and there is also no part in the config file, which seems to be the correct place to change this.
Has someone already tried this or got this running on torquebox?
I would be very grateful, if someone could help me out..
Cheers Tim
After some morge research I've found out, that this isn't solvable with torquebox, but I just need to change my application. The application is using sinatra as framework, which uses Rack:Protection as a security module. In this module the "sameorigin" option is set (thanks to grep ;) ). Sinatra offers the possibility to exclude options from modules, in this case it was set :protection, :except => :frame_options
(found here)
So, maybe this is helpful for someone, who's having the same problem
Related
This is a brand new app on a fresh install, but I do not see the info page I am expecting to see. I get some errors when running start-app, would this maybe have something to do with the problem? I am trying to teach myself this framework but am confused as to why I am having this problem.
https://i.imgur.com/itvaoVk.png
Thanks for any info you can provide, I really appreciate it.
I figured this out, the documentation I'm looking at says that /test/ (the grails project name) should be part of the path, but it is not. Omitting this has it work the way I expect, although I'm not really sure why, or how I would segregate different applications using the URL path.
I have a web-server with cPanel, but I didn't find the method to make the website properly work. I made an aldomain, updloaded the project, but it doesn't recognise the base css, nodejs server etc... Tha main question is how to run my own server.js file on the server(?!), and how to make it looks like on localhost? Is it possible? If it's not, how can I publish it? I know that I shouldn't send this message here, because it doesn't contain any code, but nobody tells me where can I ask theese kind of questions. Can you tell me this too, please?
Bad news is cPanel doesn't support Node.js. Prof link
Good news is here you can make question without any code.
I have a problem regarding the security of QtWebKit, I wanna disable X-Frame-Options so I can embed sites such as facebook.com in iframes inside my app.
I know that can be made using WebCore API (isWebSecurityEnabled switch, http://trac.webkit.org/wiki/ConfigurableFeatures) but I didn't found any way of doing it with QtWebKit.
Thank you!
I had the same problem (but applied to command-line-browser phantonjs with the rendering engine QtWebKit) and the only option after analyzing the issue, is modifying the behavior of rendering of QtWebKit.
The good, the change is very small, we just change the function FrameLoader :: shouldInterruptLoadForXFrameOptions to return false in any condition (https://github.com/deerme/phantomjs/blob/master/src/qt/qtwebkit/Source/WebCore/loader/FrameLoader.cpp#L2986).
In my particular case I did a fork of the phantonjs repository with this small change in QtWebKit (https://github.com/deerme/phantomjs).
So, in your particular case, you should download the source code of QtWebEngine and make the change and finally you can use the QtWebEngine modified in your Qt application.
Orchard1.3 installed on Azure. Have built from source
How do I get a nice download link (which doesn't work, but from googling I think should work on single hosted machine) like:
http://www.davemateer.com/media/Default/CodeCamp2012/CodeCampPresentation.zip
instead of this one (which does work)
https://mateerstorage3.blob.core.windows.net/media/Default/CodeCamp2012/CodeCampPresentation.zip
Cheers
Dave
Write a module that exposes its own routes, and proxy the contents through there. It's going to have horrendous performance but it will work.
Is there an issue with IIS or ASP Classic where Request.ServerVariables("QUERY_STRING") returns blank if no default file name is given in the URL? On my local developer machine, I can do
http://localhost/xslt/?opcs/abc
which returns "opcs/abc". However, on our ancient web server, it returns nothing. I have to explicitly give it the default file name in the URL. Like so
http://localhost/xslt/default.asp?opcs/abc
While nothing too major, it is a little bit of a annoyance. One way I can maybe think of remidying the problem is have Javascript read the URL and return everything after the ?.
Unfortunately, I do not know what version of IIS or ASP we are using.
Thank you.
That sounds like a bug, I never experienced that when I used to do a lot of ASP. Make sure you are patched up to the latest version.
If you're running IIS 4.0, this may very well be the case. So you're really stuck with this ancient piece of software (and probably hardware) ? :)