Search Results

Search found 3 results on 1 pages for 'mschoening'.

Page 1/1 | 1 

  • RewriteRule to only affect first segment

    - by mschoening
    I have the following RewriteRule in place. This rewrites everything that starts with mac, linux or windows: RewriteCond $1 ^(mac|linux|windows) [NC] RewriteRule ^(.*)$ /index.php/site/index/$1 [L] Unfortunately this also rewrites /mac/test/testing. How can I prevent it from applying if there is another segmend after /mac?

    Read the article

  • Headers set on embedding

    - by mschoening
    Lets say I have a URL (http://www.example.com/something). Is the following scenario somehow possible? A) The user visits the URL directly and a standard page with markup, js, etc. is shown. B) The user embeds the same URL in an image tag and the URL is served only as an image.

    Read the article

  • Force download through markup or JS

    - by mschoening
    Lets assume I have a file on a CDN (Cloud Files from Rackspace) and a static html page with a link to that file. Is there any way I can force download this file (to prevent it from opening in the browser -- for mp3s for example)? We could make our server read the file and set the corresponding header to: header("Content-Type: application/force-download") but we have about 5 million downloads per month so we would rather let the CDN take care of that. Any ideas?

    Read the article

1