Solved

Drupal Clean URL but need download link

Posted on 2010-11-18
3
324 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

Best Practices: Disaster Recovery Testing

Besides backup, any IT division should have a disaster recovery plan. You will find a few tips below relating to the development of such a plan and to what issues one should pay special attention in the course of backup planning.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

In this article, we will look at our content management system as a whole, to get an idea of how we will start to manage these content items.
Online collaboration can help businesses be more efficient, help employees grow their skills and foster a team environment.
In this video, we show how to perform Bates Numbering/Stamping of PDF documents using Power PDF Advanced, the newest product from the Document Imaging division of Nuance Communications. There are two editions of Power PDF — Standard and Advanced. Th…
This video Micro Tutorial is the first in a two-part series that shows how to create and use custom scanning profiles in Nuance's PaperPort 14.5 (http://www.experts-exchange.com/articles/17490/). But the ability to create custom scanning profiles al…

856 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