The Linux Page

Pages with category Web Server

  • Today I installed a Joomla site because I have a contract to do some development in Joomla.

    So... I started, looks real nice and stuff, clicked next, next and got and error. It tells me that the configuration.php file is not writable and that I'll have to copy and paste once I'm finished or make it writable. Well... I thus copy configure.php-dist as configure.php and try again.

    That makes it fail a little later with the following error:

  • In the last few days I have been working on a small project to get a really nice form for one of my sites. The form uses a lot of JavaScript for all sorts of fancy things (such as check user input to make sure we don't accept total crap such as an empty entry or just "1" as a credit card number.)

    The information finds itself in an IFRAME, which was the easiest way to get the time to load at decent speed and  to better manage the form in a separate area and not the main landing page. This will make it easier to maintain the landing page itself.

    however, that created ...

  • Last night as I was compiling a new PECL extension for an install, after a while it worked... I could run php -v and it would give me the version of the PHP modules without telling me that the it couldn't load the extension (i.e. we already had the extension=http; in the php.ini file.)

    But when testing with php -v on the command line, it would reload the php.ini and apply the extension feature and such.

    However, when testing with Apache, it was still not working. The PECL installation was all correct, so why would it not see the resulting extensions?!

    Because you need to restart Apache. ...

  • If you are using Apache and e-Commerce, you probably want to know all the details of the ciphers used by the Apache SSL module.

    So listing Apache supported ciphers is done using nmap as follow:

    nmap --script ssl-cert,ssl-enum-ciphers -p 443 secure.m2osw.com

    This call gives you a complete list of all the ciphers currently accepted by your running version of Apache. For example, the list may look like this:

    | ssl-enum-ciphers:
    |   SSLv3:
    |     ciphers:
    |       TLS_DHE_RSA_WITH_3DES_EDE_CBC_SHA - strong
    |       TLS_DHE_RSA_WITH_AES_128_CBC_SHA - strong
    |       ...
  • One thing we do with lists on a website is to put a small image to replace the default bullet with something that looks nice in the theme.

    If you are still reading the documentation on how to place an image in a list to replace the default bullet and what you read is some talks about list-style-image then you are in the wrong direction. Of course, this works great with Mozilla. But Internet Explorer does not understand the concept of list-style-image at all.

  • Whenever you run many applications on a server, such as many instances of your web server (i.e. Apache), you may want to know how much of the system is being used. This can be important to avoid overloading your system.

    The load is computed by the kernel. The kernel knows how many processes are running and how much processing power your server has (i.e. how many processors.) With that information, it infers how many processes are being held back for a period of time. The default periods are 1, 5 and 15 minutes (I'm sure you can recompile your kernel with different timings!)

    [toc hidden:1]
  • This page has empty paragraphs at the top (before this line), at the bottom and in between each paragraphs. In a way, this is a weird module!

    It use the MO Paragraph trimmer filter1, written in PHP for Drupal 6.x, to remove all of those empty paragraphs. Sadly, there isn't a good way for you to check the page source, but you can test by posting a comment (I think...)

    The idea ...

    • 1. Available on the Made to Order Software website.
  • Moving a website to a new server

    Now and again, you have to move a website from one server to another.

    There are good and bad things about that, the main problem is with dynamic websites. Why is that? Simple: a dynamic website expects to access a database and if you hit the wrong server, that will go bad.

    What's the best solution?

    1. Install your website on the new server, make sure it loads okay (you may want to use a test sub-domain name to make sure, although that's not a rock solid proof since some things may use a fully qualified URL)

    2. Change the IP address in your ...

  • Embedded videos from YouTube.com used to work just fine on my website.

    Today, though, I just noticed that my video was not showing up on one of my pages. Looking into it, I found out that the problem was the protocol.

    I'm not too sure whether it was my browser or YouTube,com (although I'm not too sure how YouTube.com would know...) but the fact is that the iframe source was using HTTP and the page I was viewing used HTTPS.

    By editing the page and changing the YouTube.com video from HTTP to HTTPS resolved the issue. It is generally much better to always use encryption anyway.

  • As I am developing a set of pages for a customer, I ran in an intersting problem: my JavaScript function could not properly define the sizes of a box.

    That box is heavily tweaked with the CSS assigned to it, as well as all of its neighbors. So I thought that may have something to do with it.

    What I hadn't realized so far is that the ready() function of jQuery() is called once the script that includes it is ready (as in loaded) and not once the document as a whole is ready (done loading, i.e. onload event.)

    With that knowledge it was easy to understand that I was actually finding myself ...

Syndicate content

SMS From Me Logo

SMS From Me

To automatically start one on one conversations with your online leads.

     

   

Terms of Site Index

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