Page 1 of 1

Extra slashes messing up links

Posted: Wed Jan 14, 2009 6:49 pm
by rokker
Hello,

I've got a problem with "extra" slashes. There are booth forward and backslashes resulting in a number of problems.

In Opera, only the frontpage works but with no stylesheet attached (looking really bad). I can't use the admin interface since the url is http://fagerashojd.info/%5C/index.php?/admin resulting in a The requested URL /\/index.php was not found on this server.

IE seems to be more forgiving. The frontpage looks like it's supposed to do. I can log in to the admin interface but when trying to use any link I get thrown out to the login page again.
I can see that there is an extra slash after the domain address: http://www.fagerashojd.info//serendipit ... figuration

I guess I entered something wrong during the installation, but now I can't use the "Configuration" link in the admin interface...

Please, check the page at www.fagerashojd.info. If you use "View Source" you can see the slashes.

Any suggestions? Is there any way to fix this?

Regards
Thomas

Re: Extra slashes messing up links

Posted: Wed Jan 14, 2009 7:16 pm
by garvinhicking
Hi!

Try to login using http://fagerashojd.info/serendipity_admin.php and there change the path. ALWAYS only use forward slashes, NEVER use backwards slashes.

When you login, try to make sure to check the "remember me" feature. And make sure to login with either the address you configured - it seems to be fagerashojd.info and NOT WWW.fagerashojd.info.

Regards,
Garvin

Posted: Wed Jan 14, 2009 7:44 pm
by rokker
Well, I didn't use any backslashes?!?! I don't know where they are coming from. At least I am not aware of using any.

And as I said, I can log in to the admin interface but when trying to use any link I get thrown out to the login page again. It dosn't matter if I use the www. or not, neither to mark the "remember me" feature.

Posted: Wed Jan 14, 2009 10:12 pm
by rokker
Well, I re-ran the installation... This time I choose the "Expert installation" and to my surprise I found the backslashes in the "paths" section.

I don't know why, but never the less, there they are right from the start.
I guess something isn't correct in my settings (php? Apache?) but I don't know what.

Regards
Thomas

Posted: Thu Jan 15, 2009 10:29 am
by garvinhicking
Hi!

If there are backslashes right from the start, then your server has most probably a misconfigured DocumentRoot. The apache/iis configuration should always use forward slashes.

HTH,
Garvin

Posted: Thu Jan 15, 2009 10:44 am
by rokker
Ok, I will check that. Thanks for pointing me in the right direction.

I removed the backslashes in the "paths" section and now my Serendipity works like a charm :D

Regards
Thomas