Uploaded image for project: 'eZ Publish / Platform'
  1. eZ Publish / Platform
  2. EZP-20232

Add a note in virtual host about index_dev.php file

    Details

      Description

      Hi. if you follow the virtual host example at
      http://doc.ez.no/eZ-Publish/Technical-manual/5.x/Installation/Virtual-host-setup/Virtual-host-example

      you cannot use index_dev.php properly. I know it's more for devs, so maybe we can add a note in the file or a commented rewriteRules.

      I'm thinking in dev people coming from symfony and trying ez publish for the first time.

        Issue Links

          Activity

          Hide
          Carlos Revillo added a comment -

          Patrick, i think this is a good addition and surely a better aproach to the whole thing.
          About the specifities of the environment, i think i haven't the knowledge to suggest something about (yet) I would say that deactivating the internal HTTP Caché could be one of this, but as said, i have to digg it more into this.

          This issue was added when i started deep with ez5 and tried to make the symfony toolbars appear. So, i think we can get rid of this issue and follow the discussion in that pr.

          Thanks Patrick!.

          Show
          Carlos Revillo added a comment - Patrick, i think this is a good addition and surely a better aproach to the whole thing. About the specifities of the environment, i think i haven't the knowledge to suggest something about (yet) I would say that deactivating the internal HTTP Caché could be one of this, but as said, i have to digg it more into this. This issue was added when i started deep with ez5 and tried to make the symfony toolbars appear. So, i think we can get rid of this issue and follow the discussion in that pr. Thanks Patrick!.
          Hide
          André Rømcke added a comment -

          For VH setups, may I suggest the following for 5.0 and 5.1 docs?

          1. Example for exposing dev/debug environment (Note: make sure this is never exposed publicly!)
            #RewriteCond % {HTTP_HOST} = localhost.dev [OR]
            #RewriteCond %{HTTP_HOST}

            = admin.localhost.dev
            #RewriteRule .* /index_dev.php [L]

          Show
          André Rømcke added a comment - For VH setups, may I suggest the following for 5.0 and 5.1 docs? Example for exposing dev/debug environment (Note: make sure this is never exposed publicly!) #RewriteCond % {HTTP_HOST} = localhost.dev [OR] #RewriteCond %{HTTP_HOST} = admin.localhost.dev #RewriteRule .* /index_dev.php [L]
          Hide
          Patrick Allaert (Inactive) added a comment -

          @documentation:

          The following document should be updated: https://confluence.ez.no/display/EZP/Virtual+host+example

          For 5.0/5.1 (but not for 5.2), the following changes should be made: https://gist.github.com/patrickallaert/d2d1dfa4042a91e2f3d6

          For 5.2 (but not below), the following changes should be made: https://gist.github.com/patrickallaert/7d6fcd9a2b7f7f74d658

          Not sure on how to implement version specific changes likes this to that document...

          Show
          Patrick Allaert (Inactive) added a comment - @documentation: The following document should be updated: https://confluence.ez.no/display/EZP/Virtual+host+example For 5.0/5.1 (but not for 5.2), the following changes should be made: https://gist.github.com/patrickallaert/d2d1dfa4042a91e2f3d6 For 5.2 (but not below), the following changes should be made: https://gist.github.com/patrickallaert/7d6fcd9a2b7f7f74d658 Not sure on how to implement version specific changes likes this to that document...
          Hide
          Ricardo Correia (Inactive) added a comment -

          The examples in the following documentation pages have been updated:
          https://confluence.ez.no/display/EZP50/Virtual+host+example
          https://confluence.ez.no/display/EZP51/Virtual+host+example

          The required changes are also already present on the 5.2 documentation (master):
          https://confluence.ez.no/display/EZP/Virtual+host+example

          Show
          Ricardo Correia (Inactive) added a comment - The examples in the following documentation pages have been updated: https://confluence.ez.no/display/EZP50/Virtual+host+example https://confluence.ez.no/display/EZP51/Virtual+host+example The required changes are also already present on the 5.2 documentation (master): https://confluence.ez.no/display/EZP/Virtual+host+example
          Hide
          Marcos Loureiro (Inactive) added a comment -

          QA Approved

          Show
          Marcos Loureiro (Inactive) added a comment - QA Approved

            People

            • Assignee:
              Unassigned
              Reporter:
              Carlos Revillo
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Time Spent - 5 hours, 15 minutes Remaining Estimate - 5 hours, 15 minutes
                5h 15m
                Logged:
                Time Spent - 5 hours, 15 minutes Remaining Estimate - 5 hours, 15 minutes
                5h 15m