I have read as many posts as I can find on this subject but none have resulted in a solution yet.
Two days in a row, my system was barraged by break-in attempts. When the traffic is too heavy, my DSL modem hangs up and I have to restart the modem. This usually breaks the automatic dyndns update also, so the web server is no longer available on the network.
So, I decided that security needed to be beefed up and I went to the server-manager to add in a filter for the network I usually access from. When I entered the network and mask octets and clicked save, the server-manager just hung. I can still access the server via ssh but now the server-manager and all http services are non-responsive.
I looked at the file /etc/httpd/conf/httpd.conf file and there are numerous sections like (line 229 is "allow..."):
<Directory /home/e-smith/files/server-resources>
Options +Indexes
order deny,allow
deny from all
allow from 127.0.0.1 255.255.255.255/0.0.0.0
</Directory>
When I try to execute "service httpd-service start" the message comes back:
Starting httpd-admin: Syntax error on line 229 of /etc/httpd/admin-conf/httpd.conf:
syntax error in network portion of network/netmask
and when I try to execute "service httpd start" the message comes back:
Starting httpd: Syntax error on line 668 of /etc/httpd/conf/httpd.conf:
syntax error in network portion of network/netmask
The code snippet in the /etc/httpd/conf/httpd.conf file is (line 668 is the "allow..."):
http://127.0.0.1:980/server-brand/ <Location /server-brand>
order deny,allow
deny from all
allow from 127.0.0.1 255.255.255.255/0.0.0.0
</Location>
[/list]
Can anybody tell me what I can do to remedy the problem short of reinstalling the server? I am fairly inexperienced with expanding templates and such but from my reading, it seems that might be what I need to do to regenerate the httpd config files.
When I enter "/sbin/e-smith/db networks show", I get a command prompt back.
Please advise if you have any suggestions.
Thank you,
Kevin