Op donderdag 12-11-2009 om 23:06 uur [tijdzone +0100], schreef Reinhold
Kainhofer:

> ###########################################
> 
> ## Rewrite all non-existing files at toplevel to the /web/ dir, so
> our 
> ## internal structure for rsync doesn't have to be changed.
> RewriteEngine on
> RewriteBase /
> 
> # Don't rewrite already rewritten pathes!
> RewriteCond %{REQUEST_URI} !^/web/
> RewriteCond %{REQUEST_FILENAME} !-f
> RewriteCond %{REQUEST_FILENAME} !-d
> RewriteRule ^(.*)$ /web/$1 [QSA,L]
> 
> ########################################### 

Thanks!  It took me a while to get this to work for
the current/old site as well as for the new one, and
to get all details right.

I did not see much reason not to install it right away,
it can even make the switching easier, we possibly do
not need to rsync the new site to /web, even.

Greetings,
Jan.

-- 
Jan Nieuwenhuizen <jann...@gnu.org> | GNU LilyPond - The music typesetter
AvatarĀ®: http://AvatarAcademy.nl    | http://lilypond.org



_______________________________________________
lilypond-devel mailing list
lilypond-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-devel

Reply via email to