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:
[email protected]


With regards,
Apache Git Services

Reply via email to