← Back to team overview

fenics team mailing list archive

Re: fenics-web application gallery patch

 

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/.
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
>


Follow ups

References