Just Adventure News : Addon: Legacy of Romulus Expansion to Star Trek Online Launches Game: Warner Bros. Interactive Entertainment wishes gamers Good Night, Good Luck in Dying Light Beta: Second Phase of Eldevin Closed Beta Begins News: Video Games: The Movie Press Release: Indie Narrative / Strategy Game 7 Grand Steps Will Release June 7 for PC and Mac Gold: The Incredible Adventures of Van Helsing Demo: Jack Haunt: Old Haunting Grounds Alpha Demo Released Game: Might And Delight Presents "Shelter" Early Gameplay Footage Press Release: Legendary Monsters Are Invading Age of Conan Press Release: New Settler and Scientist Path content for WildStar
Home - Forum Home
Welcome Guest, please Login or Register!
If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register or login before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Topic: Weird little issue with forum images

    Page 1

All Forums : [General] : JA+ Forum News > Weird little issue with forum images
28 NOV 2009 at 1:27pm

Shany

Guild Master
Guild Master



Posts : 3313
Joined: 19 JUN 2003

Status : Online
It seems that if I go to this address:
http://www.justadventure.com/yabb/YaBB.pl
everything loads just fine.

However, if I go to this one:
http://www.justadventure.com/yabb/YaBB.pl/ (note the slash at the end) none of the images in the forum load (those which indicate new replies etc).

This is very weird, is there any explanation for this?

Profile Search


28 NOV 2009 at 2:37pm

JKing

Schattenjger
Schattenjger



Posts : 2349
Joined: 4 MAY 2008
Location: 0

Status : Offline
This is probably a unintended side-effect of URL rewriting in Apache or something about perl parameter parsing I'm not familiar with, as it relates to base URL resolution.  Essentiall, the slash makes your browser think the base path for relative URLs is /yabb/YaBB.pl/ instead of the intended /yabb/, but the script still works, so you get the document without any external references.

You shouldn't use the slash, anyway: 'YaBB.pl' is not a directory.
You can't kill someone in a studio.

Profile Search
28 NOV 2009 at 5:51pm

Shany

Guild Master
Guild Master



Posts : 3313
Joined: 19 JUN 2003

Status : Online
The slash gets there by mistake, it's very close to the Enter key (even if it's the \ sign, Internet explorer fixes it to /).

This was a strange discovery as I always thought I just had a connection problem to the site, until it appeared somewhere with a different isp.

Thanks for clearing that up.  


Profile Search
28 NOV 2009 at 7:26pm

karla

Administrator
Administrator



Posts : 2592
Joined: 27 JUL 2003
Location: US, Close to the Edge

Status : Offline
Originally Posted By JKing (28 NOV 2009 2:37pm)
This is probably a unintended side-effect of URL rewriting in Apache or something about perl parameter parsing I'm not familiar with, as it relates to base URL resolution.  Essentiall, the slash makes your browser think the base path for relative URLs is /yabb/YaBB.pl/ instead of the intended /yabb/, but the script still works, so you get the document without any external references.

You shouldn't use the slash, anyway: 'YaBB.pl' is not a directory.

Yes, thanks for clearing that up, JK.  

See my portfolio of original artwork at http://home1.gte.net/res0b8zk/portfolio/resources/portfolio.htm

I put my heart and soul into my work, and have lost my mind in the process. - Vincent van Gogh


Profile Search
28 NOV 2009 at 9:36pm

JKing

Schattenjger
Schattenjger



Posts : 2349
Joined: 4 MAY 2008
Location: 0

Status : Offline
Originally Posted By karla (28 NOV 2009 7:26pm)
Yes, thanks for clearing that up, JK.  

:-[  Sorry.  Weird stuff like this fascinates me.  [smiley=whistle.gif]
You can't kill someone in a studio.

Profile Search
29 NOV 2009 at 7:32pm

karla

Administrator
Administrator



Posts : 2592
Joined: 27 JUL 2003
Location: US, Close to the Edge

Status : Offline
Sorry? For What?  :-? I was thanking you!

See my portfolio of original artwork at http://home1.gte.net/res0b8zk/portfolio/resources/portfolio.htm

I put my heart and soul into my work, and have lost my mind in the process. - Vincent van Gogh


Profile Search
29 NOV 2009 at 7:55pm

JKing

Schattenjger
Schattenjger



Posts : 2349
Joined: 4 MAY 2008
Location: 0

Status : Offline
Oh, I thought you were teasing me for being verbose and nerdy!  Well, you're welcome, then!  8-)

You could probably prevent future confusion because of this by adding:
DirectoryIndex YaBB.pl

to the .htaccess file in /yabb/ (assuming there is one) so that users need not type the script file-name---but I digress.  Again.  

You can't kill someone in a studio.

Profile Search
29 NOV 2009 at 11:58pm

karla

Administrator
Administrator



Posts : 2592
Joined: 27 JUL 2003
Location: US, Close to the Edge

Status : Offline
Okay, stop trying to get me to fiddle with the code, Mr. Verbose and Nerdy.

(Sorry -- I couldn't resist...)

See my portfolio of original artwork at http://home1.gte.net/res0b8zk/portfolio/resources/portfolio.htm

I put my heart and soul into my work, and have lost my mind in the process. - Vincent van Gogh


Profile Search
All Forums : [General] : JA+ Forum News > Weird little issue with forum images

    Page 1

Jump to:
0 Members Subscribed To This Topic