Syndicate content

Pages with category Web Server

  • Introduction

    Often, when you build a website, you want columns.

    Common designs include

  • I just switched my websites from one server to another and noticed that on my main company site (http://www.m2osw.com) I would get a # at the end of the URL. Automatically added somehow. Thinking that could be a bad guy I checked the code and could not really see anything.

    Hitting "Back" once, I noticed that the # would be transformed to #atssh-digg. I don't have anything specific about digg on that page except the AddThis button. That adds Digg among some 150 different systems where you can share my pages.

  • Managing your own Drupal Download Site

    The other day, I was thinking, it would be nice if I could find the way to manage my own download site so people who use my modules that I do not provide directly on https://www.drupal.org would still show as expected (i.e. Green in the update window).

    I found this page about it: https://www.drupal.org/node/210984

    This is done by creating a service in your Drupal environment. You should use the ready made script named:

    project-release-serve-history.php

    which you can find in the D6 version of the Drupal project named Project. Being very ...

  • If you are running a webserver, you should use a webserver firewall. This prevents many attacks from being perpetrated on to your servers without the need to make your own applications more complex than necessary.

    The idea is very simple, if you have a few people who can edit your data from the Internet and those have a static IP address, you can check that the editor pages are only accessible to those IP addresses. Any other access can simply be blocked.

    [toc hidden:1]
  • I have been wondering, for a while, why is it that I get errors about DEFLATE no being known.

      [Sun Apr 11 22:41:23 2010] [error] an unknown filter was not added: DEFLATE
      [Sun Apr 11 22:48:54 2010] [error] an unknown filter was not added: DEFLATE
      [Sun Apr 11 22:50:23 2010] [error] an unknown filter was not added: DEFLATE
    

    I should have thought of it, the deflate module was not installed. That was it, but oh well... 8-)

    To tweak your Apache setup, use the following two lines:

      sudo a2enmod deflate
      sudo /etc/init.d/apache2 force-reload
    

    And you'll get rid of those ...

  • Error about a local certificate?!

    The other day, I got a new certificate from godaddy.com. I installed the certificate by replacing the files and simply restarting Apache. I then checked in Sea Monkey and it worked great. Checking the certificate it told me "valid for another 3 years."

  • Today we again ran in an out of memory error. As we are adding more websites our foot print is growing... Our servers use a VPS that has limited resources and whenever the limit is reached, the system automatically kills processes. How the VPS selects the process to kill isn't clear to me, but twice it has been our database manager meaning that all of a sudden all the websites stop working.

    So... We got an extra bit of RAM because our package allowed it, but that's still small.

  • Today I got an error about an .htaccess file that Apache2 could not load.

       pcfg_openfile: unable to check htaccess file, ensure it is readable
    

    I looked like 10 times in that folder to make sure the .htaccess was fine, which meant looking that there wasn't an actual .htaccess file there!

    The fact is not exactly that the file cannot be opened, it has more to do with the parent folder accessibility. Somehow Apache2 does not check the parent folder accessibility and prints the error since, indeed, it gets an error other than the usual "File Not Found". (It's getting the ...

  • I've been using Drupal for a while and only now started to notice a problem with the cache of JavaScript code. In general, I don't cache the JS since they are not dynamic files. But we do that with Snap!.

    The Apache mime module offers two options: AddType and AddEncoding

    Both options are used in a similar way meaning that both react on file extensions. When a match is found, the corresponding MIME type or content encoding is attached to the content being sent.

    If you install the MIME module, it will attempt encode data properly for the most general case, but not all cases. That is, it does

  • I've been looking around every now and then to try to understand how I could create a server that replies on the correct Ethernet port.

    The idea is simple, we have very powerful servers that can handle many requests, more requests that one Ethernet port can handle. In other words, we could have 2, 3, 4, probably even 10 Ethernet connections (it really depends on your application, of course: how much RAM you need, how much processing is necessary for each access, etc.)

    The solution is to use the ip command line which allows us to add default gateways for each ethernet card based on the ...

Syndicate content

     

Terms of Site Index

Find the page/content you are looking for with our index.

  • hard drive

    A hard drive is a device that save a large quantity of data for later recollection.

    Most hard drives today use a magnetic system to save the data. However, those do get really hot and tend to break easily because they use a mechanical head (after 4 to 5 years.) Yet, they have an incredible capacity with drives that can hold as much as 2Tb.

    New modern drives use flash technology. This is like your USB thumb drive. It does not get hot, it is silent, it has much faster read access (no head to move.) It has two drawback: (1) it has a rather slow write and (2) the capacity is still quite small (at time of writing we are starting to get 128Gb drives...) The price is also much higher, but if you consider that these drives will probably last you twice as long as the magnetic drives and you won't need extraneous cooling systems, overall, it probably still worth it.

  • height
  • Mac OS/X

    The new system for Macintosh computers. This is based on FreeBSD, a Unix platform.

  • RSS
  • substitute