Adding links to login page of Coova captive portal - configuration

I have set up a Coova hotspot with captive portal. Presently, it is configured to internal hotspot and the webpages for captive portal are self-contained in the router. I am able to successfully login, browse and logout of the network.
I would like to add a to the login page, when clicked will open my company's webpage (all this, before the authentication happens). I added simple HTML code (below) to the 'Login Page' html code present in the portal.
My Company
I also added 'www.mycompany.com' in the walled garden inorder to allow access before the authentication succeeds.
When clicked on the link, it fails to open the desired webpage. It tries to search the page inside the router. But I can access the same page if type it in the browser. Please advise me how to customize the portal when using it as internal hotspot. Is it even possible to do this?
Thanks in advance..

Resolved it.. I had to give the complete address as the link - "http://mycompany.com".

Related

How to make a PWA landing page different from the site landing page when offline?

My application has historically worked by having a landing page that's shown to everyone. There's a login button and if you click it, it shows a dialog for credentials, and when you enter them successfully, you are logged in and redirected to the home page for your login type.
In a PWA situation, once I know who the user is, I'd like to put an "install this as an app" button on the home page, and then since I know who the user is, there's no need to show the general landing page and ask for a login. I'd like to just remember the user and go right to their home page.
I could cache the login information in local storage, but I want to do this ONLY when offline and I think the PWA would still show the default landing page and, at best, immediately redirect to the home page, and this would look bad.
Is there a way to set this up the way I would like to?
In order to install a PWA you created a manifest file and a service worker. When the application is successfully installed (added to home screen) the service worker comes to action. The service worker will be serving all the files you have declared either online or offline. This means it will be serving the manifest file.
In the manifest file you can add the start url which is going to be the one defined route, in this case go directly to your app instead of the landing page. In your manifest file just add:
"start_url": "../joshuaFrankApp"
or
"start_url": "../joshuaFrankApp.html"
Whenever the app is installed (doesn't matter if it the user is online or offline) it will be redirected to the page you wanted.
Extra information:
https://developer.mozilla.org/en-US/docs/Web/Manifest/start_url

Create a link that can later be customized to different URL

I would like to create a link that I can customize later.
For example,
I create a href link in the footer of the website I developed for my client with the URL that forwards to my current Web design website.
In the future, if I have to change my Web design website URL I will just customize that footer link forward destination to another one without having to access the CPanel of my client's website.
Please tell me how is it possible to do. Is this possible to with any link shortener services?
The usual way to do this is to set up a redirect from your old site to your new, with a 301 status code. This is easily done with a simple configuration directive in your web server config.
I doubt if there is any link generator service that let you change the redirection link after generated.
If you will be able to access your previous url, link it with redirection page that will redirect client into your current url.
Or get a free domain that only works as redirection link.

How to Embed an Apex website on my HTML Website

I have an Apex application which I use for CMS of my website, I want to embed this on my website when a user logs in.
I have tried using an iframe however the APEX Application does not show in the iframe.
What is the correct way for embedding an APEX Application inside an HTML website?
In the APEX Application manager there is a setting to allow browser embedding this must be enabled in order to embed in an iframe. I had overlooked this setting when trying it.
As a new user of APEX it was not clear exactly where to find the setting mentioned by the OP. For APEX 5 I found the setting to enable iframes as follows:
Open APEX in your browser (for example, my URL is http://some-host:1337/ords)
Login to your workspace as an administrator
Click on Application Builder
Click the name of the application you want to enable to open it
On the title bar where your application name appears, click on Edit Application Properties (button to the right)
Toward the top, locate the link for Security and click it
Scroll down to the Browser Security section or click on the tab labeled Browser Security
Assuming it says Deny, change it to Allow or Allow from same origin
Press Apply Changes
Once this is complete you should be able to embed a URL for that specific APEX application in the src="[apex_url]" attribute of an iframe.
Note: Choosing Allow vs Allow from same origin depends on whether or not your application is running on the same host / root URL. In my case, the iframe was served from a different URL thus I chose Allow. Out of scope for this question but, for security reasons, you probably need to consider the implications of allowing this in your own environment.

Login to a website automatically via Chrome Extension?

I am working on an extension for a University website which likes to always make you log in, so one of the features I am trying to implement has to do with logging the user in automatically.
I could at the first load of the webpage automate clicking the login button and filling in the login data, however I want to make it more transparent and login in the background. Having the users username and password is it possible to do a login in the background by calling the same url the site uses and giving the post data? The site uses https, would this cause issues? How would I do this? Any good examples out there of this?

Foswiki registration redirect - no page loaded

I have a foswiki site with user registration. It uses the standard registration form wherein users click a "register" button after filling the form. It redirects to: http://localhost/foswiki/bin/register/Main/WebHome and sits (no page loads and no error is shown). The source code shows this is correct, that is the button should post to this URL. I'm not sure why it isn't redirecting to the homepage. The user entry is created correctly and I can manually change the URL to: http://localhost/foswiki/bin/view/Main/WebHome and have it work.
I cannot find why it redirects to /bin/register... rather than /bin/view.... I thought it should be in the http config file, but I couldn't find it.
I compared the results in the console with those from registering on the foswiki website, but cannot see a difference.
I was able to get an answer on the IRC. It is an issue with the quickmenu skin. I stopped using the skin and the issue was corrected.