Re: apache fails to show jpg and not find files

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Apr 8, 2009 at 5:32 AM, deh <dhaselwood@xxxxxxxxxxx> wrote:
>
> I wanted to setup my web pages that are on verizon.net 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
konqueror.
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
server.

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 :-)

Krist

-- 
krist.vanbesien@xxxxxxxxx
krist@xxxxxxxxxxxxx
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:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux