The drop is always movingYou know that saying about standing on the shoulders of giants? Drupal is standing on a huge pile of midgetsAll content management systems suck, Drupal just happens to suck less.Popular open source software is more secure than unpopular open source software, because insecure software becomes unpopular fast. [That doesn't happen for proprietary software.]Drupal makes sandwiches happen.There is a module for that

Per style private files

Submitted by nk on Thu, 2012-02-02 20:31

Private files are great but they are a huge resource hog. In certain scenarios, lower-resolution versions of the pictures are absolutely fine to be public, only high resolution originals need to be protected. In this case you can use Drupal's private file handling as it is and the following simple trick to make a style public.

In your Drupal root:

  1. mkdir -p system/files/styles
  2. cd system/files/styles
  3. ln -s /absolute/path/to/the/directory/containing/the/private/files/styles/stylename

Apache will see now the "private" file as a real filename (because Drupal's htaccess contains Options +FollowSymLinks) and happily serve the file without going through Drupal.

Commenting on this Story is closed.

Submitted by Forest Monsen on Thu, 2012-02-02 21:11.

chx this is an interesting hack! It is very easy to set up, I will grant you that.

I find when troubleshooting access issues with Drupal that the more "outside of Drupal and Apache" tweaks there are -- like symlinks on the filesystem -- the harder it can be to track down a problem, and when migrating content, I usually use rsync's "archive" mode (-a), which copies symbolic links as just that: symbolic links.

Now, a single symbolic link might not trip an admin up, but making a practice of it could become a problem. So I would suggest Apache's <Directory> container to accomplish this.

Submitted by Ammyjames on Fri, 2012-02-10 12:29.

I prefer this type of conversation and much interested to learn your unique write-up .I would like to discuss on-line

education along with their own emerging developments within the students and IT professionals.Here are several The

Qualification assessments you possibly can opt for a single of those:


Submitted by Paully on Mon, 2012-03-19 03:31.

There is far more to French style than what is listed here, but if you begin your new wardrobe with these basics, you are sure to have French fashion clothing suitable for every occasion.Few garments survived in their original form, having been recut to fit a different figure or to reflect a newer fashion.Fashion and style are fourteenth-century words.People who really feel short- budgeted opt to shop at these outlet stores instead of patronizing fake merchandise or inexpensive options.Authentic Burberry outlet items sold in these retailers fit people's needs for quality, functionality and fashionable styles. With utter excellence in every single item line launched by the provider by means of the years, guarantee the overall high quality of items sold in Burberry Outlet Stores. From raw supplies, manufacturing, and styles-Burberry goods are on top rated in the charts.All these are for you to delight in coupled with good client service.