-
Notifications
You must be signed in to change notification settings - Fork 31
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
imagens showing properly when run on port 8000 #59
Comments
Hi @maniasso , Basically it means that freeipa-password-reset is not able to use the Web UI paths of Freeipa deployment. Which can also mean that you have deployed your freeipa-password-reset in different server than along with the freeipa deployment and the freeipa url is unreachable to the password-reset program. <VirtualHost *:80>
ServerName your.subdomain.com
<Location "/">
RedirectMatch 301 ^/$ /reset/
</Location>
<Location "/reset/">
ProxyPass "http://127.0.0.1:8000/reset/"
</Location>
</VirtualHost> Change the your.subdomain.com to your FQDN. |
Hi, in fact I tried that, I populated the file as below <VirtualHost *:80>
however it doesn't load and shows Not Found The requested URL was not found on this server. If I go to port 8000, I see the page, seems something is missing or incorrect at http configuration file :( |
Hi @maniasso , I guess you already have a DNS entry for the freeipa.example.com which points to the host where freeipa-password-reset is deployed. If so, according to your above config you should be able to access it as freeipa.example.com/reset |
Seems it's not redirecting to the freeipa server, I set the debug in the apache configuration file and seems it's looking at localhost... [Thu Dec 16 10:00:24.155657 2021] [core:info] [pid 3658940:tid 140735564541808] [client 9.160.28.68:59823] AH00128: File does not exist: /var/www/html/ipa/ui/ipa.css, referer: http://b02xormon.example.com/reset/ |
Hi @maniasso , is it possible for you to elaborate a bit on how you have deployed your freeipa-password-reset and if your freeipa server is publicly accessible? |
Hello, yes sure, let me explain more details.
I have a freeipa environment, however I don't allow users connect at WebGUI
interface, why? because the UI only allows google 2FA and the company uses
DUO. Some users have difficult to understand how to change their password
using CLI, is kind of complicate for them, so I found your project which
is pretty nice, simple and functional.
Since I don't allow users to connect at WebGUI, the app doesn't open
properly if I point users to use it by port 8000. What I tried to do, was
two things, but I believe I have address both.
1 - Use a bastion server as self-service portal, but doing this I don't see
the page loading properly, so I have copied the /usr/ipa content to bastion
at /var/www/html and page load properly.
2 - Use a different port in the IDM server to allow the self-service
portal, I have used this option, so I have made some changes at
/etc/httpd/conf.d/ipa-password-reset.conf
Listen 8081
<VirtualHost *:8081>
ServerName FREEIPA-FQDN
# LogLevel debug ssl:warn
# ErrorLog /var/log/httpd/error-ipa.log
<Location "/reset">
RedirectMatch 301 ^/reset$ /reset/
</Location>
<Location "/reset/">
ProxyPass "http://127.0.0.1:8000/reset/"
</Location>
</VirtualHost>
Doing this the portal will be available at FREEIPA, but at port 8081 :)
Em sex., 17 de dez. de 2021 às 11:30, Yukesh Hari ***@***.***>
escreveu:
… Hi @maniasso <https://github.com/maniasso> , is it possible for you to
elaborate a bit on how you have deployed your freeipa-password-reset and if
your freeipa server is publicly accessible?
—
Reply to this email directly, view it on GitHub
<#59 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AKMYTSUM27JZMEFCFAS2F63URNCRVANCNFSM5FRTNKMA>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Hi,
Can you tell me what step I am missing to not have it workin properly? Please let me know what is the best way to have the ipa-reset project hosted on a stanlone server. Thanks! |
So, in fact the ipa.conf that describe where to find the /ipa/ui was missing on the client's setup so I have copied it to the client's http conf.d folder and restarted the http process. |
yes it's working! |
How can I have it running in port 8000 but showing the background images properly? If I run it on same port and URL as Freeipa it seems ok, but when I try to access it using port 8000 ( http://ipa-server:8000/reset) it doesn't show it properly. See screenshot in attach
The text was updated successfully, but these errors were encountered: