Portal configuration problem

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • enricorossa
    Senior Member
    • Jul 2018
    • 125

    Portal configuration problem


    Hello everyone, I'm evaluating the transition from Vtiger to espocrm excellent product, unfortunately I have problems in configuring the portal locally, my configuration is as follows:

    installation path var/www/crmrating

    I created the portal that gave me the following address



    but continue to respond 404 Not Found

    My .htaccess of the portal directory is RewriteEngine On

    # Some hosts may require you to use the `RewriteBase` directive.
    # If you need to use the `RewriteBase` directive, it should be the
    # absolute physical path to the directory that contains this htaccess file.
    #
    # RewriteBase /

    RewriteRule .* - [E=HTTP_ESPO_CGI_AUTH:%{HTTP:Authorization}]

    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteRule ^ index.php [QSA,L]

    RewriteCond %{HTTP_HOST} ^10.1.1.238/crmrating/$
    RewriteRule ^client - [L]

    RewriteCond %{HTTP_HOST} ^10.1.1.238/crmrating/$
    RewriteCond %{REQUEST_URI} !^/portal/5b5880696a332b552/.*$
    RewriteRule ^(.*)$ /portal/5b5880696a332b552/$1 [L]

    What should I do ? Thank you
  • enricorossa
    Senior Member
    • Jul 2018
    • 125

    #2

    I removed the custom ID and cleaned up the file htaccess but continue to answer 404 what should I do? Thank you in advance

    Comment

    • tanya
      Senior Member
      • Jun 2014
      • 4308

      #3
      what about this recommendation?
      # Some hosts may require you to use the `RewriteBase` directive.
      # If you need to use the `RewriteBase` directive, it should be the
      # absolute physical path to the directory that contains this htaccess file.
      #
      # RewriteBase /

      Comment

      • enricorossa
        Senior Member
        • Jul 2018
        • 125

        #4

        I apologize for not having indicated in the last post what I had included in the htaccess file that is in the

        /var/www/crmrating/portal/
        --------------------------------
        RewriteEngine On
        /var/www/crmrating/portal/
        --------------------------------

        /var/www/crmrating/api/v1/
        --------------------------------
        RewriteEngine On
        /var/www/crmrating/api/v1/
        --------------------------------

        /var/www/crmrating/api/v1/portal-access/
        --------------------------------
        RewriteEngine On
        /var/www/crmrating/api/v1/portal-access/
        --------------------------------

        continue notify 404 Not Found
        Last edited by enricorossa; 07-27-2018, 07:34 AM.

        Comment

        • enricorossa
          Senior Member
          • Jul 2018
          • 125

          #5

          I solved the problem by excluding / var / www /
          Thanks anyway

          Comment

          Working...