How to use " in my output?
in aFleX
Posted by tcp-me
Sorry for the newbie questions, but how do I print “ in my output? For example
when LB_FAILED {
HTTP::respond 200 content "<html><head><title>Apology
Page</title></head><body>We are sorry, but the site you are looking
for is temporarily out of service<br></body></html>"
But if I put in a link, it requires “ and the parser doesn't like it.
when LB_FAILED {
HTTP::respond 200 content "<html><head><title>Apology
Page</title></head><body>We are sorry, but the site you are looking
for is temporarily out of service. <a href="google.com">Go to Google for
a while.</a><br></body></html>"
Thanks...
Sorry for the newbie questions, but how do I print “ in my output? For example
when LB_FAILED {
HTTP::respond 200 content "<html><head><title>Apology
Page</title></head><body>We are sorry, but the site you are looking
for is temporarily out of service<br></body></html>"
But if I put in a link, it requires “ and the parser doesn't like it.
when LB_FAILED {
HTTP::respond 200 content "<html><head><title>Apology
Page</title></head><body>We are sorry, but the site you are looking
for is temporarily out of service. <a href="google.com">Go to Google for
a while.</a><br></body></html>"
Thanks...
0
Comments
Double quotes (") is a special character.
To be able to print it, you have to prepend that special character with \.
You have an example in the community web page with the Sorry Page:
a10support.com/adc/index.php/forum/7-afl...-servers-are-down#48
with: <div align=\"center\">
Dimitri
That you very much. That worked.