How to create a self-signed SSL Certificate

…  which can be used for testing purposes or internal usage

.. Step 1: Generate a Private Key

.. Step 2: Generate a CSR (Certificate Signing Request)

.. Step 3: Remove Passphrase from Key

.. Step 4: Generating a Self-Signed Certificate

.. Step 5: Installing the Private Key and Certificate

.. Step 6: Configuring SSL Enabled Virtual Hosts

..  Step 7: Restart Apache and Test

Amazon S3: is it possible to set HTTP expires headers *on access*?

in Apache’s mod_expires module (which allows you to set the Expires: header behavior), you can set a relative expiration header based on the access time of the file, eg,

ExpiresDefault “access plus 1 years”

.. The Cache-Control: max-age directive provides exactly what you’re asking for. For example:

Cache-Control: max-age=1314000

Tells CloudFront (and browsers) that they can cache the object for one year from the time it was originally fetched from the origin. We recommend that publishers set Cache-Control instead of Expires. Is there a reason you need Expires?