PHWinfo banniere

Titres
PORTAIL ANNUAIRE ARTICLES COMPARATEUR HÉBERGEURS DEVIS FORUMS RÉDUCTEUR D'URL
Précédent   PHWinfo > Forums Hébergement > Forum Serveur - Sécurité et techniques > alt.apache.configuration > Apache 2, linux not displaying images
S'inscrire FAQ Membres Recherche Messages du jour Marquer les forums comme lus
alt.apache.configuration Apache web server configuration issues.

Apache 2, linux not displaying images

Réponse
 
LinkBack Outils de la discussion
Vieux 15/02/2007, 10h52   #1
Brian Telford
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Apache 2, linux not displaying images

I have been using Apache on windows XP succesfully for several years, I hve
recently setup a Suse linux server and installed Apache 2 on it. All works
fine, PHP, MYSQL, Perl etc. except that pages on the server will not display
images, background or otherwise. The same pages work fine on Apache running
under windows!

Brian

--------------------------------------------------------------------------------
I am using the free version of SPAMfighter for private users.
It has removed 6929 spam emails to date.
Paying users do not have this message in their emails.
Try SPAMfighter for free now!


  Réponse avec citation
Vieux 15/02/2007, 10h58   #2
Davide Bianchi
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Apache 2, linux not displaying images

On 2007-02-15, Brian Telford <brian@rushford.antispam.demon.co.uk> wrote:
> recently setup a Suse linux server and installed Apache 2 on it. All works
> fine, PHP, MYSQL, Perl etc. except that pages on the server will not display
> images, background or otherwise.


Any error in the error_log? Do you get a 'broken image' picture in the
web page or just nothing?

Davide

--
First time I've gotten a programming job that required a
drug test. I was worried they were going to say "you don't have enough LSD in
your system to do Unix programming".
-- Paul Tomblin on alt.sysadmin.recovery
  Réponse avec citation
Vieux 15/02/2007, 11h00   #3
cyrusthevirus
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Apache 2, linux not displaying images

On 15/02/2007 11:52, Brian Telford dixit:
> I have been using Apache on windows XP succesfully for several years, I hve
> recently setup a Suse linux server and installed Apache 2 on it. All works
> fine, PHP, MYSQL, Perl etc. except that pages on the server will not display
> images, background or otherwise. The same pages work fine on Apache running
> under windows!


Case-sensitiveness, maybe?

--
Whereof one cannot speak, thereof one must be silent.
Ludwig Wittgenstein, /Tractatus Logico-Philosophicus/
  Réponse avec citation
Vieux 15/02/2007, 11h10   #4
HansH
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Apache 2, linux not displaying images

"Brian Telford" <brian@rushford.antispam.demon.co.uk> schreef in bericht
news:er1e13$7re$1$8302bc10@news.demon.co.uk...
>I have been using Apache on windows XP succesfully for several years, I hve
>recently setup a Suse linux server and installed Apache 2 on it. All works
>fine, PHP, MYSQL, Perl etc. except that pages on the server will not
>display images, background or otherwise. The same pages work fine on Apache
>running under windows!
>

Are those failing images generated by scripts still attempting to find a
file below C: ??

HansH


  Réponse avec citation
Vieux 15/02/2007, 11h59   #5
shimmyshack
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Apache 2, linux not displaying images

On 15 Feb, 10:52, "Brian Telford" <b...@rushford.antispam.demon.co.uk>
wrote:
> I have been using Apache on windows XP succesfully for several years, I hve
> recently setup a Suse linux server and installed Apache 2 on it. All works
> fine, PHP, MYSQL, Perl etc. except that pages on the server will not display
> images, background or otherwise. The same pages work fine on Apache running
> under windows!
>


do you have other network problems, sometimes these and other weird
symptoms can be due to MTU settings, on my home net, all Linux and
unix varieties that I install have to have their default MTU set down
to 1490.
Use wireshark to debug network issues by looking at the error
packets, if you see fragmentation and retransmission its MTU (probably)

  Réponse avec citation
