View Single Post
  #4 (permalink)  
Old 10-27-2005, 10:24 AM
andreychek andreychek is offline
Special Member & Volunteer
 
Posts: 155
Default

Quote:
Originally Posted by drogers
i commented out the line in the zmiptables file, but it still seems to be forwarding port 80 requests to 7070. e.g. if i go to curley.quirkservice.com, it still brings up the mail page.
After you do that, you have to restart Zimbra.

Or, even quicker, you could just type (as root):

su - zimbra
zmiptables -u
zmiptables -i

That uninstalls all the ports zimbra is using, then reinstalls them, but should skip over the port 80 that you were interested in having available for Apache.

Quote:
Originally Posted by drogers
apache/httpd is apparently installed on my system, but it isn't running. also, under add/remove application in gnome, when i go to add mod_rewrite and mod_proxy don't seem to be listed under the install options. are they just included automatically?
Yeah, Apache won't run if something else is using your port 80. As soon as you re-run the zmiptables as described above, apache should start for you. You can just type:

service httpd start

To load up Apache.

You probably don't need to install mod_rewrite and mod_proxy. From the looks of things, they're included with RedHat's version of Apache.

Quote:
Originally Posted by drogers
stupid question:
is /etc/init.d/httpd restart
the same as /etc/init.d/apache2 restart? on a different system?
Yeah, they say Linux and UNIX are like car stereos... they all work the same, but you'll often find the buttons in different places.

On RedHat (meaning RedHat Enterprise or Fedora), their name for the Apache2 startup script is "httpd". On other distros, Gentoo for example, their name for the Apache2 startup script is "apache2". They all have their reasons :-)

The two examples you gave do the same thing on their respective systems. On a RedHat based distro, you'd need to use "/etc/init.d/httpd restart". In RedHat, "service httpd restart" is a shortcut for the above.

Have a good one,
-Eric
Reply With Quote