View previous topic :: View next topic |
Author |
Message |
evilTone n00b
Joined: 07 Dec 2002 Posts: 14
|
Posted: Mon Oct 29, 2007 6:25 pm Post subject: help needed with a weird apache setup |
|
|
i have a server with 2 ip's, say 20.20.20.20 and 30.30.30.30
apache needs to run www on both ip's, one from /site1 and the other from /var/www/localhost/htdocs.
the site one in /var/www/localhost/htdocs is simple and just needs php which is working ok.
the one in /site1 needs to run perl from both /sites1 and /site1/cgi-bin
site1 is a site i have no choice in hosting and was written over time in a kluge and needs to remain asis due to direct urls etc. (the 2nd ip will be the site replacing it one its coded)
i compiled mod_perl and that works from /var/www/localhost/cgi-bin but nowhere else
i made such a mess of the existing (borked) config, im kinda ashamed to post them
edit, forgot to add version (apache-2.0.59-r5) |
|
Back to top |
|
|
gerdesj l33t
Joined: 29 Sep 2005 Posts: 622 Location: Yeovil, Somerset, UK
|
Posted: Mon Oct 29, 2007 10:08 pm Post subject: Re: help needed with a weird apache setup |
|
|
evilTone wrote: | i have a server with 2 ip's, say 20.20.20.20 and 30.30.30.30
apache needs to run www on both ip's, one from /site1 and the other from /var/www/localhost/htdocs.
the site one in /var/www/localhost/htdocs is simple and just needs php which is working ok.
the one in /site1 needs to run perl from both /sites1 and /site1/cgi-bin
site1 is a site i have no choice in hosting and was written over time in a kluge and needs to remain asis due to direct urls etc. (the 2nd ip will be the site replacing it one its coded)
i compiled mod_perl and that works from /var/www/localhost/cgi-bin but nowhere else
i made such a mess of the existing (borked) config, im kinda ashamed to post them
edit, forgot to add version (apache-2.0.59-r5) |
Don't be ashamed to post configs if you need help. It's quite hard to fix otherwise
You say you compiled mod_perl - do you mean that you emerged it or installed it by hand?
See: http://perl.apache.org/docs/2.0/user/intro/start_fast.html#Configuration |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|