Vieux 15/02/2007, 16h44   #6
Brian Telford
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Apache 2, linux not displaying images



"shimmyshack" <matt.farey@gmail.com> wrote in message
news:1171540785.546738.91590@a75g2000cwd.googlegro ups.com...
> On 15 Feb, 10:52, "Brian Telford" <b...@rushford.antispam.demon.co.uk>
> wrote:
>> I have been using Apache on windows XP succesfully for several years, I
>> hve
>> recently setup a Suse linux server and installed Apache 2 on it. All
>> works
>> fine, PHP, MYSQL, Perl etc. except that pages on the server will not
>> display
>> images, background or otherwise. The same pages work fine on Apache
>> running
>> under windows!
>>

>
> do you have other network problems, sometimes these and other weird
> symptoms can be due to MTU settings, on my home net, all Linux and
> unix varieties that I install have to have their default MTU set down
> to 1490.
> Use wireshark to debug network issues by looking at the error
> packets, if you see fragmentation and retransmission its MTU (probably)




Have checked all the above. It does not display any image or part of. Images
are in same folder as html pages.
network and everything else works fine, PHP, Perl MYSQL.

--------------------------------------------------------------------------------
I am using the free version of SPAMfighter for private users.
It has removed 7027 spam emails to date.
Paying users do not have this message in their emails.
Try SPAMfighter for free now!


  Réponse avec citation
Vieux 15/02/2007, 17h12   #7
cyrusthevirus
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Apache 2, linux not displaying images

On 15/02/2007 17:44, Brian Telford dixit:

> Have checked all the above. It does not display any image or part of. Images
> are in same folder as html pages.
> network and everything else works fine, PHP, Perl MYSQL.


What happens if you call directly an image?
Try to right click on a broken image and choose "show image".


--
[a directive occurred while processing this error]
  Réponse avec citation
Vieux 15/02/2007, 18h28   #8
Brian Telford
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Apache 2, linux not displaying images

Ther is no broken image to click on!


"cyrusthevirus" <root@127.0.0.1> wrote in message
news:Qw0Bh.20004$K8.4435@news.edisontel.com...
> On 15/02/2007 17:44, Brian Telford dixit:
>
>> Have checked all the above. It does not display any image or part of.
>> Images are in same folder as html pages.
>> network and everything else works fine, PHP, Perl MYSQL.

>
> What happens if you call directly an image?
> Try to right click on a broken image and choose "show image".
>
>
> --
> [a directive occurred while processing this error]


--------------------------------------------------------------------------------
I am using the free version of SPAMfighter for private users.
It has removed 7041 spam emails to date.
Paying users do not have this message in their emails.
Try SPAMfighter for free now!


  Réponse avec citation
Vieux 15/02/2007, 19h11   #9
cyrusthevirus
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Apache 2, linux not displaying images

On 15/02/2007 19:28, Brian Telford dixit:
> Ther is no broken image to click on!


So try to type directly the name of an image file.

BTW, usually Apache has its own /icons/ folder.
What happens calling http://yoursite/icons/icon.sheet.gif ?

If the server you're testing is the same of your NNTP-Posting-Host, I
can see a huge (>200kb) train numbered 7822 as background.

And please, don't place your replies at the top of the message: there is
a lot of sensitive people, here, who has an allergy for this.


--
Whereof one cannot speak, thereof one must be silent.
Ludwig Wittgenstein, /Tractatus Logico-Philosophicus/
  Réponse avec citation
Vieux 15/02/2007, 21h57   #10
shimmyshack
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Apache 2, linux not displaying images

On Feb 15, 7:11 pm, cyrusthevirus <r...@127.0.0.1> wrote:
> On 15/02/2007 19:28, Brian Telford dixit:
>
> > Ther is no broken image to click on!

