Announcement

Collapse
No announcement yet.

Installation problems - API Errrors Ubuntu

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

  • Installation problems - API Errrors Ubuntu

    Hi,
    im on Ubuntu and have the following problem;
    API Error: EspoCRM API is unavailable.

    Steps:
    1. Enable "mod_rewrite". To do it run those commands in a Terminal:
    DONE
    2. 2. Enable .htaccess support. Add/edit the Server configuration settings (/etc/apache/apache2.conf, /etc/httpd/conf/httpd.conf):
    there is not such a directory like apache or httpd
    i have apache2 directory in etc/ and the other one doesn't exist at all
    What do I do here??

    i edited
    etc/apache2/apache2.conf by adding:
    <Directory /EspoCRM/>
    AllowOverride All
    </Directory>
    and
    Include /etc/apache2/httpd.conf
    the httpd.conf file i needed to create myself and it contents is
    <Directory /EspoCRM/>
    AllowOverride All
    </Directory>

    3. Try to add the RewriteBase path, open a file api/v1/.htaccess and replace the following line:
    DONE

    but stil can not proceed with installation as all of them appear as errors;
    how do I fix it?

  • #2
    Hello.
    edited
    etc/apache2/apache2.conf by adding:
    <Directory /EspoCRM/>
    AllowOverride All
    </Directory>
    and
    Include /etc/apache2/httpd.conf
    the httpd.conf file i needed to create myself and it contents is
    <Directory /EspoCRM/>
    AllowOverride All
    </Directory>
    1. You don't need to create httpd.conf. apache2.conf is a file that you need.
    2. In the apache2.conf the string <Directory /EspoCRM/> should have a whole way to your EspoCRM directory and should looks like <Directory /var/www/html/EspoCRM/ >

    Comment


    • #3
      thanx , Ive fixed that already ;-)

      Comment

      Working...
      X