Unable to install under Apache windows

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • bomo
    Junior Member
    • May 2025
    • 1

    #1

    Unable to install under Apache windows

    I am trying to install under an existing Apache setup. I am hoping to run it alongside another application using an alias. For example, I am hoping to run it under alias: https://mysite.com/crme. I cannot set espo as the global document root.

    Here is my Apache config:
    Alias /crme/ "${INSTALL_DIR}/apps/EspoCRM-9.1.3/"
    <Directory "${INSTALL_DIR}/apps/EspoCRM-9.1.3/">
    Options +Indexes +FollowSymLinks +MultiViews
    AllowOverride All
    Require all granted
    </Directory>

    When I load the http://localhost/crme/install/, it proceeds all the way until the install step and then fails with the following error: API Error: EspoCRM API is unavailable.

    ​mod_rewrite is enabled and there is no ClearModuleList​ anywhere.

    When I look at the browser network log, I noticed a 400 error caused by espo.js:17 that is making a call to "/crme/api/v1". Shouldn't it be /crme/public/api/v1?

    Is there any resolution to this? Or, is it not possible to run espo as an alias along with other applications?
Working...