Search This Blog

Friday, December 18, 2009

OpenSource, Set Up Apache in Fedora 12

Fedora 12 comes with firewall to protect your PC, and therefore setting up Apache will not "just work." Some points to notice are:
  • apache in fedora is called httpd, yum install httpd
  • /etc/init.d/httpd start
  • system-config-firewall, run it as root to open port 80
  • /var/log/httpd/, inside there you can check the Apache log
  • /var/www/html/, is the document root, i.e. http://yourip(or localhost)/
  • /etc/httpd/conf/httpd.conf, is where you can modify your Apache config

No comments: