Digital Indigo
digitalindigo.comHomeAbout UsContact UsSearch

Clients
Client Login
Portfolio
Tech Support
Services
Pricing
Software
Internet Services
Web Hosting
Consulting
Programming

Quick Search




RedHat Apache Administration
Apache is the default web server daemon included with RedHat Linux. Below are some common problems people encounter with Apache.
 
Apache Doesn't Run...

It doesn't run...
For security reasons, the web server (and many other Internet services) are not enabled by default. That means you have to turn them on. To enable the Apache server to start at boot in RedHat, log in as root and type the command:
chkconfig httpd on

Click here to learn how to administrate the daemons using chkconfig.

 

I can only access the web server from the RedHat box on which it is running...


Again, for security reasons, RedHat ships with a firewall built in to the operating system. You must configure this firewall to allow connections from the outside world. To do this, use the lokkit program. The simplest form of allowing connections is to disable the firewall completely. However, this is not a recommend move since the Internet is inherently an insecure place. To learn more about firewall administration using lokkit, click the link below.
Click here to learn how to administrate the firewall using lokkit.

 

All of my relative links are broken...

Under certain circumstances, Apache will rewrite your URL from an IP address to a domain name. This typically isn't a problem unless you do not have a valid name for your RedHat box. This involves having an name entry in the Domain Name Server (DNS). If you are unsure of what a DNS is, you probably don't have a name entry for your RedHat machine. To prevent this problem from occurring, edit the file /etc/httpd/conf/httpd.conf. Under the string ServerName enter your IP address. For instance, if you were assigned the IP address 192.168.1.123, your entry should be:
ServerName 192.168.1.123

After making the entry chance to your httpd.conf file, type the command "/etc/init.d/httpd restart" to process the new changes.

Note: This will not work with a dynamically aside IP address such as those from a DHCP system.

 

 

 

 

 

 

 

Copyright © 1995-2007 Digital Indigo Technologies. All Rights Reserved.