>
> So try to type directly the name of an image file.
>
> BTW, usually Apache has its own /icons/ folder.
> What happens callinghttp://yoursite/icons/icon.sheet.gif?
>
> If the server you're testing is the same of your NNTP-Posting-Host, I
> can see a huge (>200kb) train numbered 7822 as background.
>
> And please, don't place your replies at the top of the message: there is
> a lot of sensitive people, here, who has an allergy for this.
>
> --
> Whereof one cannot speak, thereof one must be silent.
> Ludwig Wittgenstein, /Tractatus Logico-Philosophicus/


try to give more info, David asked for the error log info. Is the
error code a 404 or what?
What was the result of using wireshark?
Have you used the same httpd.conf file for XP as SUSE, perhaps in SUSE
you have misconfigured something for the directory in which you have
placed the images.
Perhaps an "Alias" conflict - you might not be requesting files from a
location where the resource lies if that is the case.
What permissions have you set for the images?
do you have the images under a different sub domain to the html
there are so many alternatives, we just need a bit more than "no
images or part of"

  Réponse avec citation
Vieux 15/02/2007, 23h10   #11
Brian Telford
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Apache 2, linux not displaying images


"cyrusthevirus" <root@127.0.0.1> wrote in message
news:5g2Bh.20031$K8.3071@news.edisontel.com...
> On 15/02/2007 19:28, Brian Telford dixit:
>> Ther is no broken image to click on!

>
> So try to type directly the name of an image file.
>
> BTW, usually Apache has its own /icons/ folder.
> What happens calling http://yoursite/icons/icon.sheet.gif ?
>
> If the server you're testing is the same of your NNTP-Posting-Host, I can
> see a huge (>200kb) train numbered 7822 as background.
>
> And please, don't place your replies at the top of the message: there is a
> lot of sensitive people, here, who has an allergy for this.
>
>
> --
> Whereof one cannot speak, thereof one must be silent.
> Ludwig Wittgenstein, /Tractatus Logico-Philosophicus/


No the server is currently running under XP.
Brian

--------------------------------------------------------------------------------
I am using the free version of SPAMfighter for private users.
It has removed 7069 spam emails to date.
Paying users do not have this message in their emails.
Try SPAMfighter for free now!


  Réponse avec citation
Vieux 15/02/2007, 23h11   #12
Brian Telford
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Apache 2, linux not displaying images


"cyrusthevirus" <root@127.0.0.1> wrote in message
news:5g2Bh.20031$K8.3071@news.edisontel.com...
> On 15/02/2007 19:28, Brian Telford dixit:
>> Ther is no broken image to click on!

>
> So try to type directly the name of an image file.
>
> BTW, usually Apache has its own /icons/ folder.
> What happens calling http://yoursite/icons/icon.sheet.gif ?
>
> If the server you're testing is the same of your NNTP-Posting-Host, I can
> see a huge (>200kb) train numbered 7822 as background.
>
> And please, don't place your replies at the top of the message: there is a
> lot of sensitive people, here, who has an allergy for this.
>
>
> --
> Whereof one cannot speak, thereof one must be silent.
> Ludwig Wittgenstein, /Tractatus Logico-Philosophicus/



No the server is currently running under XP

--------------------------------------------------------------------------------
I am using the free version of SPAMfighter for private users.
It has removed 7069 spam emails to date.
Paying users do not have this message in their emails.
Try SPAMfighter for free now!


  Réponse avec citation
Vieux 15/02/2007, 23h18   #13
Brian Telford
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Apache 2, linux not displaying images


"shimmyshack" <matt.farey@gmail.com> wrote in message
news:1171576637.726577.156140@m58g2000cwm.googlegr oups.com...
> On Feb 15, 7:11 pm, cyrusthevirus <r...@127.0.0.1> wrote:
>> On 15/02/2007 19:28, Brian Telford dixit:
>>
>> > Ther is no broken image to click on!

