All Questions
2 questions
0
votes
1
answer
201
views
Apache Mod_ReWrite http header "X-RHN-Provisioning-MAC-0: eth0 de:ad:be:ef:04 " to be included on URL
We are massaging a prev working ruby kickstart script to try to try to check headers coming in from a bare metal machine pxe booting(using the kssendmac kickstart option linked above). We built it ...
1
vote
2
answers
128
views
Is there a way to redirect www.foo.com/* to foo.com/* using Ruby on Rails without mod_rewrite
I want to redirect any request from www.foo.com to foo.com. Normally, I'd use mod_rewrite to do this and just use a regular expression to match any subdomains. However, I'm using Heroku to host this ...