On Fri, 4 Nov 2005, Rob Church wrote:
I can't remember the exact syntax for it; but on
the page detailing
URL rewriting, I believe it refers to needing to exclude requests for
images from that. Please re-read those instructions and try again.
But I am not doing URL rewriting: I simply changed DocumentRoot. How can I
exclude the images directory from that?
Thiago
On 04/11/05, Thiago F.G. Albuquerque
<tfga(a)terra.com.br> wrote:
> Hi,
>
> I changed DocumentRoot to the directory of the wiki and now the images
> don't show.
>
> I am using Debian Sarge.
>
> DocumentRoot used to be /var/www/. And the wiki was installed in
> /var/www/wiki/ ($wgScriptPath = 'wiki/'). Then I changed DocumentRoot to
> /var/www/wiki/ and set $wgScriptPath to ''. Summarizing:
>
> Before:
> DocumentRoot: /var/www/
> $wgScriptPath = 'wiki/';
>
> After:
> DocumentRoot: /var/www/wiki/
> $wgScriptPath = '';
>
> But now the images don't show. What shows is the link, like this:
>
> Imagem:Outlook3.JPG <http://wiki/index.php/Imagem:Outlook3.JPG>
>
> When I click in the link, I'm taken to the history page and then, when I
> click to open the image, I get the message:
>
>
> Not Found
>
> The requested URL /images/1/1c/Outlook5.JPG was not found on this server.
>
> ------------------------------------------------------------------------
> Apache/1.3.33 Server at wiki Port 80
>
>
> But in the server, the file is there, in
>
> /var/www/wiki/images/1/1c/Outlook5.jpg
>
> Can anybody help me?
>
> TIA,
> --
> Thiago F. G. Albuquerque
>
> () ascii ribbon campaign - against html mail
> /\ - against microsoft attachments
--
Thiago F. G. Albuquerque
() ascii ribbon campaign - against html mail
/\ - against microsoft attachments