From: Chris O'H. <cm...@gm...> - 2007-06-17 21:55:56
|
Thanks for the reply. I might need a more explicit instruction here. In the apache.conf file in /etc/phpwiki there are the alias definitions. Alias /phpwikidata /usr/share/phpwiki/ Alias /phpwiki /usr/share/phpwiki/index.php/ As per your suggestion, I have tried adding the following lines. Alias /phpwiki/images/tex /usr/share/phpwiki/images/tex/ or Alias /images/tex /usr/share/phpwiki/images/tex/ or Alias /phpwiki/images/ /usr/share/phpwiki/images/tex or Alias /phpwiki/images/ /usr/share/phpwiki/ The remainder of the apache.conf file is <Directory /usr/share/phpwiki/> DirectoryIndex index.php Options +FollowSymLinks AllowOverride None etc The images are still not displaying. Any thoughts of comments appreciated. Chris On 16/06/07, Reini Urban <ru...@x-...> wrote: > 2007/6/14, Chris O'Halloran <cm...@gm...>: > > Hello, > > > > I am running phpwiki 1.3.11p1 on my Kubuntu Dapper machine. > > > > I am trying to get the Tex2png plugin working. > > > > The first error I got related to the /images/tex directory not being writeable. > > > > I created the directory in /usr/share/phpwiki/ so that I now have > > > > /usr/share/phpwiki/images/tex > > > > I can now see the png files being created in this directory and the > > error about not being writeable has gone away. > > > > However, whenever I use the wiki, the latex code is still displayed. > > ie the alt description in the <img> tag. I can see the correct > > reference for src="images/tex/12345abcde.png" but the images isn't > > displayed. > > > > I've set the read write permissions to everyone > > > > And I've checked in the config.ini file and made sure png is included > > in the inline images configuration. > > > > Is there something else I need to do to make it go? > > "/usr/share/phpwiki/images/tex" is the file location > but the webserver must find it under "images/tex" > so must set an alias for images. > or better symlink from images to /usr/share/phpwiki/images/tex > > -- > Reini Urban > http://phpwiki.org/ http://murbreak.at/ > http://spacemovie.mur.at/ http://helsinki.at/ > > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > Phpwiki-talk mailing list > Php...@li... > https://lists.sourceforge.net/lists/listinfo/phpwiki-talk > |