httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Krist van Besien <>
Subject Re: [users@httpd] apache fails to show jpg and not find files
Date Wed, 08 Apr 2009 11:51:07 GMT
On Wed, Apr 8, 2009 at 5:32 AM, deh <> wrote:
> I wanted to setup my web pages that are on on my local network
> with a machine running Suse 11.1/apache2.  I downloaded the web pages with
> 'wget -a -k' into a directory and set the directory/root and directory for
> the apache .conf file to the directory holding 'index.html' in the
> downloaded directories and set the permissions.  When the server is
> accessed, the web page text presents, but there are only boxes for the .jpg,
> .jpeg files and the one case where there is a file to be downloaded it shows
> "Object not Found, Error 404".
> If I access 'index.html' from the browser (Konqueror) on the server machine
> everything is correct, so it looks like the paths to the files are being
> handled differently with apache than the browser.
> I'm new at this and need so direction as to where to look.

In your case it is probly the -k option to wget that is the problem.
This option tells wget to convert all hyperlinks so that they are
suitable for local viewing. This is why you can see your site in
In order to mirror your site locally just get all the html files using
a file transfer client, so that you get exactly the same as on your

If you are still experiencing 404 errors afterwards the way to start
solving these is to look in the error log. If you don't understand
what you see there, you can come back here and ask us :-)


Bremgarten b. Bern, Switzerland
A: It reverses the normal flow of conversation.
Q: What's wrong with top-posting?
A: Top-posting.
Q: What's the biggest scourge on plain text email discussions?

The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message