LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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.

Notices

Reply
 
Search this Thread
Old 09-23-2004, 11:26 AM   #1
neocookie
Member
 
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, 11:34 AM   #2
btmiller
Senior Member
 
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 4,131

Rep: Reputation: 319Reputation: 319Reputation: 319Reputation: 319
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, 02:23 AM   #3
neocookie
Member
 
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, 02:58 AM   #4
bathory
Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 10,937

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


Reply


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 11:58 AM
Perl script works with Apache1 but not Apache2, why? m3kgt Linux - Software 7 03-11-2004 12:36 PM
Why use Apache1.3 - What can't Apache2 do? davee Linux - Software 2 11-12-2003 11:42 AM
Slackware8: upgrade Apache1 to Apache2 m3kgt Linux - Software 3 10-27-2003 03:33 PM
uploading to linux-Apache1.3.20 from win2k is working too ...... slow lamihai Linux - Networking 1 04-23-2002 05:05 AM


All times are GMT -5. The time now is 06:10 AM.

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