View Single Post

  #4 (permalink)  
Old 04-03-2005
*
 
Posts: n/a
Default Re: File Names with spaces in them?

Hi Mike Cox, You told me:
> I have the Apache web Server that reads a file for directory
> locations.
> The problem is that the program doesn't understand spaces, for
> instance


'the program'? What fucking 'program'? Apache? Something else? What? You
less than vague cretin?

> "C: \Program Files\" How do I write "C:\Program Files"
> without the space? 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.
>
>
> I think there is an escape charcter something along the lines of "C:
> \Program/?Files" but I can't for the life of me remember what it is.
> How would I even write it if Apache wants it the UNIX way?
>
> FYI I'm trying to get PHP to work on Apache 1.3.x on Win2k. :-)


Try enclosing the filename in double quotes and use forward slashes.

ServerRoot "C:/Mike Cox/is a/fucktard"

Alias /fucktard "C:/Mike Cox/is a/fucktard"

for exfuckingample.

Read the Windows version of httpd.conf, for exfuckingample.

"C:/Mike Cox/is a/fucktard"
"C:/Mike Cox/is a/fucktard/who knows fuck all"

If 'the program' still fails to recognise spaces, use the DOS short path.
See DIR /X, for exfuckingample.

You have spent too much time in cola. Linux makes you fucking stupid.