Forum Moderators: phranque
now i get error:
[Tue Apr 15 23:54:15 2003] [warn] Apache does not support line-end
comments. Consider using quotes around argument: "#Sun Apr 13 19:12:59
2003#my comments here"
what those apache mean with: . Consider using quotes around argument: ...
what ecactly are quotes? how can i stop my script from making my error log huge. it has same size as access.log but i need the comments in the .htaccess file
i look forward to your comments
Lines which begin with the hash character "#" are considered comments, and are ignored. Comments may not be included on a line after a configuration directive.
If your .htaccess contains comments like
Redirect 301 index.htm [newdomain.com...] # Redirect to new domain
The part in your error log suggests to use quotation marks around paramters, if a paramter would start with a # (hash) character.
Redirect 301 index.htm [newdomain.com...] #' Redirect to new domain'
with the '
then it should not give a error
or should i remove the complete coment line?
# Redirect to new domain
Redirect 301 index.htm [newdomain.com...]
The quotes are only needed if a parameter in your .htaccess directive starts with an #.