Forum Moderators: phranque
But I must be slightly dyslexic, because I oh so often type "deny form" instead. Which brings down my website.
I would love to have a syntax checker that I could run the file through before I upload it. Anyone seen one?
Googling has not been very useful. Maybe I'm keying in the wrong terms.
Not much of an answer, but may help a little.
Justin
In httpd.conf
------
NameVirtualHost *
include etc/apache2/virtual/<domain>
-------
in the <domain> file I insert the deny statement
Then the command "httpd -t" validates syntax in the httpd.conf+ all included files.
root@sigfried# httpd -t
Syntax OK
#root@sigfried
--- with syntax error
root@sigfried# httpd -t
Syntax error on line 31 of /usr/local/etc/apache2/virtual/sotham:
allow and deny must be followed by 'from'