Forum Discussion
hooleylist
Oct 17, 2008Cirrostratus
Sorry, wpskier, I updated the HTTP::respond wiki page with a bad example today. You can remove the trailing backslashes as they aren't needed with the outer curly braces:
when HTTP_REQUEST {
HTTP::respond 200 content {
Apology Page
We are sorry, but the site you are looking for is temporarily out of service
If you feel you have reached this page in error, please try again.
}
}
Aaron