Link to home
Start Free TrialLog in
Avatar of hankknight
hankknightFlag for Canada

asked on

I need to control the headers sent by apache

Hello.

I need to control the headers sent by apache.

    Pragma: public
    Last-Modified: ### The last-modified date should go here ###
    Cache-Control: no-store, no-cache, must-revalidate
    Cache-Control: pre-check=0, post-check=0, max-age=0
    Content-Transfer-Encoding: none
    Content-Type: application/octetstream; name="###   The name of the file should go here   ###"
    Content-Disposition: inline; filename="###   The name of the file should go here    ###"
    Content-length: $content_len

So, if someone click on "page.html" the above headers will be used.

How can I get the above headers to be used for all files in a given directory?

Thanks!
ASKER CERTIFIED SOLUTION
Avatar of samri
samri
Flag of Malaysia image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial