PHWinfo banniere

Titres
PORTAIL ANNUAIRE ARTICLES COMPARATEUR HÉBERGEURS DEVIS FORUMS RÉDUCTEUR D'URL
Précédent   PHWinfo > Forums Hébergement > Forum Hébergement serveur > comp.info.servers.unix > File Names with spaces in them?
S'inscrire FAQ Membres Recherche Messages du jour Marquer les forums comme lus
comp.info.servers.unix Web servers for UNIX platforms.

File Names with spaces in them?

Réponse
 
LinkBack Outils de la discussion
Vieux 03/04/2005, 12h01   #1 (permalink)
Mike Cox
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut File Names with spaces in them?

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 "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. :-)
  Réponse avec citation
Vieux 03/04/2005, 12h06   #2 (permalink)
Brian H¹©
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: File Names with spaces in them?

Mike Cox wrote:

> 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 "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. :-)


Read the FAQ, ask your question(s) in the Apache NG's, and as far as
building Apache to run with windows, use the Win32 builds, i.e.
apache_2.0.53-win32-x86-no_ssl.msi
  Réponse avec citation
Vieux 03/04/2005, 12h06   #3 (permalink)
Brian H¹©
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: File Names with spaces in them?

Mike Cox wrote:

> 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 "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. :-)


Read the FAQ, ask your question(s) in the Apache NG's, and as far as
building Apache to run with windows, use the Win32 builds, i.e.
apache_2.0.53-win32-x86-no_ssl.msi
  Réponse avec citation
Vieux 03/04/2005, 12h50   #4 (permalink)
Frank DeLucca, MS-MPV
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: File Names with spaces in them?

Mike Cox wrote:
> 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 "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. :-)


c:\program%20files might work. We haven't tested this, but on the other
hand, we do recommend you use the 8.3 convention to avoid any hassle.
--
- Frank DeLucca -

MS-MVP (Not confirmed, yet)






  Réponse avec citation
Vieux 03/04/2005, 12h50   #5 (permalink)
Frank DeLucca, MS-MPV
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: File Names with spaces in them?

Mike Cox wrote:
> 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 "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. :-)


c:\program%20files might work. We haven't tested this, but on the other
hand, we do recommend you use the 8.3 convention to avoid any hassle.
--
- Frank DeLucca -

MS-MVP (Not confirmed, yet)






  Réponse avec citation
Vieux 03/04/2005, 12h53   #6 (permalink)
*
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut 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.

  Réponse avec citation
Vieux 03/04/2005, 12h53   #7 (permalink)
*
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut 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.

  Réponse avec citation
Vieux 03/04/2005, 12h53   #8 (permalink)
*
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut 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.

  Réponse avec citation
Réponse


Outils de la discussion

Règles de messages
Vous ne pouvez pas créer de nouvelles discussions
Vous ne pouvez pas envoyer des réponses
Vous ne pouvez pas envoyer des pièces jointes
Vous ne pouvez pas modifier vos messages

Les balises BB sont activées : oui
Les smileys sont activés : oui
La balise [IMG] est activée : oui
Le code HTML peut être employé : non
Trackbacks are oui
Pingbacks are oui
Refbacks are oui


Fuseau horaire GMT +1. Il est actuellement 06h19.


Édité par : vBulletin® version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC5 Tous droits réservés.
Version française #16 par l'association vBulletin francophone
PHWinfo est un site Éducation Sans Frontières
Ad Management by RedTyger
©Tous droits réservés par les parties respectives
Page generated in 0,18934 seconds with 16 queries