?
Solved

Drupal Clean URL but need download link

Posted on 2010-11-18
3
Medium Priority
?
327 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 13

Accepted Solution

by:
dsmile earned 2000 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 2

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

Get 15 Days FREE Full-Featured Trial

Benefit from a mission critical IT monitoring with Monitis Premium or get it FREE for your entry level monitoring needs.
-Over 200,000 users
-More than 300,000 websites monitored
-Used in 197 countries
-Recommended by 98% of users

Question has a verified solution.

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

A big percent of today’s marketing activity is performed through the online environment. The marketing strategies that have existed a decade ago no longer relate to what’s happening today. We’re currently facing a revolutionary era, called the digit…
There is a massive demand for content on the web right now, and it doesn't look like it's going to stop any time soon. But, if you are running a business blog, it's not just enough to offer your audience lots of content. It needs to be high-quality…
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…
In this sixth video of the Xpdf series, we discuss and demonstrate the PDFtoPNG utility, which converts a multi-page PDF file to separate color, grayscale, or monochrome PNG files, creating one PNG file for each page in the PDF. It does this via a c…

770 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