Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
ddclient and apache virtualhosts[workaround]
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
thecooptoo
Veteran
Veteran


Joined: 27 Apr 2003
Posts: 1353
Location: UK

PostPosted: Tue Jan 08, 2008 9:05 pm    Post subject: ddclient and apache virtualhosts[workaround] Reply with quote

Ive got a cable modem connection which gives me the same IP address for all the time im connected.
Ive got apache to start in the default runlevel.

I therefore added ddclient --force to /etc/conf.d/local.start , to make it

once the server has started up i havent got access to apache virtualhosts until I restart the apache server, after ddclient --force.

Any explanation for this ?
is it expected behaviour ?
a definitive solution ?
_________________
join the optout - http://nhsconfidentiality.org


Last edited by thecooptoo on Thu Jan 17, 2008 11:55 am; edited 1 time in total
Back to top
View user's profile Send private message
PaulBredbury
Watchman
Watchman


Joined: 14 Jul 2005
Posts: 7310

PostPosted: Tue Jan 08, 2008 10:44 pm    Post subject: Reply with quote

Run ddclient as a service (i.e. not in local.start), and run apache *after* ddclient.
Back to top
View user's profile Send private message
thecooptoo
Veteran
Veteran


Joined: 27 Apr 2003
Posts: 1353
Location: UK

PostPosted: Wed Jan 09, 2008 11:57 am    Post subject: Reply with quote

the issue with running ddclient as a service is the update interval - do put it for 'just ' 24 hours ?

but the other thing is why does it happen. AFAIK the IP address that is picked up when it starts often doesnt chagne, yet virtual hosts dont work
_________________
join the optout - http://nhsconfidentiality.org
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