Solved

Drupal Clean URL but need download link

Posted on 2010-11-18
3
320 Views
Last Modified: 2012-05-10
Hey -

Quick, and possibly boneheaded question.

I've got a drupal site - with Clean URLs enabled.  However - I need to provide links for our users to be able to view/download PDFs located on the same server.

I think you can see what I'm getting at here.

If I go to "http://www.mydomain.com/pdfs/mysample.pdf" - the URL is taken over by the mod-rewrite/cleanURL function.  So - I can't place links to it within the site.

Is there something I'm missing?  How would you accomplish this?

Thanks!
0
Comment
Question by:erzoolander
3 Comments
 
LVL 13

Accepted Solution

by:
dsmile earned 500 total points
ID: 34167016
Are you sure it's clean URL that causes this?
Try disable clean URL then access that file again.

I think only non-existence path is taken care of by clean URL (as I see in my drupal 6.2 deployment)
0
 
LVL 1

Author Closing Comment

by:erzoolander
ID: 34167254
You're right.  It was a miscommunication from our art department.  I was under the impression they had already put up the file - when in fact they hadn't.
0
 

Expert Comment

by:vadbars
ID: 34167889
You need to create file named .htaccess, which contains roughly:
==
SetHandler Drupal_Security_Do_Not_Remove_See_SA_2006_006
Options None
Options +FollowSymLinks
==

And put it in the directory http://www.mydomain.com/pdfs.
Example: file in directory /sites/default/files

0

Featured Post

Top 6 Sources for Identifying Threat Actor TTPs

Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

Join & Write a Comment

In a previously published article (http://www.experts-exchange.com/articles/10331/Automatic-Duplex-Scanning-in-PaperPort-Versions-11-12-14.html) here at Experts Exchange, I explained how to achieve duplex (double-sided) scanning in Nuance's PaperPor…
Read about how to choose the best possible content marketing agency to suit your needs. Content marketing has become an integral part of running a successful tech business, so it is wise to be informed.
This video is the first in a two-part series that discusses PaperPort's "Send To Bar" feature . This first video tutorial explains the purpose of the Send To Bar, how to use it, and how to hide unwanted items that are automatically created on it whe…
Sometimes we receive PDF files that are in the wrong orientation. They may be sideways or even upside down. This most commonly happens with scanned or faxed documents. It is possible to rotate the view of these PDFs with the free Adobe Reader produc…

706 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now