Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
Redirect for user password change
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2022-12-04
08:36 AM
2022-12-04
08:36 AM
Redirect for user password change
It is simply silly that a user has to remember https://<NAS_NAME_or_IP>password_recovery/my_password.html to change their password. So, I thought I'd add a re-direct. /etc/frontview/apache/http-redirect.conf seemed to be the right place to do it. So, I added the first line below so I could use just http://<NAS_IP>/mypassword:
RewriteRule ^/mypassword$ https://%{SERVER_NAME}/password_recovery/my_password.html
RewriteRule ^/admin/(.*)$ https://%{SERVER_NAME}/admin/$1 [R,L]
RewriteRule ^/admin$ https://%{SERVER_NAME}/admin
RewriteRule ^(cgi-bin) - [L]
But, I still get The requested URL /mypassword was not found on this server. What am I missing?
Message 1 of 1