Apache Server configuration support - two separate apache on the same server

This is Interesting: Free IT Magazines  
Home > Archive > Apache Server configuration support > January 2007 > two separate apache on the same server





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author two separate apache on the same server
phpdevster@gmail.com

2007-01-23, 7:35 am

hi

i need to run two separate apache on the same server . the main is on
port 80 and the second one on port 7070 and it has its own php setting
also httpd.conf setting and different pid name

how to do it??

thanks

Davide Bianchi

2007-01-23, 7:35 am

On 2007-01-23, phpdevster@gmail.com <phpdevster@gmail.com> wrote:
> i need to run two separate apache on the same server . the main is on
> port 80 and the second one on port 7070 and it has its own php setting
> also httpd.conf setting and different pid name
> how to do it??


Copy the main configuration file httpd.conf, give the copy a
different name. Change the Listen settings in one of the two,
start the 'first' apache with the normal startup command and the
second one by specifying the new config file with the -c option.

Davide

--
A fool and his money are soon using Windows.
vivek9856@gmail.com

2007-01-24, 1:18 pm

Dont set up two servers. use virtual hosts.

On Jan 23, 5:08 am, Davide Bianchi <davideyeahs...@onlyforfun.net>
wrote:
> On 2007-01-23, phpdevs...@gmail.com <phpdevs...@gmail.com> wrote:
>
> different name. Change the Listen settings in one of the two,
> start the 'first' apache with the normal startup command and the
> second one by specifying the new config file with the -c option.
>
> Davide
>
> --
> A fool and his money are soon using Windows.


phpdevster@gmail.com

2007-01-24, 7:21 pm



On Jan 24, 6:25 pm, vivek9...@gmail.com wrote:[vbcol=seagreen]
> Dont set up two servers. use virtual hosts.
>
> On Jan 23, 5:08 am, Davide Bianchi <davideyeahs...@onlyforfun.net>
> wrote:
>
>
>
>

thanks it works fine now

but i could not change the ssl port ! how can i change it

Davide Bianchi

2007-01-25, 7:21 am

On 2007-01-25, phpdevster@gmail.com <phpdevster@gmail.com> wrote:
> but i could not change the ssl port ! how can i change it


Change the LISTEN directive for SSL either.
Davide

--
A computer without Windows is like a fish without a bicycle
Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2009 webservertalk.com