>>
>> So try to type directly the name of an image file.
>>
>> BTW, usually Apache has its own /icons/ folder.
>> What happens callinghttp://yoursite/icons/icon.sheet.gif?
>>
>> If the server you're testing is the same of your NNTP-Posting-Host, I
>> can see a huge (>200kb) train numbered 7822 as background.
>>
>> And please, don't place your replies at the top of the message: there is
>> a lot of sensitive people, here, who has an allergy for this.
>>
>> --
>> Whereof one cannot speak, thereof one must be silent.
>> Ludwig Wittgenstein, /Tractatus Logico-Philosophicus/

>
> try to give more info, David asked for the error log info. Is the
> error code a 404 or what?
> What was the result of using wireshark?
> Have you used the same httpd.conf file for XP as SUSE, perhaps in SUSE
> you have misconfigured something for the directory in which you have
> placed the images.
> Perhaps an "Alias" conflict - you might not be requesting files from a
> location where the resource lies if that is the case.
> What permissions have you set for the images?
> do you have the images under a different sub domain to the html
> there are so many alternatives, we just need a bit more than "no
> images or part of"
>

No error codes, the rest of the page displays correctly
apache was installed at the same time as installing Linux and am using the
conf file created at that time. the error log occasionally reports file not
found but not every time the folder that the file is in is the same as that
listed in the error log.
The images are in the same folder as th html files.
I can open the images in Gimp with no errors.
No network problems.

--------------------------------------------------------------------------------
I am using the free version of SPAMfighter for private users.
It has removed 7069 spam emails to date.
Paying users do not have this message in their emails.
Try SPAMfighter for free now!


  Réponse avec citation
Vieux 16/02/2007, 01h45   #14
shimmyshack
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Apache 2, linux not displaying images

On 15 Feb, 23:18, "Brian Telford" <b...@rushford.antispam.demon.co.uk>
wrote:
> "shimmyshack" <matt.fa...@gmail.com> wrote in message
>
> news:1171576637.726577.156140@m58g2000cwm.googlegr oups.com...
>
> > On Feb 15, 7:11 pm, cyrusthevirus <r...@127.0.0.1> wrote:
> >> On 15/02/2007 19:28, Brian Telford dixit:

>
> >> > Ther is no broken image to click on!

>
> >> So try to type directly the name of an image file.

>
> >> BTW, usually Apache has its own /icons/ folder.
> >> What happens callinghttp://yoursite/icons/icon.sheet.gif?

>
> >> If the server you're testing is the same of your NNTP-Posting-Host, I
> >> can see a huge (>200kb) train numbered 7822 as background.

>
> >> And please, don't place your replies at the top of the message: there is
> >> a lot of sensitive people, here, who has an allergy for this.

>
> >> --
> >> Whereof one cannot speak, thereof one must be silent.
> >> Ludwig Wittgenstein, /Tractatus Logico-Philosophicus/

>
> > try to give more info, David asked for the error log info. Is the
> > error code a 404 or what?
> > What was the result of using wireshark?
> > Have you used the same httpd.conf file for XP as SUSE, perhaps in SUSE
> > you have misconfigured something for the directory in which you have
> > placed the images.
> > Perhaps an "Alias" conflict - you might not be requesting files from a
> > location where the resource lies if that is the case.
> > What permissions have you set for the images?
> > do you have the images under a different sub domain to the html
> > there are so many alternatives, we just need a bit more than "no
> > images or part of"

>
> No error codes, the rest of the page displays correctly
> apache was installed at the same time as installing Linux and am using the
> conf file created at that time. the error log occasionally reports file not
> found but not every time the folder that the file is in is the same as that
> listed in the error log.
> The images are in the same folder as th html files.
> I can open the images in Gimp with no errors.
> No network problems.
>
> --------------------------------------------------------------------------------
> I am using the free version of SPAMfighter for private users.
> It has removed 7069 spam emails to date.
> Paying users do not have this message in their emails.
> Try SPAMfighter for free now!



