Announcement

Collapse
No announcement yet.

custom configuration portal

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

  • custom configuration portal

    Hello, can someone help me? I've configured everything, but the redirection still goes to my instance instead of the portal with the specified ID.

    PHP Code:


    # Virtual Host for HTTPS (Port 443)
    <VirtualHost *:443>
        
    ServerName portage.test-t.com
        DocumentRoot 
    "${INSTALL_DIR}/www/intra/"

        
    SSLEngine on
        SSLCertificateFile 
    "C:/Certbot/live/portage.test-t.com/cert.pem"
        
    SSLCertificateKeyFile "C:/Certbot/live/portage.test-t.com/privkey.pem"

        
    <Directory "${INSTALL_DIR}/www/intra/">
            
    Options +Indexes +Includes +FollowSymLinks +MultiViews
            AllowOverride All
            
    Require all granted
        
    </Directory>

        <
    IfModule mod_rewrite.c>
            
    RewriteEngine On
            RewriteRule 
    .* - [E=ESPO_PORTAL_ID:6630dd969b6f0b8f1]
        </
    IfModule>

        
    Alias /client"${INSTALL_DIR}/www/intra/client/"
        
    Alias /api/v1"${INSTALL_DIR}/www/intra/public/api/v1/"
    </VirtualHost>​ 
    Attached Files

  • #2
    I also tried this.


    PHP Code:


    # Virtual Host for HTTPS (Port 443) 
    <VirtualHost *:443>
        
    ServerName portage.consult-it.com
        DocumentRoot 
    "${INSTALL_DIR}/www/intra/public/portal"

        
    SSLEngine on
        SSLCertificateFile 
    "C:/Certbot/live/portage.test-t.com/cert.pem"
        
    SSLCertificateKeyFile "C:/Certbot/live/portage.test-t.com/privkey.pem"

        
    <Directory "${INSTALL_DIR}/www/intra/public/portal">
            
    Options +Indexes +Includes +FollowSymLinks +MultiViews
            AllowOverride All
            
    Require all granted
        
    </Directory>

        <
    IfModule mod_rewrite.c>
            
    RewriteEngine On
            RewriteRule 
    .* - [E=ESPO_PORTAL_ID:6630dd969b6f0b8f1]
        </
    IfModule>

        
    Alias /client"${INSTALL_DIR}/www/intra/client/"
        
    Alias /api/v1"${INSTALL_DIR}/www/intra/public/api/v1/"
    </VirtualHost>​ 

    Comment


    • #3
      Up....

      Comment

      Working...
      X