Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
help needed with a weird apache setup
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
evilTone
n00b
n00b


Joined: 07 Dec 2002
Posts: 14

PostPosted: Mon Oct 29, 2007 6:25 pm    Post subject: help needed with a weird apache setup Reply with quote

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 :oops:

edit, forgot to add version (apache-2.0.59-r5)
Back to top
View user's profile Send private message
gerdesj
l33t
l33t


Joined: 29 Sep 2005
Posts: 622
Location: Yeovil, Somerset, UK

PostPosted: Mon Oct 29, 2007 10:08 pm    Post subject: Re: help needed with a weird apache setup Reply with quote

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 :oops:

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 8)

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
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