One VirtualHost, multiple aliases and store access issuesMore than one magento virtual hosts and nginx configurationMagento Multisite (Subfolder) Blank PageSubdirectory Multi Store IssueMagento Multi-Store with Domain Alias - 404 Error on 2nd StoreHow to set up OpenServer to use magento ee multistore feature?'Internal Server Error' in Magento multistore (subdomain)Too many redirects mobile version onlyIssue with Multi Store setup - New NZ site does not load the right store500 Internal Server Error nginx/1.12.0 on checkout page after Migration from Apache to NginxHow does Magento determine the route / getting 404 behind proxy

What are substitutions for coconut in curry?

Should I use acronyms in dialogues before telling the readers what it stands for in fiction?

Probably overheated black color SMD pads

Practical application of matrices and determinants

If "dar" means "to give", what does "daros" mean?

Suggestions on how to spend Shaabath (constructively) alone

How to terminate ping <dest> &

How could an airship be repaired midflight?

Do US professors/group leaders only get a salary, but no group budget?

Help rendering a complicated sum/product formula

Variable completely messes up echoed string

Does the attack bonus from a Masterwork weapon stack with the attack bonus from Masterwork ammunition?

Maths symbols and unicode-math input inside siunitx commands

How can an organ that provides biological immortality be unable to regenerate?

Calculate the frequency of characters in a string

What is the significance behind "40 days" that often appears in the Bible?

Comment Box for Substitution Method of Integrals

How to generate binary array whose elements with values 1 are randomly drawn

Turning a hard to access nut?

Loading the leaflet Map in Lightning Web Component

Could Sinn Fein swing any Brexit vote in Parliament?

What can I do if I am asked to learn different programming languages very frequently?

Do I need to consider instance restrictions when showing a language is in P?

Help prove this basic trig identity please!



One VirtualHost, multiple aliases and store access issues


More than one magento virtual hosts and nginx configurationMagento Multisite (Subfolder) Blank PageSubdirectory Multi Store IssueMagento Multi-Store with Domain Alias - 404 Error on 2nd StoreHow to set up OpenServer to use magento ee multistore feature?'Internal Server Error' in Magento multistore (subdomain)Too many redirects mobile version onlyIssue with Multi Store setup - New NZ site does not load the right store500 Internal Server Error nginx/1.12.0 on checkout page after Migration from Apache to NginxHow does Magento determine the route / getting 404 behind proxy













0















I'm getting 404 / apache error issues while trying to configure multiple stores having the same domain name and specific URI "directory"



What I have done



vhost config



NameVirtualHost *:80
<VirtualHost *:80>
DocumentRoot "/var/www/html/dev-site/code"
ServerName my.domain.local

Alias /alias1 /var/www/html/dev-site/code
Alias /alias2 /var/www/html/dev-site/code
Alias /alias3 /var/www/html/dev-site/code

<Directory /var/www/html/dev-site/code>
Order allow,deny
Allow from all
AllowOverride All
RewriteEngine On
Options +FollowSymlinks
</Directory>

SetEnvIf Request_URI ^/alias1(.*) MAGE_RUN_CODE=pf_view
SetEnvIf Request_URI ^/alias1(.*) MAGE_RUN_TYPE=store

SetEnvIf Request_URI ^/alias2(.*) MAGE_RUN_CODE=es_view
SetEnvIf Request_URI ^/alias2(.*) MAGE_RUN_TYPE=store

SetEnvIf Request_URI ^/alias3(.*) MAGE_RUN_CODE=ta_view
SetEnvIf Request_URI ^/alias3(.*) MAGE_RUN_TYPE=store
</VirtualHost>


