Afficher un message
Vieux 04/04/2005, 16h29   #12
Tim
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: File Names with spaces in them?

On 3 Apr 2005 13:01:21 +0200,
Mike Cox <mikecoxlinux@yahoo.com> posted:

> I have the Apache web Server that reads a file for directory locations.


Do you mean its own configuration file? Or are you talking about using
Apache to work with other files?

> The problem is that the program doesn't understand spaces, for instance "C:
> \Program Files\" How do I write "C:\Program Files" without the space?


As a general rule, the quotes around the path take care of it for you.

i.e. "C:\Program Files\Apache\something or other\" works fine for me.

> I also have to contend with the fact that it requires paths to be written
> the UNIX way of "C:/Program Files/" which complicates matters even more.


Only that you have to swap \ for /. I haven't noticed any special
requirements about dealing with them.

> FYI I'm trying to get PHP to work on Apache 1.3.x on Win2k. :-)


Have you got Apache working by itself, first?

--
If you insist on e-mailing me, use the reply-to address (it's real but
temporary). But please reply to the group, like you're supposed to.

This message was sent without a virus, please delete some files yourself.
  Réponse avec citation
 
Page generated in 0,05643 seconds with 9 queries