# Modules page show a Page Not Found - apache2.4

**URL:** <https://community.open-emr.org/t/modules-page-show-a-page-not-found-apache2-4/16313>\
**Category:** OpenEMR Development\
**Tags:** modules, question, infrastructure, installation\
**Created:** [March 22, 2021, 2:36pm UTC](https://community.open-emr.org/t/modules-page-show-a-page-not-found-apache2-4/16313 "2021-03-22T14:36:38Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![DirtyCheese6](https://community.open-emr.org/user_avatar/community.open-emr.org/dirtycheese6/32/15456_2.png) [@DirtyCheese6](https://community.open-emr.org/u/DirtyCheese6)\
**Post date:** [March 22, 2021, 2:36pm UTC](https://community.open-emr.org/t/modules-page-show-a-page-not-found-apache2-4/16313/1 "2021-03-22T14:36:38Z")

</div>

I’m trying to look at some custome modules we created, however when we try going to this location /interface/modules/zend\_modules/public/Installer we get a “Page Not Found”. How can we fix this issue?

---

<div class="post-metadata">

**Author:** ![juggernautsei](https://community.open-emr.org/user_avatar/community.open-emr.org/juggernautsei/32/10764_2.png) [@juggernautsei](https://community.open-emr.org/u/juggernautsei)\
**Post date:** [March 29, 2022, 12:11pm UTC](https://community.open-emr.org/t/modules-page-show-a-page-not-found-apache2-4/16313/2 "2022-03-29T12:11:17Z")

</div>

Here we are again in a newer version with this same issue.

Ubuntu 20.08  
Apache 2.4.41  
PHP 7.4.3

Mod\_rewrite enable

It should show up but it has not even with a reboot of the server.  
What’s missing?

There are no error messages in the system log. What does Luminas need to work?

The browser suggests that this call is failing.

```
update: function(element,valueAccessor, allBindings,viewModel, bindingContext)
{
    var tabData = ko.unwrap(valueAccessor());
    element.src=tabData.url();
}

```

Visual

 ![image](https://discourse-uploads-openemr.s3.dualstack.us-east-1.amazonaws.com/original/3X/7/a/7aa55d9d45feeb542c2ef14a5b2eb230e0305f7a.png)

---

<div class="post-metadata">

**Author:** ![adunsulag](https://community.open-emr.org/user_avatar/community.open-emr.org/adunsulag/32/12606_2.png) [@adunsulag](https://community.open-emr.org/u/adunsulag)\
**Post date:** [March 29, 2022, 1:18pm UTC](https://community.open-emr.org/t/modules-page-show-a-page-not-found-apache2-4/16313/3 "2022-03-29T13:18:47Z")

</div>

What does the access log show? Have you checked to make sure your apache site configuration is allowing .htaccess override? The openemr/interface/modules/zend\_modules/public/.htaccess needs to be able to set rules for the mod\_rewrite engine. If the apache vhost (or main httpd configuration) is not set to allow overrides then this problem will crop up.

---

<div class="post-metadata">

**Author:** ![juggernautsei](https://community.open-emr.org/user_avatar/community.open-emr.org/juggernautsei/32/10764_2.png) [@juggernautsei](https://community.open-emr.org/u/juggernautsei)\
**Post date:** [March 29, 2022, 2:49pm UTC](https://community.open-emr.org/t/modules-page-show-a-page-not-found-apache2-4/16313/4 "2022-03-29T14:49:29Z")

</div>

Here is what is in the access log. I know what you mean. I know what to go change. Sometimes this happens with some apache installs. where the default does not have the Grant All set.

```
 "GET /p_ehr/interface/modules/zend_modules/public/Installer HTTP/1.1" 404 492 "http://10.10.10.142/p_ehr/interface/main/tabs/main.php?token_main=nv85DSQMAdAzst3k1X5fzASIF0kChJ9KEJOozR3S" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/99.0.4844.82 Safari/537.36"

```

In some installs of Apache, the 000-default.conf needs this added right below DocumentRoot

```
   <Directory "/var/www/html">
       AllowOverride All
       Require all granted
   </Directory>

```

This fixed it for me in my installation.  
We are hosting on AWS

---

<div class="post-metadata">

**Author:** ![sjpadgett](https://community.open-emr.org/user_avatar/community.open-emr.org/sjpadgett/32/21623_2.png) [@sjpadgett](https://community.open-emr.org/u/sjpadgett)\
**Post date:** [March 29, 2022, 3:12pm UTC](https://community.open-emr.org/t/modules-page-show-a-page-not-found-apache2-4/16313/5 "2022-03-29T15:12:09Z")

</div>

I believe there is a specific setting to allow .htaccess to override site rewrite rules.  
I don’t remember where however, web search is our friend.

---

<div class="post-metadata">

**Author:** ![juggernautsei](https://community.open-emr.org/user_avatar/community.open-emr.org/juggernautsei/32/10764_2.png) [@juggernautsei](https://community.open-emr.org/u/juggernautsei)\
**Post date:** [March 29, 2022, 8:26pm UTC](https://community.open-emr.org/t/modules-page-show-a-page-not-found-apache2-4/16313/6 "2022-03-29T20:26:47Z")

</div>

Same answer over here

> [@I'm not able to open "Manage Modules" and "Portal Dashboard" on my OpenEMR Ubuntu instance](https://community.open-emr.org/t/im-not-able-to-open-manage-modules-and-portal-dashboard-on-my-openemr-ubuntu-instance/15401/6):
>
> Hi @Richard, Your apache config file should contain these lines. If the lines are not there, just replace it as below. Regards, [ViSolve](https://www.visolve.com/hc/)
