-
☆ A M B ☆
- 24,524 Posts
Is "mobile" a resource? A context?
-
☆ A M B ☆
- 205 Posts
Quote from: sottwell at Jan 22, 2014, 01:44 PMIs "mobile" a resource? A context?
It's a resource in the 'web' context. Basically it's 2 pages that I need gated with the Login form. The forms are now working as you'd expect; however, navigating to the /mobile resource results in a 404 vs. sending the user to the login page /logins/mobile-login.html
Sal Baldovinos
SEO & DIGITAL MARKETING
ARIEL DIGITAL | Maximize Your Potential
www.arieldigitalmarketing.com
Quote from: mayhemchaos at Jan 22, 2014, 02:08 PMQuote from: sottwell at Jan 22, 2014, 01:44 PMIs "mobile" a resource? A context?
It's a resource in the 'web' context. Basically it's 2 pages that I need gated with the Login form. The forms are now working as you'd expect; however, navigating to the /mobile resource results in a 404 vs. sending the user to the login page /logins/mobile-login.html
If you open the /mobile Resource in Manager and click on "View" - what happens?
-
☆ A M B ☆
- 205 Posts
Quote from: gadgetto at Jan 22, 2014, 02:44 PMIf you open the /mobile Resource in Manager and click on "View" - what happens?
When logged into the Manager, clicking "view" opens in a new window as a 401 Unauthorized.
When NOT logged into the manager, I get 404
Sal Baldovinos
SEO & DIGITAL MARKETING
ARIEL DIGITAL | Maximize Your Potential
www.arieldigitalmarketing.com
Quote from: mayhemchaos at Jan 22, 2014, 02:47 PMQuote from: gadgetto at Jan 22, 2014, 02:44 PMIf you open the /mobile Resource in Manager and click on "View" - what happens?
When logged into the Manager, clicking "view" opens in a new window as a 401 Unauthorized.
When NOT logged into the manager, I get 404
Have you configured the
error_page the
unauthorized_page and the
site_unavailable_page property in MODX system settings?
Did you add the /mobile Resource to a resource group - so only authorized users will have access?
It seem you have a more general problem with your MODX configuration and not with the Login add-on.
-
☆ A M B ☆
- 205 Posts
Quote from: gadgetto at Jan 22, 2014, 02:54 PM
Have you configured the error_page the unauthorized_page and the site_unavailable_page property in MODX system settings?
Did you add the /mobile Resource to a resource group - so only authorized users will have access?
It seem you have a more general problem with your MODX configuration and not with the Login add-on.
I have configured those to go to my custom 404/401 pages. However, if I have 2 login forms going to 2 unique IDs (the forms themselves are not different; same login creds, different pages to go to) - how would I set up the error page/unauth page?
Sal Baldovinos
SEO & DIGITAL MARKETING
ARIEL DIGITAL | Maximize Your Potential
www.arieldigitalmarketing.com
Quote from: mayhemchaos at Jan 22, 2014, 03:22 PM - how would I set up the error page/unauth page?
In MODX system settings. If you don't configure which Resource MODx should load if a user isn't authorized - it will show the 404 page - I think.