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

merge default rewrite rules with the ones documented for vhost setup - improve .htaccess_root

    XMLWordPrintable

Details

    Description

      • the default .htaccess_root has to be tweaked to allow vhost config, since the following rules forbid access to the site:

      <FilesMatch "(index\.php|\.(gif|jpe?g|png|css|js|html)|var(.)storage.pdf(.)\.pdf)$">
      order allow,deny
      allow from all
      </FilesMatch>

      • the rewrite rules based on file location and not only suffix are safer
      • misc stuff that could be added to rewrite rules for a vhost setup: favicon.ico, p3p.xml, robots.txt. All of these could be part of the default .htaccess_root but left commented.
      • other things that could be left in but commented: usage of mod_gizp for css and js files, expires headers on all design elements

      Attachments

        Activity

          People

            andre1 andre1
            72f8acac-185f-4a54-9470-a7473f50daab@accounts.ibexa.co Gaetano Giunta
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: