Displaying 4 results from an estimated 4 matches for "site_root".
Did you mean:
file_root
2005 Oct 10
1
Need help from Apache mod_rewrite crew !
...eformatted for readability):
-----------
RewriteEngine On
RewriteRule ^$ index.html [QSA]
# Hack to fix mod_rewrite bug: we catch the incoming uri as an
environment variable ''DOC''
RewriteRule "(.*)" "$1" [env=DOC:$1]
# If the requested file does not exist in SITE_ROOT/public...
RewriteCond %{DOCUMENT_ROOT}%{ENV:DOC} !-f
# ... then split its full path up in to manageable pieces ...
RewriteCond %{REQUEST_FILENAME} ^(.*)/sites/.+$
# ... and check to see if the file exists in the RAILS_ROOT/public
# folder...
RewriteCond %1/public/%{ENV:DOC} -f
# ... if so, rewr...
2005 Jul 29
0
Fwd: Products and mod_rewrite
...>
>
>> Well, I finally got around to using the rails_product and site
>> generators to rework my site(s), but I''ve run into a nasty problem
>> with mod_rewrite and the rules for fetching site-specific and
>> generic static content.
>>
>> From SITE_ROOT/public/.htaccess:
>>
>> # If the requested file does not exist in SITE_ROOT/public...
>> RewriteCond %{REQUEST_FILENAME} !-f
>> # ... then split its full path up in to manageable pieces ...
>> RewriteCond %{REQUEST_FILENAME} ^(.*)/sites/.+/public/(.*)$
>>...
2006 Mar 25
14
Creating a symbolic link within a Rails application?
Hi, how does one create a symbolic link within a Rails application? At this
time, I can perform this action at the command line but I''m not sure how to
do it within Rails. BTW, I''m doing the following command in Mac OS X:
ln -s $SITE_ROOT/common_directory/* $SITE_ROOT/new_directory
Thanks in advance,
-Conrad
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060325/8bfe6c56/attachment.html
2005 Aug 13
9
Multilingual Rails v0.6
Multilingual Rails v0.6 is released!
Here is the changelog. Documentation and download at the homepage:
http://www.tuxsoft.se/oss/rails/multilingual
v0.6 - 2005-08-13
* String case-manipulation functions replaced with ruby-unicode
equivalents (if ruby-unicode is installed):
String#downcase, String#upcase and String#capitalize now fully
handle Unicode.
* String normalization