Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PWM Redirects to /public/ ends in HTTP 404 #675

Open
GoogleCodeExporter opened this issue Jul 19, 2015 · 3 comments
Open

PWM Redirects to /public/ ends in HTTP 404 #675

GoogleCodeExporter opened this issue Jul 19, 2015 · 3 comments

Comments

@GoogleCodeExporter
Copy link

What steps will reproduce the problem?
1. Visit login page of PWM and click cancel button, PWM redirects to /public/ 
and results in a 404 error.
2. Same thing when clicking on Cancel button for forgot password page


What is the expected output? What do you see instead?


What version of PWM are you using?
1.7.1


What ldap directory and version are you using?
OpenLDAP


Please paste any error log messages below:

Not Found

The requested URL /public/ was not found on this server.



Original issue reported on code.google.com by [email protected] on 30 Mar 2015 at 7:35

@GoogleCodeExporter
Copy link
Author

I have the same problem. I also see it after the user sets up secret questions 
for the first time. After inputting the answers for the first time and saving 
the person is Redirected to /public with a 404 error. The changes are 
successful. If they log in and setup questions again the redirect works, but it 
is a /private address. My server is also Windows, hope that helps find the 
problem. 

Original comment by [email protected] on 27 Apr 2015 at 3:16

@GoogleCodeExporter
Copy link
Author

Exact same issue here. It's driving me nuts. It's the only thing stopping us 
from going live.

Original comment by [email protected] on 15 Jun 2015 at 11:51

@GoogleCodeExporter
Copy link
Author

I ended up "fixing" this by redirecting the /public folder to /private. To do 
this, you need to download and copy the relevant files from here: 
http://www.tuckey.org/urlrewrite/#download

Once that is installed, add the following lines into urlrewrite.xml:

    <rule>
        <note>
            Forward requests from /public to /private
        </note>
        <from>^/public/$</from>
        <to type="redirect">%{context-path}/private</to>
    </rule>

Hope this helps you out!

Original comment by [email protected] on 17 Jun 2015 at 11:16

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant