Re: [htdig] Spaces in the URL

Stevan Lockhart (
Tue, 2 Mar 1999 16:29:49 -0000

It's Apache 1.3. As it is, it does seem to cope with spaces (using IE 4.01
on Win95/98 as the browser) However, I wrote some scripts which generate
tables of contents in each directory and used a conversion to "%20" to
replace spaces so I'm sort of there. You get the idea I''m trying to
develop - users dump html files in directories they create, and the system
creates tables of contents for each new and existing directory, with the
search engine providing the most common form of information access.

My scripts create a file called si-toc.html in each directory - is it
possible to configure htDig to follow links from each of these files? If
that's the case, si-toc.html contains links which include the %20

I appreciate your help


-----Original Message-----
From: Geoff Hutchison <>
To: Stevan Lockhart <>
Cc: <>
Date: 02 March 1999 16:22
Subject: Re: [htdig] Spaces in the URL

>On Tue, 2 Mar 1999, Stevan Lockhart wrote:
>> My Intranet contains spaces in directory and file names, as users publish
>> straight to it. As it's currently configured, htDig doesn't appear to
>> URLs with such spaces. Is there something I'm missing, or is htDig not
>> to do this? Replacing the spaces with underscores seems to work, but I
>> hardly expect users to do that.
>Hmm. This is a problem. First off, spaces are invalid characters in URLs.
>They should be converted to %20. I'm quite surprised whatever you're using
>for publishing and serving allows spaces!
>I don't know if there's a good solution on ht://Dig's end. I can see if
>there's a way to convert the spaces into %20, but if your sever is sending
>out spaces, there's no guarantee it's going to accept the properly-encoded
>-Geoff Hutchison
>Williams Students Online

To unsubscribe from the htdig mailing list, send a message to containing the single word "unsubscribe" in
the SUBJECT of the message.

This archive was generated by hypermail 2.0b3 on Thu Mar 04 1999 - 09:09:18 PST