After using Apache httpd for over 20 years, I just discovered today, by accident, that comments are not allowed on the same line as directives in the configuration files... https://stackoverflow.com/questions/50084211/how-to-add-comment-in-apache-ht... https://httpd.apache.org/docs/2.4/configuring.html#syntax Not sure how I've managed to edit those config files all these years without coming across this before! Gilbert -- Gilbert E. Detillieux E-mail: <gedetil@cs.umanitoba.ca> Dept. of Computer Science Web: http://www.cs.umanitoba.ca/~gedetil/ University of Manitoba Phone: (204)474-8161 Winnipeg MB CANADA R3T 2N2 Fax: (204)474-7609
On 2020-06-01 Gilbert E. Detillieux wrote:
After using Apache httpd for over 20 years, I just discovered today, by accident, that comments are not allowed on the same line as directives in the configuration files...
I didn't know that either... but I always follow my "when in doubt" rule of separate lines and # in first column. I've had shells do weird things with # in the middle of lines too, though I couldn't tell you which or when! At least I'm positive perl & php let you put # in the middle of lines :-) and that's all that really matters to me ;-) I still have no idea what's up with that python """ ... I thought python was supposed to be less cryptic than perl? <grin>
participants (2)
-
Gilbert E. Detillieux -
Trevor Cordes