Announcement

Collapse
No announcement yet.

mod_rewrite in Apache Server

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

  • #16
    It is fine now - I got htaccess in rc3 & amended according to instruction - I have a login problem, but Ill open a new post for it. Tx

    Comment


    • #17
      With version 1.0 (released 5/23) I too experience this endless loop of informing me mod-rewrite is disabled when it is in fact enabled. FYI: I am on Ubuntu 13.04. Also re-write works for other products like Wordpress on the same host.

      Comment


      • #18
        It can be related with some problems of access to Espo API.
        Please, open this URL http://<espo-url>/api/v1/Metadata. What HTTP status response do you get? 200, 401?

        If you are using virtual hosts, make sure the conf file of virtual host has: AllowOverride All
        Code:
        <VirtualHost *:80>
                ...
            <Directory ...>
                AllowOverride All
            </Directory>
        </VirtualHost>
        Last edited by tarasm; 05-29-2014, 09:04 AM.
        Job Offers and Requests

        Comment


        • #19
          Finally found the cause of the problem. Server had turned off .htaccess support.
          So, to get mod_rewrite to work properly should be enabled mod_rewrite and .htaccess support.

          To enable .htaccess support add/edit the Server configuration settings inside your <VirtualHost> section (httpd.conf):
          Code:
          <Directory /PATH_TO_ESPO/>
          [B] AllowOverride All[/B]
          </Directory>
          Afterwards run this command in a Terminal:
          Code:
          service apache2 restart

          To enable "mod_rewrite" run those commands in a Terminal:
          Code:
          a2enmod rewrite 
          service apache2 restart
          Job Offers and Requests

          Comment

          Working...
          X