• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Using mod_rewrite
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Using mod_rewrite


  • Subject: Re: Using mod_rewrite
  • From: Arturo PĂ©rez <email@hidden>
  • Date: Tue, 13 Jul 2004 18:43:18 -0400

On Jul 13, 2004, at 3:02 PM, Chuck Hill wrote:

(A) Abandon Ye Direct Connect

(B) -DWOPort=1234

(A) is just basic good advice IMHO (not all agree with me, but they are wrong ;-) (B) will result in a fixed port #, choose the port you want

This came up previously and I got really annoyed with the newbie poster. The phrase "choose the port you want" should not be taken literally. TCP IP ports have restrictions so one cannot literally choose any number and expect it to work. The newbie in question wanted to set it to something like 123456.


The restrictions are:
1) One is not allowed to use ports with integer values less than or equal to 1024. It's kind of an IETF policy decision.
2) Port numbers are contained within unsigned 16 bit quantities. So, they range from 0-65535 when expressed as an integer. If one is tempted to use something less than 1024, see restriction 1. If one is tempted to use numbers greater than 65535 please review what 16 bit arithmetic entails.
3) A lot of things use TCP ports on your box already. Don't use one of those as it's already taken. If you're on a Unix variant you can type "netstat -an | grep -i listen" to see what the already used ports are.
4) Now, given restrictions 1-3 feel free to pick any of the remaining (approx) 60,000 ports available for one's personal use :-)
----
WO in philadelphia - wanna cheesesteak with that?
Please visit webobjects.meetup.com.
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.



References: 
 >Using mod_rewrite (From: Amorya North <email@hidden>)
 >Re: Using mod_rewrite (From: Chuck Hill <email@hidden>)
 >Re: Using mod_rewrite (From: Chuck Hill <email@hidden>)

  • Prev by Date: Re: Using mod_rewrite
  • Next by Date: Is there any get column method?
  • Previous by thread: Re: Using mod_rewrite
  • Next by thread: Re: Using mod_rewrite
  • Index(es):
    • Date
    • Thread