• 12.08.11 - Reconfigure Apache to use Plesk vhosts

    Sometimes the Apache configuration for the virtual hosts magically disappear when you update to a major version of Plesk.An easy way to restore it is to reconfigure Apache through the command-line running the next command:
    More news about:  apache
    Tags:  linux,  Apache,  Plesk,  vhosts
  • 08.09.10 - Configure file cache from Apache

    To enable items cache in the client side only, you only need to have installed on your Apache server the mod_expires module. Once installed, specify a default cache for all elements accessed by our server is as easy as typing the following directive in the httpd configuration of our site ( or ): [...]
    More news about:  apache
    Tags:  mod_expires,  performace
  • 05.02.10 - Redirect to a secure connection in Apache

    Redirect the request for a file or directory is easy as include the following lines into the web root .htaccess Apache file: This will redirect every request for the file "file" (for example) with HTTP protocol (any wich the access port different from 443) to another HTTPS secure URL similary to [...]
    More news about:  apache
    Tags:  mod_rewrite,  https,  redirect
  • 02.02.10 - Redirect "domain" to "www.domain" with Apache

    Must create/modify the file .htaccess in the domain root directory wich also must have the following apache configuration lines:
    More news about:  apache
    Tags:  mod_rewrite,  redirect
  • 29.12.09 - Apache .htaccess permission denied

    If we choose another DocumentRoot location for any host configuration you must ensure that Apache have full access from the root to the destiny if not your browser will prompt a "Permission denied" and in the log file you can find a message like "Permission denied: NO_ACCESIBLE_DIR/.htaccess [...]
    More news about:  apache
    Tags:  vhost,  permission denied,  DocumentRoot