[plug] Apache help

Steve Grasso steveg at calm.wa.gov.au
Tue Aug 8 14:29:13 WST 2000


Gavin,

[heavy snip]
> If it can't be done in apache, then each page will have to be changed... and
> there's lots of them :-)

Bite the bullet. Each page will need to be changed (for the variety of
reasons given in previous posts). One way to minimise the pain could be to
recursively walk your HTTP document tree (with perl or shell script) to find
files with whitespace in the name, replacing the whitespace with another
char, perhaps "-" or "_", keeping a log of original names of changed files. 
Then perform a recursive search and replace through the HTTP document tree,
replacing references to the old filename with the new filenames.

A bit clumsy, but less clumsy than doing it all by hand :-)
I have proto-scripts for both these operations in perl if they're of use
to you.

Regards,
Steve



More information about the plug mailing list