If you feel like posting more info then rest assured we will take a
look.
Get Wireshark, Fiddlertool debugging proxy, post the error log - and
the access log for a single page request and then a single image
request..
Im still not sure whether there are or are not error codes, its all
just a bit too vague for me at the mo, and I feel our questions aren't
really being answered.

I mean do you have images turned off in your browser!!? This is going
to turn out to be a bit of a let down I think.

At the moment, it could be a html markup error, a css error, a rewrite
error, a javascript error, a permissions error, and yes still a
network error - I know you say it's fine, but I tend to doubt it as
you havent shown you have actually checked it.

Wireshark is easy to use and will tell you absolutely what is and what
is not travelling across your network, and how it is doing so.
Fiddlertool will show all the headers, bytes, load times, everything
you need to debug the markup.
The error and access will show details of how Apache is receiving and
processing the request. To say there arent any errors is to suggest
Apache is getting the requests and serving the files which are then
not making it across the network, or into the viewport of your
browser.

Debugging errors is an easy process of rigorous elimination, but I
can't force you to go through the steps or post the results back!

  Réponse avec citation
Vieux 16/02/2007, 08h14   #15
Brian Telford
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Apache 2, linux not displaying images

I have done a coplete reinstall of linux and apache etc. but changed
nothing, and it is now working! Same html same images same folders.
Thanks for all the suggestions but I still don't know why it wouldn't
work.all I have to do now is get the wlan card working!
"Brian Telford" <brian@rushford.antispam.demon.co.uk> wrote in message
news:er2pb1$efq$1$8302bc10@news.demon.co.uk...
>
> "cyrusthevirus" <root@127.0.0.1> wrote in message
> news:5g2Bh.20031$K8.3071@news.edisontel.com...
>> On 15/02/2007 19:28, Brian Telford dixit:
>>> Ther is no broken image to click on!

>>
>> So try to type directly the name of an image file.
>>
>> BTW, usually Apache has its own /icons/ folder.
>> What happens calling http://yoursite/icons/icon.sheet.gif ?
>>
>> If the server you're testing is the same of your NNTP-Posting-Host, I can
>> see a huge (>200kb) train numbered 7822 as background.
>>
>> And please, don't place your replies at the top of the message: there is
>> a lot of sensitive people, here, who has an allergy for this.
>>
>>
>> --
>> Whereof one cannot speak, thereof one must be silent.
>> Ludwig Wittgenstein, /Tractatus Logico-Philosophicus/

>
>
> No the server is currently running under XP
>
> --------------------------------------------------------------------------------
> I am using the free version of SPAMfighter for private users.
> It has removed 7069 spam emails to date.
> Paying users do not have this message in their emails.
> Try SPAMfighter for free now!
>
>


--------------------------------------------------------------------------------
I am using the free version of SPAMfighter for private users.
It has removed 7110 spam emails to date.
Paying users do not have this message in their emails.
Try SPAMfighter for free now!


  Réponse avec citation
Réponse


Outils de la discussion

Règles de messages
Vous ne pouvez pas créer de nouvelles discussions
Vous ne pouvez pas envoyer des réponses
Vous ne pouvez pas envoyer des pièces jointes
Vous ne pouvez pas modifier vos messages

Les balises BB sont activées : oui
Les smileys sont activés : oui
La balise [IMG] est activée : oui
Le code HTML peut être employé : non
Trackbacks are oui
Pingbacks are oui
Refbacks are oui


Fuseau horaire GMT +1. Il est actuellement 22h21.


Édité par : vBulletin® version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC5 Tous droits réservés.
Version française #16 par l'association vBulletin francophone
PHWinfo est un site Éducation Sans Frontières ©2000-2008
Ad Management by RedTyger
©Tous droits réservés par les parties respectives
Page generated in 0,24968 seconds with 23 queries