logo
Apache Lounge
Webmasters

 

About Forum Index Downloads Search Register Log in RSS X


Keep Server Online

If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.

or

Bitcoin

A donation makes a contribution towards the costs, the time and effort that's going in this site and building.

Thank You! Steffen

Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
Post new topic   Forum Index -> Apache View previous topic :: View next topic
Reply to topic   Topic: Adding to header to requested url
Author
rabisco



Joined: 22 Oct 2014
Posts: 2
Location: Chicago, USA

PostPosted: Wed 22 Oct '14 22:18    Post subject: Adding to header to requested url Reply with quote

I am attempting to add a header a number of requested urls i.e. www.domain/feeds/chicago, www.domain/feeds/*

I understand that this can be achieved by

•using mod_rewrite to set an environment variable
•using mod_headers to add a header based on the existence of an environment variable.

So far I can add the a new header thus

Header add RSS_FEED_URL "Akamai-Edge-Control"

I'm looking for some pointers as to how to achieve this.
Back to top
James Blond
Moderator


Joined: 19 Jan 2006
Posts: 7294
Location: Germany, Next to Hamburg

PostPosted: Thu 23 Oct '14 14:28    Post subject: Reply with quote

You should create that Headers with your software you create the feeds.
Back to top


Reply to topic   Topic: Adding to header to requested url View previous topic :: View next topic
Post new topic   Forum Index -> Apache