← Back to team overview

fenics team mailing list archive

Re: fenics-web application gallery patch

 

On Wed, Aug 24, 2011 at 02:49:49PM +0200, Kristian Ølgaard wrote:
> On 23 August 2011 08:39, Harish Narayanan <harish.mlists@xxxxxxxxx> wrote:
> > On 8/22/11 11:52 PM, Kristian Ølgaard wrote:
> >> Hi,
> >>
> >> Attached is a patch which adds FEniCS Plasticity to the application gallery.
> >>
> >> BTW, is it possible to build the web pages such that paths to images
> >> etc. will appear as:
> >> '/home/oelgaard/fenics-web/build/html/_static/images/foo.png' instead of just
> >> '/_static/images/foo.png'
> >> which will make it easier to test?
> >
> > Hi, I've applied this patch. Thanks!
> >
> > I am not sure it is easy to change the paths that way. If you want to
> > test it easily, try starting a local Apache server loading the
> > fenics-web/build/html folder. This works well for me.
>
> OK, I got this working too by creating a symbolic link /var/www ->
> /home/oelgaard/fenics-web/build/html/.

That looks like a good solution. We use something similar on the web
server.

--
Anders


> Don't know if this is the best solution, I couldn't figure out how to
> set the 'DocumentRoot'
> variable in the configuration file.
>
> Kristian
>
> > Harish
> >
>
> _______________________________________________
> Mailing list: https://launchpad.net/~fenics
> Post to     : fenics@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~fenics
> More help   : https://help.launchpad.net/ListHelp


References