You are not logged in.
Hi All,
I tried to add copy /etc/httpd2.2.13 to /etc/httpd2.2.13_2. The I changed the pidfile and LockFile also in conf/extra/httpd-mpm.conf, but when i start httpd both the the pid file is getting created in both logs of etc/httpd2.2.13 to /etc/httpd2.2.13_2. I am not sure how this is happening. Please suggest me to start two httpd in one machine at the same time.
Regards
Sundi
Offline
when i started httpd2.2.13_2, the pid files of httpd2.2.13 also got created. I am not sure how this is happening...Please point some solutions.
Offline
You could try running one in a chroot.
Why would you need to do this though? Won't virtual hosts suffice?
Offline
You've opened two threads on this topic and now you are bumping the post after a couple of minutes.
There is an Edit button below each post - learn how to use it.
Please read the Forum Etiquette on bumping http://wiki.archlinux.org/index.php/For … te#Bumping
Offline
virtual hosts would not suffice because i want to have two httpd's running such that i can start and stop the httpd's(coupled with a server) individually? Can it be achived in a virtual hosts?
Offline
Look at the '-d' option of httpd. You'll then have to copy some files and directories since you don't want the server to share, for example, the same configuration and log files.
Depending on how you create the new directory hierarchy, you might also have to set the PidFile and LockFile directive, etc.
And please follow the forum etiquette next time...
Offline
thanks hexanol for your info....sure I will follow them.
Offline