---
title: "Nagvis - How to fix \"The requested URL _ was not found on this server.\" error?"
description: "Nagvis URL errors in OP5 Monitor often stem from outdated nagvis.ini.php files or missing Apache aliases. Updating the configuration file or adding an Apache alias and restarting the server resolves these errors."
url: "https://docs.itrsgroup.com/docs/faq/op5/360002614818-op5-monitor-nagvis-how-to-fix-the-requested-url-was-not-found-on-this-server-error/index.html"
---
## Primary solution

This article lists the common reasons for the above error, and it's variants, in OP5 Monitor. Take extra note of the specific file listed in the error message.

## index.php

If you are getting the following error pertaining to Nagvis when trying to access your maps:

```
The requested URL /nagvisls/frontend/nagvis-js/index.php was not found on this server."
```

This may be caused by an out of date `nagvis.ini.php` file. See if you have an `.rpmnew` file, and if so, use that instead:

```
# mv /opt/monitor/op5/nagvis_ls/etc/nagvis.ini.php /opt/monitor/op5/nagvis_ls/etc/nagvis.ini.php.bak
# mv /opt/monitor/op5/nagvis_ls/etc/nagvis.ini.php.rpmnew /opt/monitor/op5/nagvis_ls/etc/nagvis.ini.php
```

## Alternate solution to "The requested URL /nagvisls/ ..."

For some users, replacing the `nagvis.ini.php` file did not resolve the issue. If your error message specifically points out "nagvis**ls**" instead of "nagvis", for example when clicking the auto-map, one way of resolving this issue is to add an additional alias to Apache.

Open up this file:

```
## vim /etc/httpd/conf.d/nagvis.conf
```

Copy the line that looks like this:

```
Alias /nagvis "/opt/monitor/op5/nagvis_ls/share"
```

Modify the copied line, and ensure you have two lines that look like this:

```
Alias /nagvis "/opt/monitor/op5/nagvis_ls/share"
Alias /nagvisls "/opt/monitor/op5/nagvis_ls/share"
```

Now restart Apache (httpd) and retry your link.


