pagespeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <...@apache.org>
Subject [GitHub] [incubator-pagespeed-mod] Lofesa commented on issue #1986: Uncacheable content, preventing rewriting of...
Date Thu, 26 Mar 2020 17:05:37 GMT
Lofesa commented on issue #1986: Uncacheable content, preventing rewriting of...
URL: https://github.com/apache/incubator-pagespeed-mod/issues/1986#issuecomment-604552017
 
 
   Hi
   Apache uses a main cnfig file, usually called http.conf. In this file Virtual domains,
directories and other stuff is configured. Other file is used too, .htaccess. The main config
file may be located in a /etc suddir, the exact location depend on what pakcage are you using,
The .htaccess is in the root directory of the web server, where the files served start,
   headers can be set on both files, an rewrite rules too. Apache has rewrite rules like:
   
   ```
   RewriteEngine On
   RewriteBase /
   RewriteRule ^index\.php$ - [L]
   RewriteCond %{REQUEST_FILENAME} !-f
   RewriteCond %{REQUEST_FILENAME} !-d
   RewriteRule . /index.php [L]
   ```
   These rules I have posted serve a static file or directory or run the index.php file.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

Mime
View raw message