On 05/07/12 15:16, Gabor Szabo wrote: > On Thu, Jul 5, 2012 at 4:58 PM, kevin dawson <ke...@dawson10.plus.com> wrote: >> On 27/06/12 07:34, Gabor Szabo wrote: >> Ok here goes >> >> A maintenance / info for page for Padre trac >> >> if you create a dir call trac off web root >> >> ├── trac >> │ ├── index.html >> │ ├── logo.png >> │ └── trac_logo_mini.png >> >> add enc files >> >> then you can use the a2... command >> >> sudo a2dissite trac.conf && sudo service apache2 reload >> >> sudo a2ensite trac.conf && sudo service apache2 reload >> >> and now we have info page when trac is down. >> >> It is simple and quite clean, but any body want to make it better or >> cleaner, be my guest. > I am not sure how the a2dissite would help. The trac is in a > <Location /trac/> > within our VirtualHost > > I think you can add some static pages to what > padre/template.padre.perlide.org in SVN > generates as that is what drives the static site. I just tried it. As long as > I > have trac enabled you see trac but if I comment it out you see the static > pages. > > Though hopefully we won't see serious downtime for a while. > > Gabor > _______________________________________________ > Padre-dev mailing list > Padre-dev@perlide.org > http://mail.perlide.org/mailman/listinfo/padre-dev if you have a static location such as www/trac
now the padre trac pages are a virtual link and only work when the site.conf in available sites is enabled, normal with a2... hence when enabled you get padre/trac also when disabled you get www/trac works for me on local server where I have www/trac and src/trac via virtual ok regards bowtie _______________________________________________ Padre-dev mailing list Padre-dev@perlide.org http://mail.perlide.org/mailman/listinfo/padre-dev