Announcement

Collapse
No announcement yet.

API Error: EspoCRM API unavailable. Centos 7 and Apache 2.4

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • API Error: EspoCRM API unavailable. Centos 7 and Apache 2.4

    rewrite_module is enabled in the conf.modules.d directory
    I have my espocrm.conf file for application configuration.
    Not sure what else to do. Any suggestions or has anyone been able to install on Centos 7? I am installing espo to a subdirectory http://myserverdomain/espocrm

  • #2
    1. Enable mod_rewrite Module

    Find the file /etc/httpd/conf.modules.d/00-base.conf

    Add the line
    HTML Code:
    LoadModule rewrite_module modules/mod_rewrite.so

    2. Enable .htaccess File
    /etc/httpd/conf/httpd.conf

    HTML Code:
     <Directory /var/www/html>
        AllowOverride All
     </Directory>
    Then restart Apache Server

    Comment


    • #3

      This was already enabled so nothing to do.
      Originally posted by AlexAv View Post
      1. Enable mod_rewrite Module

      Find the file /etc/httpd/conf.modules.d/00-base.conf

      Add the line
      HTML Code:
      LoadModule rewrite_module modules/mod_rewrite.so

      I did this - no effect. I use an espocrm.conf file located in .../httpd/conf.d/espocrm.conf

      tried #2 in both places but still the same error

      2. Enable .htaccess File
      /etc/httpd/conf/httpd.conf

      HTML Code:
      <Directory /var/www/html>
      AllowOverride All
      </Directory>
      Then restart Apache Server

      Comment


      • #4
        Perhaps, you have to modify the RewriteBase path, for more information please follow this link http://www.espocrm.com/blog/apache-s...n-for-espocrm/
        Job Offers and Requests

        Comment


        • #5
          Tried this as well, restarted apache and same error.

          Originally posted by tarasm View Post
          Perhaps, you have to modify the RewriteBase path, for more information please follow this link http://www.espocrm.com/blog/apache-s...n-for-espocrm/

          Comment


          • #6
            Try to add a virtual host. The domain should look like http://espocrm.myserverdomain, instructions https://www.digitalocean.com/communi...ual-host-files
            Job Offers and Requests

            Comment

            Working...
            X