double slashes when installing s9y under www root directory

Found a bug? Tell us!!
Post Reply
deminy
Regular
Posts: 28
Joined: Mon Oct 10, 2005 6:17 am
Contact:

double slashes when installing s9y under www root directory

Post by deminy »

A Chinese user emailed me just now saying that he couldn't installing S9Y under www root directory.

I tested it on http://test2.dy (a virtual host on my box) and found everything looks fine, except that the URL will be redirected from http://test2.dy to http://test2.dy//serendipity_admin.php when installing a fresh new S9Y.

I think this is a minor bug that should be fixed.
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: double slashes when installing s9y under www root direct

Post by garvinhicking »

Hi!

The double slash comes from document-roots that end in trailing slashes. To be sure, s9y adds a slash there. To change that behavior might introduce borkage for certain webserver configurations, so i'd like to keep it as is: The double slash doesn't hurt, it's only an optical thing. I'd prefer that over a non-working redirection ;)

Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Post Reply