[consulting] cms on one server, static content served elsewhere

Darrel O'Pry dopry at thing.net
Fri Mar 31 16:47:30 UTC 2006


On Fri, 2006-03-31 at 16:01 +0200, Bèr Kessels wrote:
> Op vrijdag 31 maart 2006 05:30, schreef Hugh Esco:
> > Due to some bad experiences with with cracked php
> > applications, the public hosting available to one client
> > prohibits php apps.  I have a sandbox server hosting an
> > installation of drupal, where the cms is being used to
> > allow a client's key volunteers to build content.
> >
> > I want to use wget -prx to crawl my dynamic sandbox site and
> > rebuild a publically accessible and publically advertised,
> > but static site on their public server.
> >
> > Has anyone here done anything like this?  Can you advise me
> > of what loose ends I ought to look for?
> 
> I did it. You only need to pay attention to the BASE tag. It can play nasty 
> with you. In fact you will want to run some replacement code over the static 
> site, in order to find any http://sandboxserver.com/ links. 
> 
> Another thing you will most probably need, is pauthauto. Make sure you let it 
> build urls like /posts/my_first_post.html otherwise you are stuck with 
> thousands of directories like /node/1/index.html
> 
> disclaimer, we used this to deliver a static site, which was phase one. We 
> knew phase 2 would be the delivery of a dynamic CMS. nasty :)
> 
> bèr
> _______________________________________________
> consulting mailing list
> consulting at drupal.org
> http://lists.drupal.org/mailman/listinfo/consulting


Also, wget my overlook the @import css linking... You might have to add
a <link> for your css... Its one theme function you have to change.



More information about the consulting mailing list