|
Posted by Blinky the Shark on 01/29/07 03:22
Blinky the Shark wrote:
> Beauregard T. Shagnasty wrote:
>> Blinky the Shark wrote:
>>
>>> What the heck? I'm not getting any images rendered.
>>>
>>> I'm getting ready to move blinkynet to a new host. I'm testing the
>>> new location. I figured if anything, scripting would be the issue,
>>> but PHP's working fine with just a config.php tweak for the new
>>> location.
>>>
>>> Here's the address (I'm not live yet, thank God). :)
>>>
>>> http://server19.01domain.net/~blinky/indexdowntowntest.html
>>>
>>> No images. As I look at page source, img src is correct.
>>
>> It appears to me that .jpg files are being served as "text/html"
>> Obviously a configuration issue on the server.
>
> Then how are they displayable if you rightclick and select "View Image"?
> Same server, right?
>
>> The .gif at the top is of type: "image/gif"
>
> That one won't display either.
>
> How are they then displayable if you rightclick and select "View Image"?
Found something nobody's mentioned. :)
I still have the experimental 2x3 grid of image path attempts here:
http://72.52.154.100/~blinky/imagetest.html
Okay, the first two apparently break for having the home directory in
the path. Let's pretend they're not there...
....because I have all of the other four tries on that page working.
wOOt!
What I did was comment out a line in .htaccess:
#RewriteRule .*\.(jpg|jpeg|gif|png|bmp)$ - [F,NC]
I don't know what it does <g>, but one of its effects seems to have been the
prevention of image display.
I don't know why that line screws up display here, and not with my live
Page-Zone location.
1. So what am I "giving up", if I just keep that line disabled?
2. Can this all (the whole problem) come from the fact the way I'm
accessing the unborn site location -- not as blinkynet.net but as
server/username... ? IOW, if I just uploaded the whole site and went
live with the new incarnation, might the issue go away? (I know I'll
have to tweak one bit of the path that I've not mentioned -- I have a
different username with the new location, so any references to my old
root directory will have to be changed.)
--
Blinky RLU 297263
Killing all posts from Google Groups
The Usenet Improvement Project: http://blinkynet.net/comp/uip5.html
[Back to original message]
|