Announcement

Collapse
No announcement yet.

Portal configuration problem

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

  • 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

  • #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


    • #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


      • #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


        • #5

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

          Comment

          Working...
          X