I need help to complete one of my projects where I have had a problem for over 6 months.
A summary of the project and the problem :
It is a display server with a Raspberry Pi 4 card. I want to display two pages of HTML on one screen. The first page is a PRTG supervision card in HTTPS. The second one is a dashboard Grafana in HTTP. To do this, I decided to use a frames HTML with the two links. But for the Grafana dashboard, Firefox returns me an error "Firefox cannot open this page" and the second page works normally.
Things I've already tried :
Use X-Frames options in the Grafana settings and the apache server.
Change the links in HTTPS with the SSL certificates.
I hope I have been as understanding as possible and that you can help me with this project.
Thank you in advance.
Related
Here's the sitch:
I downloaded and installed Wampserver64 and Wordpress 5.2.3
I finally made it to my site, but I can't preview or publish pages with the new Gutenberg or block editor because something is broken! When I edit with the Classic Editor, it's all good.
****Here's not the notice I get from the Site Health Plugin****
The REST API is one way WordPress, and other applications, communicate with the server. One example is the block editor screen, which relies on this to display, and save, your posts and pages.
The REST API call gave the following unexpected result: (404)
Not Found
The requested URL /wordpress/wp-json/wp/v2/types/post was not found on this server.
Apache/2.4.39 (Win64) PHP/7.3.5 Server at sitefolder Port 80
I have scoured the internet on how to fix this but so far nada. Help much appreciated!
You have to add index.php after your folder name in the URL in order to make WordPress API work on the localhost.
For example: localhost/trial-wordpress/index.php/wp-json/wp/v2/posts
It worked for me.
If you're still working on it try the suggestions from this post: Wordpress REST API (wp-api) 404 Error Even if it's quite old there are some ideas you could try, like switching your permalink structure to sth. other than plain, check mod_rewrite under apache and so on. Classic Editor is not using the REST API, therefore no error.
The problem is as follows:
We are using a microservice architecture. Lets say we have 2 servers, a ServerHost and a ServerClient. I want the ServerHost to host a Webpage that routes to the webpage on the ServerClient. Like an iframe but with more control. Both webpages are in Angular.
I have read about Angular Elements and Webcomponents, but I could not figure out how to implement this between different servers.
Can someone point me to articles or examles,
I would be very grateful.
EDIT: ( for clarification )
The goal is for each microservice to have its own webpage ( for configuration etc. ). All webpages however, should be reached within a shell from the ServerHost. This sever should basically host a webpage that emebeds all the other pages.
If a user would land at the main page, there should be a list with links to the other pages. But when clicking on the link, the main navigation menu in the shell should not vanish. And the user will open the new page within the old one.
It is also important that the webpages are able to communicate with one another. E.g. to tell the route. Btw, the servers are all written in C#.
I don't think that this is possible because of security reasons.
You can actually load modules only from the same origin. If you do want to do somthing like you describe you can setup as this normally is designed.
1 Server-App
1 Client-App
1 SSO-Service/ + App
The user will login through the SSO-Service and then if he is allowed the Server-App redirects the user to the Client-App. Through that Process you can use the SSO-Service to keep the source and destination urls tracked, so that you know where the user comes from and where he want to go and manage from it the claims what the user can do and what not.
We have an existing SSRS instance which loads the all pages/reports as expected without an issue (as below).
We've recently created a second instance, running on the same server, which doesn't appear to load any CSS or the expected SSRS functionality - just a basic HTML page.
However when you click through the links on the second instance and run the report the design then appears to load correctly.
Both instances use the same execution count and we get the same result regardless of browser.
We're using SQL Server 2012.
Any suggestions would be greatly appreciated.
Trobbins pointed me in the right direction; basically I was using the link from the Web Service URL rather than the Report Manager URL.
http://i.stack.imgur.com/NbXTc.png
http://i.stack.imgur.com/7gGid.png
After swapping these around the site functionality now loads correctly.
So to summarise you need to use the URL provided in the Report Manager URL option, not the Web Service URL.
We developed a Oracle ADF web app using
jDeveloper 11.1.2.4
MySql 5.5
We successfully deployed our application onto Tomcat 6.x. But our problem is page navigation is not happening on tomcat server. We have first.jsf in that we have a button when ever I press this button I should get second.jsf, But am not getting. We checked our application on Integrated WLS it is working fine(Page Navigation is happening).
Please help us.
Thanks In Advance.
What's the URL that you are using to call the page?
It is has .jspx or .jsf at the end, try the same URL without that extension - so just http://...../first
A while ago I was experimenting something similar on Tomcat. To be honest, I can't point you the exact solution because I am not in front of the computer right now , but try to test navigation using fragments, not pages. Also, you may try navigation using facelets vs one using jsp. I remember one of these combinations was working.
There is an oscommerce site that I maintain now. There are some links on the homepage like below when one visits the site first time.
http://website.com/index.php?cPath=2?osCsid=80b28bcd9ad38e38e7ded7e200f87b30
This click leads to Not Found error:
The requested URL /the-carriers-c-2 was not found on this server.
But if I go back on homepage and click then this link works without any problem.
On 2nd visit the URLs change to : http://website.com/the-carriers-c-2.html
This seems to be a very peculiar problem, I am new to oscommerce so not sure what the reason is.
Any help would be great.
What version of oscommerce are you running.
earlier versions of oscommerce required third party mods for SEO URLs. I agree with random, that is a generated url by the system.
you should have an .htaccess file in your root, it may be renaned or missing, also you need to have MOD URL REWRITE running on your apache web server so apache knows to handle these kinds of urls properly.