LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 10-19-2007, 12:36 PM   #1
unknownmosquito
Member
 
Registered: Dec 2005
Distribution: Fedora 8
Posts: 57

Rep: Reputation: 15
Apache and Dynamic IP


I need Apache to glom port 80 on a specific device on my computer, however both devices have dynamic ip addresses.

However, the two are entirely different as one is behind a router, so one will always be 192.168.*.* and the other will always be 152.*.*.* at least.

Is there a way to set Apache to use port 80 on only the 152.*.*.* device?

(particularly the Listen directive in the httpd.conf)
 
Old 10-20-2007, 05:38 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
no, i'd suggest using an iptables rule to block the traffic on one nic to get around this pretty easily.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Home Server Dynamic IP Apache WebDAV query smudge|lala Linux - Networking 8 03-13-2006 08:40 PM
Apache in dynamic environment CloudBuilder Linux - Networking 5 01-12-2006 04:47 PM
Dynamic ip and Apache with iptables props666999 Linux - Security 4 09-28-2005 04:08 AM
Apache webserver on a DSL Dynamic IP system? bripage Linux - Networking 6 07-17-2003 09:45 PM
Apache and Dynamic IP's ranixlb Linux - Networking 3 05-24-2002 01:15 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 12:14 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration