lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: anybody know apache? (dir structure of docs)


From: Jan Nieuwenhuizen
Subject: Re: anybody know apache? (dir structure of docs)
Date: Fri, 13 Nov 2009 14:47:40 +0100

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 <address@hidden> | GNU LilyPond - The music typesetter
AvatarĀ®: http://AvatarAcademy.nl    | http://lilypond.org





reply via email to

[Prev in Thread] Current Thread [Next in Thread]