Yogesh

Yogesh

Tuesday, February 2, 2010

Some tips for Apach and Tomcat in RHL

Open firewall access to port 8080 in file /etc/sysconfig/iptables:
-A RH-Lokkit-0-50-INPUT -p tcp -m tcp --dport 8080 --syn -j ACCEPT

Reastart service IP tables

:

Security context labels by chcon to apache web folder
chcon -R -h -t httpd_sys_content_t /home/www/site1

If ErrorDocument 404 is used in httpd.conf the file size should be more than 512 bytes.
: