- Uncomment the line #LoadModule expires_module modules/mod_expires.so in the httpd.conf file
- Create a file named .htaccess under the relevant website directory and add the text
# enable expiration ExpiresActive On #expire all pages to prevent caching ExpiresDefault "access plus 1 second"
- Restart Apache
Use folder structure not in the document root
- Add an alias in the httpd.conf file e.g.
Alias /mysite "c:/somefolder/mysite"AllowOverride None Options Indexes FollowSymLinks ExecCGI Order allow,deny Allow from all
No comments:
Post a Comment