FRIHOSTFORUMSFAQTOSBLOGSDIRECTORY
You are invited to Log in or Register a Frihost Account!

Weird problem...

 


saratdear
Okay, I guess this can't be counted as a problem, but this is what happened to me today :-
I opened the Contests forum. This is the url to the contests forum, right? -
http://www.frihost.com/forums/vf-11.html
But, when you add a slash to the end, like this -
http://www.frihost.com/forums/vf-11.html/
The page comes all distorted.

Any idea why this is like this?
Scorpio
In short the page is displayed sans the formatting[stylesheet] or the images.

I too got this problem, but it was before today
tidruG
No idea whatsoever.
I'll hazard a guess that maybe Apache messes up the style-sheet linking?
Bondings
It should be giving a 404, as that directory doesn't exist. But instead Apache 'corrects' the error and outputs the page, but all the links (includes) aren't working due to the directory.

If anyone knows how to fix this (probably a .htaccess line), it would make me very happy. Very Happy
Blaster
hmm i think i might now how to fix it. Let me varify that first so i don't tell you and it totaly screw up frihost
mathiaus
Assuming you currently have rules looking like the below in the .htaccess located in the 'forums' directory
Code:
RewriteRule ^vt-(.*).html$ /view_topic.php?id=$1

You need to add the chance of a slash on the end of the url like so
Code:
RewriteRule ^vt-(.*).html(/?)$ /view_topic.php?id=$1

Added (/?) after .html . This should work Smile
Reply to topic    Frihost Forum Index -> Support and Web Hosting -> Frihost Support

FRIHOST HOME | FAQ | TOS | ABOUT US | CONTACT US | SITE MAP
© 2005-2007 Frihost, forums powered by phpBB.