Fog Creek Software
Discussion Board

Knowledge Base
Terry's Tips
Darren's Tips

Problem: Preview URL with trailing /

When configuring a publishing location, one enters a "URL for Preview".

When the Preview URL is entered with a trailing slash,
eg "http://localhost/helloworld/", CityDesk will remove the trailing "/" when leaving the setting window.

The problem is that
http://localhost/helloworld might refer to a file on the web server while http://localhost/helloworld/ clearly identifies a directory.

I have been working on a remote server where this caused HTTP 404 errors when previewing the site.

Bernard Vander Beken
Saturday, February 16, 2002

I wonder what OS allows you to have a file and a directory with the exact same name on the file system (excepting capitalization differences on case-sensitive file systems, of course).

Sounds more to me like the web server is broken. *shrug* But it probably shouldn't be stripping the trailing / all the same...

Brad Wilson
Sunday, February 17, 2002

*  Recent Topics

*  Fog Creek Home