Jump to content


  • Content Count

  • Joined

  • Last visited

Everything posted by cvk

  1. Some TCH customers may have noticed that when they connect their FTP clients to their TCH servers there is a 10-second delay before the FTP server gives the login prompt. (It's most noticeable when using FTP clients that display the text of the login sequence. Others such as Dreamweaver just say something like, "Server not responding...please wait.") If it happens to you it’s because you’re sitting behind a NAT device on your home or office network and because your TCH server is running an FTP server called ProFTPD. (A router that shares your internet connection among multiple computers in your home is a NAT [network address translation] device, so if more than one computer in your home or office can access the internet at once through your DSL or cable modem, chances are this means you.) It’s just a 10-second delay, but it’s really annoying! Fortunately there’s a good reason it does this and it’s not hard to fix. TCH uses ProFTPD on some of their servers and by default when ProFTPD gets a connection request it tries to connect to an ident server running on port 113 of the computer that initiated the connection to it. However, Windows machines don’t run ident servers (usually) so when they receive connection requests on port 113 they reject them immediately. That’s okay, though — even good!: ProFTPD receives the rejection and just continues the login sequence immediately as if nothing had happened. The stalling problem only occurs when the connecting computer is behind a NAT or other firewall device. In that case the NAT device receives the connection attempt on port 113 instead of your computer, and instead of rejecting it like most computers would it doesn’t acknowledge or deny the connection in any way at all (a behavior that many firewalls have that’s called “blackholing”). Now ProFTPD has to wait for 10 seconds (the default time-out length) to see if the connection happens, but it never will. The only thing that happens is the annoying delay. That annoying delay isn’t a big problem if you only connect once a day and stay connected until you’re done updating your site, but my office uses a product called Macromedia Contribute (version 2.0.1) to collaboratively maintain our site. Contribute connects to the FTP server to check out a document /every/ time you start editing it and then again when you’re finished, causing a total delay of 20 seconds for each page edit in addition to file transfer time. When one of my coworkers goes around making minor changes to 8 or 10 pages in a row it really starts to slow him/her down. Luckily there are two good solutions to this problem. The best solution is for TCH to add the following line to the /etc/proftpd.conf file on each server that runs ProFTPD: IdentLookups off That’s it! That’s all they have to do. The next time ProFTPD is started by xinetd the problem will be gone. Unfortunately TCH may not be willing to make that change. They have a bunch of servers and it would take a little while to make the same modification to each of them (I’m guessing about one minute per server). TCH is a great company and they’re very concerned about their customers so they might just go to that trouble, but I’m sure they’re also very busy with more pressing matters so it might not happen. The second solution is one that you can apply at your own home or office. Use your router’s web administration interface to forward UDP and TCP ports 113 directly to your desktop’s IP address or to the IP address of another computer on your network that will be on while you’re trying to use FTP. That way the connection request from TCH’s FTP server will be forwarded to your computer which will promptly deny it and the login will proceed without delay. (It will help if you’re using static IP addresses on your home/office network since you’ll need to know the IP address of your computer in order to forward connections to it.) For help doing this check your router’s manual or Google for its model number. Not sure which device is your router? If you have DSL it’s probably the DSL modem. Otherwise it’s the thing made by Netgear, Linksys, or D-Link. It may also be a hub/switch, so there may be a bunch of ethernet ports in the back or even an antenna or two if it’s also your wireless access point.
  2. How do I use SSL on TotalChoice Hosting's servers? I have several accounts on several servers, but on none of my accounts do I see anything like an SSL directory. Does anyone know how to do it?
  3. In fact, the point of Contribute is to limit what your users can do to your pages. It is more a content management tool than a content creation tool (except that you can create new pages based on templates).
  4. If you're beginning web designer why not look at a tool like Macromedia Dreamweaver MX? It accomplishes what you're looking for in a way that's very easy to understand graphically. In DW MX you use templates to standardize site layout. A template defines a largely immutable page design with sections such as the textual content and title of the page that can be filled in by you or another user. And it's fully PHP compatible (even has PHP code coloring and a PHP reference built in). Many people at this point will say, "I only use <insert manly text editor here>!" To that I say so did I...until 1998! Actually, I still do a majority of my design in Dreamweaver's code view. You just can't beat human efficiency for properly optimizing some of the naive things graphical web editors do to HTML. However, when it comes to speed and enabling uniformity tools like Dreamweaver rapidly accelerate web site development once you become adept at using them. And you can't beat the power of Contribute for collaborative web development.
  5. How about the most useful web utility site? The contest could be to create a page (or maybe several pages) that performed some useful function for a visiting surfer (e.g., netmask calculator, postcard sender, online teen diary [those things are popular], etc...) that any webmaster could plug into his/her site. The script should be useful, easy to plug into an existing web site, and efficient. In that order.
  • Create New...