httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nawalramka, Priyanka" <priyanka.nawalra...@hp.com>
Subject RE: [users@httpd] Escaping space in SetEnv [wd-vc]
Date Fri, 11 Apr 2014 06:37:03 GMT
That is correct and I would myself prefer dir named without spaces. But this is a requirement
which I need to fulfill. So I do not have a way out.
If there is any tried solution or suggestion, please let me know!

Regards,
Priyanka

From: Bremser, Kurt (AMOS Austria GmbH) [mailto:Kurt.Bremser@allianz.at]
Sent: Friday, April 11, 2014 11:57 AM
To: users@httpd.apache.org
Subject: AW: [users@httpd] Escaping space in SetEnv [wd-vc]

In my experience, having blanks in a UNIX path is such a PITA that I do everything to avoid
it. Everytime you need to hand it over you have to worry how many escapes (\) you have to
do so that it arrives correctly at the end of the information chain.
It is MUCH less hassle to simply use underlines.

Therefore it is my advice to repair the "broken" directory name to my_dir and live happily
ever after.

Kurt Bremser
AMOS Austria
Hietzinger Kai 101-105
1130 Wien
+43 59009 80627

Der Geist ist wie ein Fallschirm. Er funktioniert am besten, wenn er ganz offen ist.

Newton was wrong. There is no gravity. The Earth sucks.
________________________________
Von: Nawalramka, Priyanka [priyanka.nawalramka@hp.com]
Gesendet: Donnerstag, 10. April 2014 08:48
An: users@httpd.apache.org
Betreff: [users@httpd] Escaping space in SetEnv [wd-vc]
Hi All,

I am trying to set an environment variable using SetEnv directive. I need to set a value containing
space characters. Any help on how to escape spaces in the variable value?
For example:

SetEnv dir_root "/dir1/m1/s1/my dir"

I tried enclosing the value in quotations, escaping space using backslash, \040 and \s. Nothing
seems to be working.


Regards,
Priyanka



AMOS Austria GmbH
1130 Wien, Hietzinger Kai 101-105
FN 365014k, Handelsgericht Wien
UID: ATU 66614737

http://www.allianz.at

********************************************************
Dieses E-Mail und allfaellig daran angeschlossene Anhaenge
enthalten Informationen, die vertraulich und
ausschliesslich fuer den (die) bezeichneten Adressaten
bestimmt sind.
Wenn Sie nicht der genannte Adressat sind, darf dieses
E-Mail samt allfaelliger Anhaenge von Ihnen weder anderen
Personen zugaenglich gemacht noch in anderer Weise
verwertet werden.
Wenn Sie nicht der beabsichtigte Empfaenger sind, bitten
wir Sie, dieses E-Mail und saemtliche angeschlossene
Anhaenge zu loeschen.

Please note: This email and any files transmitted with it is
intended only for the named recipients and may contain
confidential and/or privileged information. If you are not the
intended recipient, please do not read, copy, use or disclose
the contents of this communication to others and notify the
sender immediately. Then please delete the email and any
copies of it. Thank you.
********************************************************

Mime
View raw message