Magento config



  • In core_config_data, default base_url is set to "http://domain.local/" (so we can access admin at http://domain.local/admin)

  • Each store base_url is set as "http://my.domain.local/aliasX/" (replace X by 1, 2 or 3)

  • Every single js/media/skin base url is explicitely specified and common for all aliases (e.g. http://my.domain.local/js/)


  • index.php is tweaked so it can handle "REDIRECT_" server vars :



    /* Store or website code */
    $mageRunCode = isset($_SERVER['MAGE_RUN_CODE']) ? $_SERVER['MAGE_RUN_CODE'] : '';
    if ('' == $mageRunCode)
    $mageRunCode = isset($_SERVER['REDIRECT_MAGE_RUN_CODE']) ? $_SERVER['REDIRECT_MAGE_RUN_CODE'] : $mageRunCode;


    /* Run store or run website */
    $mageRunType = isset($_SERVER['MAGE_RUN_TYPE']) ? $_SERVER['MAGE_RUN_TYPE'] : 'store';
    if ('store' == $mageRunType)
    $mageRunType = isset($_SERVER['REDIRECT_MAGE_RUN_TYPE']) ? $_SERVER['REDIRECT_MAGE_RUN_TYPE'] : $mageRunType;



What I get



This config is not enough (or is wrong) to make it work :



  • In index.php, when I dump $mageRunCode just before the Mage::run() line, I get the correct value

  • All homepages work (http://my.domain.local/aliasX/)

  • When I set RewriteBase to /alias1/, all /alias1 based urls are working but not the others

  • All other aliases' urls are redirected to alias1 homepage (and the dump shows the alias1 run code). This is normal, as I set RewriteBase to /alias1/

What I already tried and isn't described above



  • I tried tu use <Location> in my vhost config to set conditional RewriteBase. But with Locations set, my urls are not correctly redirected to index.php and I get the good ol' white apache 404 page (with apache error logs like this one : File does not exist: /var/www/html/dev-site/code/catalog, referer: http://my.domain.local/alias1/)

What I dont want



vhost aliases pointing to subdirectories + duplicated .htaccess and index.php in these subdirectories



Any help, clue, link - you name it - will be highly appreciated (I'm not a sysadmin and currently wasting my client's money not being able to solve this issue)










share|improve this question




























    0















    I'm getting 404 / apache error issues while trying to configure multiple stores having the same domain name and specific URI "directory"



    What I have done



    vhost config



    NameVirtualHost *:80
    <VirtualHost *:80>
    DocumentRoot "/var/www/html/dev-site/code"
    ServerName my.domain.local

    Alias /alias1 /var/www/html/dev-site/code
    Alias /alias2 /var/www/html/dev-site/code
    Alias /alias3 /var/www/html/dev-site/code

    <Directory /var/www/html/dev-site/code>
    Order allow,deny
    Allow from all
    AllowOverride All
    RewriteEngine On
    Options +FollowSymlinks
    </Directory>

    SetEnvIf Request_URI ^/alias1(.*) MAGE_RUN_CODE=pf_view
    SetEnvIf Request_URI ^/alias1(.*) MAGE_RUN_TYPE=store

    SetEnvIf Request_URI ^/alias2(.*) MAGE_RUN_CODE=es_view
    SetEnvIf Request_URI ^/alias2(.*) MAGE_RUN_TYPE=store

    SetEnvIf Request_URI ^/alias3(.*) MAGE_RUN_CODE=ta_view
    SetEnvIf Request_URI ^/alias3(.*) MAGE_RUN_TYPE=store
    </VirtualHost>


    Magento config



    • In core_config_data, default base_url is set to "http://domain.local/" (so we can access admin at http://domain.local/admin)

    • Each store base_url is set as "http://my.domain.local/aliasX/" (replace X by 1, 2 or 3)

    • Every single js/media/skin base url is explicitely specified and common for all aliases (e.g. http://my.domain.local/js/)


    • index.php is tweaked so it can handle "REDIRECT_" server vars :



      /* Store or website code */
      $mageRunCode = isset($_SERVER['MAGE_RUN_CODE']) ? $_SERVER['MAGE_RUN_CODE'] : '';
      if ('' == $mageRunCode)
      $mageRunCode = isset($_SERVER['REDIRECT_MAGE_RUN_CODE']) ? $_SERVER['REDIRECT_MAGE_RUN_CODE'] : $mageRunCode;


      /* Run store or run website */
      $mageRunType = isset($_SERVER['MAGE_RUN_TYPE']) ? $_SERVER['MAGE_RUN_TYPE'] : 'store';
      if ('store' == $mageRunType)
      $mageRunType = isset($_SERVER['REDIRECT_MAGE_RUN_TYPE']) ? $_SERVER['REDIRECT_MAGE_RUN_TYPE'] : $mageRunType;



    What I get



    This config is not enough (or is wrong) to make it work :



    • In index.php, when I dump $mageRunCode just before the Mage::run() line, I get the correct value

    • All homepages work (http://my.domain.local/aliasX/)

    • When I set RewriteBase to /alias1/, all /alias1 based urls are working but not the others

    • All other aliases' urls are redirected to alias1 homepage (and the dump shows the alias1 run code). This is normal, as I set RewriteBase to /alias1/

    What I already tried and isn't described above



    • I tried tu use <Location> in my vhost config to set conditional RewriteBase. But with Locations set, my urls are not correctly redirected to index.php and I get the good ol' white apache 404 page (with apache error logs like this one : File does not exist: /var/www/html/dev-site/code/catalog, referer: http://my.domain.local/alias1/)

    What I dont want



    vhost aliases pointing to subdirectories + duplicated .htaccess and index.php in these subdirectories



    Any help, clue, link - you name it - will be highly appreciated (I'm not a sysadmin and currently wasting my client's money not being able to solve this issue)










    share|improve this question


























      0












      0








      0








      I'm getting 404 / apache error issues while trying to configure multiple stores having the same domain name and specific URI "directory"



      What I have done



      vhost config



      NameVirtualHost *:80
      <VirtualHost *:80>
      DocumentRoot "/var/www/html/dev-site/code"
      ServerName my.domain.local

      Alias /alias1 /var/www/html/dev-site/code
      Alias /alias2 /var/www/html/dev-site/code
      Alias /alias3 /var/www/html/dev-site/code

      <Directory /var/www/html/dev-site/code>
      Order allow,deny
      Allow from all
      AllowOverride All
      RewriteEngine On
      Options +FollowSymlinks
      </Directory>

      SetEnvIf Request_URI ^/alias1(.*) MAGE_RUN_CODE=pf_view
      SetEnvIf Request_URI ^/alias1(.*) MAGE_RUN_TYPE=store

      SetEnvIf Request_URI ^/alias2(.*) MAGE_RUN_CODE=es_view
      SetEnvIf Request_URI ^/alias2(.*) MAGE_RUN_TYPE=store

      SetEnvIf Request_URI ^/alias3(.*) MAGE_RUN_CODE=ta_view
      SetEnvIf Request_URI ^/alias3(.*) MAGE_RUN_TYPE=store
      </VirtualHost>


      Magento config



      • In core_config_data, default base_url is set to "http://domain.local/" (so we can access admin at http://domain.local/admin)

      • Each store base_url is set as "http://my.domain.local/aliasX/" (replace X by 1, 2 or 3)

      • Every single js/media/skin base url is explicitely specified and common for all aliases (e.g. http://my.domain.local/js/)


      • index.php is tweaked so it can handle "REDIRECT_" server vars :



        /* Store or website code */
        $mageRunCode = isset($_SERVER['MAGE_RUN_CODE']) ? $_SERVER['MAGE_RUN_CODE'] : '';
        if ('' == $mageRunCode)
        $mageRunCode = isset($_SERVER['REDIRECT_MAGE_RUN_CODE']) ? $_SERVER['REDIRECT_MAGE_RUN_CODE'] : $mageRunCode;


        /* Run store or run website */
        $mageRunType = isset($_SERVER['MAGE_RUN_TYPE']) ? $_SERVER['MAGE_RUN_TYPE'] : 'store';
        if ('store' == $mageRunType)
        $mageRunType = isset($_SERVER['REDIRECT_MAGE_RUN_TYPE']) ? $_SERVER['REDIRECT_MAGE_RUN_TYPE'] : $mageRunType;



      What I get



      This config is not enough (or is wrong) to make it work :



      • In index.php, when I dump $mageRunCode just before the Mage::run() line, I get the correct value

      • All homepages work (http://my.domain.local/aliasX/)

      • When I set RewriteBase to /alias1/, all /alias1 based urls are working but not the others

      • All other aliases' urls are redirected to alias1 homepage (and the dump shows the alias1 run code). This is normal, as I set RewriteBase to /alias1/

      What I already tried and isn't described above



      • I tried tu use <Location> in my vhost config to set conditional RewriteBase. But with Locations set, my urls are not correctly redirected to index.php and I get the good ol' white apache 404 page (with apache error logs like this one : File does not exist: /var/www/html/dev-site/code/catalog, referer: http://my.domain.local/alias1/)

      What I dont want



      vhost aliases pointing to subdirectories + duplicated .htaccess and index.php in these subdirectories



      Any help, clue, link - you name it - will be highly appreciated (I'm not a sysadmin and currently wasting my client's money not being able to solve this issue)










      share|improve this question
















      I'm getting 404 / apache error issues while trying to configure multiple stores having the same domain name and specific URI "directory"



      What I have done



      vhost config



      NameVirtualHost *:80
      <VirtualHost *:80>
      DocumentRoot "/var/www/html/dev-site/code"
      ServerName my.domain.local

      Alias /alias1 /var/www/html/dev-site/code
      Alias /alias2 /var/www/html/dev-site/code
      Alias /alias3 /var/www/html/dev-site/code

      <Directory /var/www/html/dev-site/code>
      Order allow,deny
      Allow from all
      AllowOverride All
      RewriteEngine On
      Options +FollowSymlinks
      </Directory>

      SetEnvIf Request_URI ^/alias1(.*) MAGE_RUN_CODE=pf_view
      SetEnvIf Request_URI ^/alias1(.*) MAGE_RUN_TYPE=store

      SetEnvIf Request_URI ^/alias2(.*) MAGE_RUN_CODE=es_view
      SetEnvIf Request_URI ^/alias2(.*) MAGE_RUN_TYPE=store

      SetEnvIf Request_URI ^/alias3(.*) MAGE_RUN_CODE=ta_view
      SetEnvIf Request_URI ^/alias3(.*) MAGE_RUN_TYPE=store
      </VirtualHost>


      Magento config



      • In core_config_data, default base_url is set to "http://domain.local/" (so we can access admin at http://domain.local/admin)

      • Each store base_url is set as "http://my.domain.local/aliasX/" (replace X by 1, 2 or 3)

      • Every single js/media/skin base url is explicitely specified and common for all aliases (e.g. http://my.domain.local/js/)


      • index.php is tweaked so it can handle "REDIRECT_" server vars :



        /* Store or website code */
        $mageRunCode = isset($_SERVER['MAGE_RUN_CODE']) ? $_SERVER['MAGE_RUN_CODE'] : '';
        if ('' == $mageRunCode)
        $mageRunCode = isset($_SERVER['REDIRECT_MAGE_RUN_CODE']) ? $_SERVER['REDIRECT_MAGE_RUN_CODE'] : $mageRunCode;


        /* Run store or run website */
        $mageRunType = isset($_SERVER['MAGE_RUN_TYPE']) ? $_SERVER['MAGE_RUN_TYPE'] : 'store';
        if ('store' == $mageRunType)
        $mageRunType = isset($_SERVER['REDIRECT_MAGE_RUN_TYPE']) ? $_SERVER['REDIRECT_MAGE_RUN_TYPE'] : $mageRunType;



      What I get



      This config is not enough (or is wrong) to make it work :



      • In index.php, when I dump $mageRunCode just before the Mage::run() line, I get the correct value

      • All homepages work (http://my.domain.local/aliasX/)

      • When I set RewriteBase to /alias1/, all /alias1 based urls are working but not the others

      • All other aliases' urls are redirected to alias1 homepage (and the dump shows the alias1 run code). This is normal, as I set RewriteBase to /alias1/

      What I already tried and isn't described above



      • I tried tu use <Location> in my vhost config to set conditional RewriteBase. But with Locations set, my urls are not correctly redirected to index.php and I get the good ol' white apache 404 page (with apache error logs like this one : File does not exist: /var/www/html/dev-site/code/catalog, referer: http://my.domain.local/alias1/)

      What I dont want



      vhost aliases pointing to subdirectories + duplicated .htaccess and index.php in these subdirectories



      Any help, clue, link - you name it - will be highly appreciated (I'm not a sysadmin and currently wasting my client's money not being able to solve this issue)







      multistore redirect apache






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited 46 mins ago









      Teja Bhagavan Kollepara

      3,00641949




      3,00641949










      asked Oct 13 '15 at 9:18









      LittleBigDevLittleBigDev

      19210




      19210




















          1 Answer
          1






          active

          oldest

          votes


















          0














          You can try this:



          NameVirtualHost *:80
          DocumentRoot "/var/www/html/dev-site/code"
          ServerName my.domain.local
          RewriteEngine On
          SetEnvIf Request_URI ^/alias1.* MAGE_RUN_CODE=pf_view
          SetEnvIf Request_URI ^/alias1.* MAGE_RUN_TYPE=store
          SetEnvIf Request_URI ^/alias2.* MAGE_RUN_CODE=es_view
          SetEnvIf Request_URI ^/alias2.* MAGE_RUN_TYPE=store
          SetEnvIf Request_URI ^/alias3.* MAGE_RUN_CODE=ta_view
          SetEnvIf Request_URI ^/alias3.* MAGE_RUN_TYPE=store
          <Directory /var/www/html/dev-site/code>
          Order allow,deny
          Allow from all
          AllowOverride All
          RewriteEngine On
          Options +FollowSymlinks
          </Directory>





          share|improve this answer

























          • Without RewriteBase i'm getting a Magento 404 error (skinned) for any page, home pages included. With a RewriteBase (say, /alias1/), I'm getting a brutal Internal Server Error With following apache error log : Request exceeded the limit of 10 internal redirects due to probable configuration error. Use 'LimitInternalRecursion' to increase the limit if necessary. Use 'LogLevel debug' to get a backtrace.

            – LittleBigDev
            Oct 15 '15 at 7:11











          Your Answer








          StackExchange.ready(function()
          var channelOptions =
          tags: "".split(" "),
          id: "479"
          ;
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function()
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled)
          StackExchange.using("snippets", function()
          createEditor();
          );

          else
          createEditor();

          );

          function createEditor()
          StackExchange.prepareEditor(
          heartbeatType: 'answer',
          autoActivateHeartbeat: false,
          convertImagesToLinks: false,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: null,
          bindNavPrevention: true,
          postfix: "",
          imageUploader:
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          ,
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          );



          );













          draft saved

          draft discarded


















          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f86276%2fone-virtualhost-multiple-aliases-and-store-access-issues%23new-answer', 'question_page');

          );

          Post as a guest















          Required, but never shown

























          1 Answer
          1






          active

          oldest

          votes








          1 Answer
          1






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes









          0














          You can try this:



          NameVirtualHost *:80
          DocumentRoot "/var/www/html/dev-site/code"
          ServerName my.domain.local
          RewriteEngine On
          SetEnvIf Request_URI ^/alias1.* MAGE_RUN_CODE=pf_view
          SetEnvIf Request_URI ^/alias1.* MAGE_RUN_TYPE=store
          SetEnvIf Request_URI ^/alias2.* MAGE_RUN_CODE=es_view
          SetEnvIf Request_URI ^/alias2.* MAGE_RUN_TYPE=store
          SetEnvIf Request_URI ^/alias3.* MAGE_RUN_CODE=ta_view
          SetEnvIf Request_URI ^/alias3.* MAGE_RUN_TYPE=store
          <Directory /var/www/html/dev-site/code>
          Order allow,deny
          Allow from all
          AllowOverride All
          RewriteEngine On
          Options +FollowSymlinks
          </Directory>





          share|improve this answer

























          • Without RewriteBase i'm getting a Magento 404 error (skinned) for any page, home pages included. With a RewriteBase (say, /alias1/), I'm getting a brutal Internal Server Error With following apache error log : Request exceeded the limit of 10 internal redirects due to probable configuration error. Use 'LimitInternalRecursion' to increase the limit if necessary. Use 'LogLevel debug' to get a backtrace.

            – LittleBigDev
            Oct 15 '15 at 7:11
















          0














          You can try this:



          NameVirtualHost *:80
          DocumentRoot "/var/www/html/dev-site/code"
          ServerName my.domain.local
          RewriteEngine On
          SetEnvIf Request_URI ^/alias1.* MAGE_RUN_CODE=pf_view
          SetEnvIf Request_URI ^/alias1.* MAGE_RUN_TYPE=store
          SetEnvIf Request_URI ^/alias2.* MAGE_RUN_CODE=es_view
          SetEnvIf Request_URI ^/alias2.* MAGE_RUN_TYPE=store
          SetEnvIf Request_URI ^/alias3.* MAGE_RUN_CODE=ta_view
          SetEnvIf Request_URI ^/alias3.* MAGE_RUN_TYPE=store
          <Directory /var/www/html/dev-site/code>
          Order allow,deny
          Allow from all
          AllowOverride All
          RewriteEngine On
          Options +FollowSymlinks
          </Directory>





          share|improve this answer

























          • Without RewriteBase i'm getting a Magento 404 error (skinned) for any page, home pages included. With a RewriteBase (say, /alias1/), I'm getting a brutal Internal Server Error With following apache error log : Request exceeded the limit of 10 internal redirects due to probable configuration error. Use 'LimitInternalRecursion' to increase the limit if necessary. Use 'LogLevel debug' to get a backtrace.

            – LittleBigDev
            Oct 15 '15 at 7:11














          0












          0








          0







          You can try this:



          NameVirtualHost *:80
          DocumentRoot "/var/www/html/dev-site/code"
          ServerName my.domain.local
          RewriteEngine On
          SetEnvIf Request_URI ^/alias1.* MAGE_RUN_CODE=pf_view
          SetEnvIf Request_URI ^/alias1.* MAGE_RUN_TYPE=store
          SetEnvIf Request_URI ^/alias2.* MAGE_RUN_CODE=es_view
          SetEnvIf Request_URI ^/alias2.* MAGE_RUN_TYPE=store
          SetEnvIf Request_URI ^/alias3.* MAGE_RUN_CODE=ta_view
          SetEnvIf Request_URI ^/alias3.* MAGE_RUN_TYPE=store
          <Directory /var/www/html/dev-site/code>
          Order allow,deny
          Allow from all
          AllowOverride All
          RewriteEngine On
          Options +FollowSymlinks
          </Directory>





          share|improve this answer















          You can try this:



          NameVirtualHost *:80
          DocumentRoot "/var/www/html/dev-site/code"
          ServerName my.domain.local
          RewriteEngine On
          SetEnvIf Request_URI ^/alias1.* MAGE_RUN_CODE=pf_view
          SetEnvIf Request_URI ^/alias1.* MAGE_RUN_TYPE=store
          SetEnvIf Request_URI ^/alias2.* MAGE_RUN_CODE=es_view
          SetEnvIf Request_URI ^/alias2.* MAGE_RUN_TYPE=store
          SetEnvIf Request_URI ^/alias3.* MAGE_RUN_CODE=ta_view
          SetEnvIf Request_URI ^/alias3.* MAGE_RUN_TYPE=store
          <Directory /var/www/html/dev-site/code>
          Order allow,deny
          Allow from all
          AllowOverride All
          RewriteEngine On
          Options +FollowSymlinks
          </Directory>






          share|improve this answer














          share|improve this answer



          share|improve this answer








          edited Jul 5 '16 at 11:43









          Marius

          167k28319684




          167k28319684










          answered Oct 14 '15 at 19:32









          AdelAdel

          11




          11












          • Without RewriteBase i'm getting a Magento 404 error (skinned) for any page, home pages included. With a RewriteBase (say, /alias1/), I'm getting a brutal Internal Server Error With following apache error log : Request exceeded the limit of 10 internal redirects due to probable configuration error. Use 'LimitInternalRecursion' to increase the limit if necessary. Use 'LogLevel debug' to get a backtrace.

            – LittleBigDev
            Oct 15 '15 at 7:11


















          • Without RewriteBase i'm getting a Magento 404 error (skinned) for any page, home pages included. With a RewriteBase (say, /alias1/), I'm getting a brutal Internal Server Error With following apache error log : Request exceeded the limit of 10 internal redirects due to probable configuration error. Use 'LimitInternalRecursion' to increase the limit if necessary. Use 'LogLevel debug' to get a backtrace.

            – LittleBigDev
            Oct 15 '15 at 7:11

















          Without RewriteBase i'm getting a Magento 404 error (skinned) for any page, home pages included. With a RewriteBase (say, /alias1/), I'm getting a brutal Internal Server Error With following apache error log : Request exceeded the limit of 10 internal redirects due to probable configuration error. Use 'LimitInternalRecursion' to increase the limit if necessary. Use 'LogLevel debug' to get a backtrace.

          – LittleBigDev
          Oct 15 '15 at 7:11






          Without RewriteBase i'm getting a Magento 404 error (skinned) for any page, home pages included. With a RewriteBase (say, /alias1/), I'm getting a brutal Internal Server Error With following apache error log : Request exceeded the limit of 10 internal redirects due to probable configuration error. Use 'LimitInternalRecursion' to increase the limit if necessary. Use 'LogLevel debug' to get a backtrace.

          – LittleBigDev
          Oct 15 '15 at 7:11


















          draft saved

          draft discarded
















































          Thanks for contributing an answer to Magento Stack Exchange!


          • Please be sure to answer the question. Provide details and share your research!

          But avoid


          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.

          To learn more, see our tips on writing great answers.




          draft saved


          draft discarded














          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f86276%2fone-virtualhost-multiple-aliases-and-store-access-issues%23new-answer', 'question_page');

          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown







          Popular posts from this blog

          Can not update quote_id field of “quote_item” table magento 2Magento 2.1 - We can't remove the item. (Shopping Cart doesnt allow us to remove items before becomes empty)Add value for custom quote item attribute using REST apiREST API endpoint v1/carts/cartId/items always returns error messageCorrect way to save entries to databaseHow to remove all associated quote objects of a customer completelyMagento 2 - Save value from custom input field to quote_itemGet quote_item data using quote id and product id filter in Magento 2How to set additional data to quote_item table from controller in Magento 2?What is the purpose of additional_data column in quote_item table in magento2Set Custom Price to Quote item magento2 from controller

          Magento 2 disable Secret Key on URL's from terminal The Next CEO of Stack OverflowMagento 2 Shortcut/GUI tool to perform commandline tasks for windowsIn menu add configuration linkMagento oAuth : Generating access token and access secretMagento 2 security key issue in Third-Party API redirect URIPublic actions in admin controllersHow to Disable Cache in Custom WidgetURL Key not changing in Magento 2Product URL Key gets deleted when importing custom options - Magento 2Problem with reindex terminalMagento 2 - bin/magento Commands not working in Cpanel Terminal

          Aasi (pallopeli) Navigointivalikko