Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 09-23-2004, 12:26 PM   #1
Registered: Apr 2004
Location: Leeds, UK
Distribution: FC1, FC2, Debian
Posts: 308

Rep: Reputation: 30
Apache1 & Apache2 - How do I get them both working on the same box?

Can anyone point me in the right direction to a tutorial or howto on how to get Apache1 and Apache2 running together on a (slackware) linux box?

I've just installed Slack 10.0 on an old box, configured it for the network, and now need to get Apache1/PHP4.2.3/MySQL4 running on port 80 and apache2/subversion on another port. But i'm not having much luck.

Any help would be wonderful!
Old 09-23-2004, 12:34 PM   #2
Senior Member
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 4,265

Rep: Reputation: 369Reputation: 369Reputation: 369Reputation: 369
This shouldn't be too hard, actually. Install Apache and Apache2 in different directories and modify the config options to your liking. In particular, modify the Listen directive in your Apache2 httpd.conf to be some port other than 80. Set the web roots to whatever you need, and start the servers. Hope this helps some.
Old 09-24-2004, 03:23 AM   #3
Registered: Apr 2004
Location: Leeds, UK
Distribution: FC1, FC2, Debian
Posts: 308

Original Poster
Rep: Reputation: 30
Yea, thought it would be. Didn't work though. I'm getting the "Hey, it worked! The SSL/TLS-aware Apache webserver was successfully installed on this website." message from apache on localhost, but apache2 isn't starting up, and I can't get anywhere when accessing the box from another IP.
Old 09-24-2004, 03:58 AM   #4
LQ Guru
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 11,206

Rep: Reputation: 1394Reputation: 1394Reputation: 1394Reputation: 1394Reputation: 1394Reputation: 1394Reputation: 1394Reputation: 1394Reputation: 1394Reputation: 1394
Take a look at apache2 error.log to find out why it hasn't started.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
apache1. or apache2 merlin23 Linux - Networking 1 12-01-2004 12:58 PM
Perl script works with Apache1 but not Apache2, why? m3kgt Linux - Software 7 03-11-2004 01:36 PM
Why use Apache1.3 - What can't Apache2 do? davee Linux - Software 2 11-12-2003 12:42 PM
Slackware8: upgrade Apache1 to Apache2 m3kgt Linux - Software 3 10-27-2003 04:33 PM
uploading to linux-Apache1.3.20 from win2k is working too ...... slow lamihai Linux - Networking 1 04-23-2002 06:05 AM

All times are GMT -5. The time now is 06:58 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration