[Radiant] Content "outside" of radiant

Jon Baer jonbaer at jonbaer.com
Tue Dec 12 10:50:01 CST 2006


The hint is already inside of your /public/.htaccess file ...

# If you don't want Rails to look in certain directories,
# use the following rewrite rules so that Apache won't rewrite  
certain requests #
# Example:
#   RewriteCond %{REQUEST_URI} ^/notrails.*
#   RewriteRule .* - [L]

Uncommented it would not dispatch anything under /notrails.  Very  
handy if you like to run Ruby and PHP on the same server for other  
tasks.

- Jon

On Dec 12, 2006, at 7:27 AM, Sean Cribbs wrote:

> Because of the way most dispatcher setups work, you'll have to  
> provide a
> fully-qualified url, not just a directory. Alternatively, you can  
> tinker
> with some of the rewrite rules (if you're using Apache).  I'm not
> qualified to help you with mod_rewrite, however... it's mostly a  
> mystery
> to me.
>
> Sean Cribbs
> seancribbs.com
>
> BJ Clark wrote:
>> Hello All,
>> I've got radiant installed, running, etc.
>>
>> I would like to serve up my own folders of stuff outside of  
>> radiant's control.
>> I've tossed a folder of stuff in /public/ but I get a 404 when I just
>> try to pull it up.
>> What is the proper way to do this?
>> Thanks,
>> BJ Clark
>> _______________________________________________
>> Radiant mailing list
>> Post:   Radiant at lists.radiantcms.org
>> Search: http://radiantcms.org/mailing-list/search/
>> Site:   http://lists.radiantcms.org/mailman/listinfo/radiant
>>
>>
>
> _______________________________________________
> Radiant mailing list
> Post:   Radiant at lists.radiantcms.org
> Search: http://radiantcms.org/mailing-list/search/
> Site:   http://lists.radiantcms.org/mailman/listinfo/radiant




More information about the Radiant mailing list