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

fix (admin-ui) : page refresh issue #281

Closed
duttarnab opened this issue Jul 6, 2022 · 2 comments
Closed

fix (admin-ui) : page refresh issue #281

duttarnab opened this issue Jul 6, 2022 · 2 comments
Assignees
Labels
bug Something isn't working comp-admin-ui Component affected by issue or PR comp-flex-linux-setup Component affected by issue or PR kind-bug Issue or PR is a bug in existing functionality

Comments

@duttarnab
Copy link
Contributor

Steps:

  1. Log in to admin-ui (deployed on apache server).
  2. Click on Attributes --> All Attributes.
  3. Refresh the page.
  4. The browser shows 404 error

https://user-images.githubusercontent.com/32794267/115984541-31f1c280-a5c5-11eb-90d6-c9d562222c11.png

@duttarnab duttarnab added bug Something isn't working comp-admin-ui Component affected by issue or PR kind-bug Issue or PR is a bug in existing functionality labels Jul 6, 2022
@duttarnab duttarnab self-assigned this Jul 6, 2022
@duttarnab
Copy link
Contributor Author

duttarnab commented Jul 6, 2022

Hi @devrimyatar

To fix this issue we need add below Directory tag to /etc/apache2/sites-available/https_jans.conf.

<Directory "/var/www/html/admin">
    Options FollowSymLinks Indexes
        DirectoryIndex index.html
        AllowOverride All
        Order allow,deny
        Allow from all
        Options -MultiViews
        RewriteEngine On
        RewriteBase /admin
        RewriteCond %{REQUEST_FILENAME} !-f
        RewriteRule ^ index.html [QSA,L]
</Directory>

Here, /var/www/html/admin is the directory where admin-ui built is copied.

@devrimyatar
Copy link
Contributor

Fixed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working comp-admin-ui Component affected by issue or PR comp-flex-linux-setup Component affected by issue or PR kind-bug Issue or PR is a bug in existing functionality
Projects
None yet
Development

No branches or pull requests

2 participants