1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

trying to set Vary header

Discussion in 'Apache' started by dethfire, Dec 19, 2013.

  1. #1
    mod_header is installed and I put this in my htaccess but it doesn't change the header. any ideas?

    <IfModule mod_headers.c>
    <FilesMatch "\.(htm|html|php)$">
    Header append Vary: User-Agent
    </FilesMatch>
    </IfModule>
     
    dethfire, Dec 19, 2013 IP
  2. Johnnt Nguyen

    Johnnt Nguyen Member

    Messages:
    10
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    46
    #2
    You need using php for set or view your headers you want!

    Example:
    <?php
        @session_start();
        header('User-Agent: Anything you want');
    ?>
    PHP:
     
    Johnnt Nguyen, Jan 22, 2014 IP