How to Check if an Apache Module Has Been Loaded

Sometimes it is useful in the Apache configuration httpd.conf file to only apply configuration settings if a particular module has already been loaded. Or it is useful to load settings in the event an Apache module has not been loaded. Here is how to handle both cases:

<IfModule module_identifier>
  # do these Apache settings if the module has already been loaded
</IfModule>
<IfModule !module_identifier>
  # do these Apache settings if the module has NOT already been loaded
</IfModule>

Here are some examples:

<IfModule !php5_module>
  # If the PHP5 module has NOT already been loaded, load it
  LoadModule php5_module modules/libphp5.so
</IfModule>
<IfModule php5_module>
  # If the PHP5 module has already been loaded, then do these settings
  AddHandler php5-script .php
  AddType text/html .php
  DirectoryIndex index.php
</IfModule>

The module_identifier argument can be either the module identifier or the file name of the module, at the time it was compiled. For example, rewrite_module is the identifier and mod_rewrite.c is the file name. If a module consists of several source files, use the name of the file containing the string STANDARD20_MODULE_STUFF. You can read more about the <IfModule> Apache directive in the Apache documentation.

When You Will Receive Your Economic Stimulus (Tax Rebate) Checks

U.S. tax payers will be receiving economic stimulus checks a.k.a. tax rebate checks starting today. You are supposed to take this money and blow it on something like cool computer gadgets. This in theory will help bolster the U.S. economy. The money will be paid out on a schedule which will be determined by the last two digits of your social security number and whether or not you filed your 2007 tax return electronically or by paper. You must have filed your 2007 tax return by April 15th otherwise you will be paid last after everyone else that filed on time. Here is the schedule of when money will be paid out (the U.S. government recently moved up the schedule 1 week from what is listed in the schedule below):

Direct deposit payment
If last 2 digits of your SS# are: Your rebate should be sent by:
00-20 May 2
21-75 May 9
76-99 May 16
Paper check
If last 2 digits of your SS# are: Your rebate should be sent by:
00-09 May 16
10-18 May 23
19-25 May 30
26-38 June 6
39-51 June 13
52-63 June 20
64-75 June 27
76-87 July 4
88-99 July 11

Official IRS notice of the tax rebate payment schedule is available here.

“Internal Error 2739” When Trying to Install Adobe Photoshop CS3 in Windows Vista

When trying to install Adobe Creative Suite 3 ( CS3 ) you may encounter the following error message:

Internal Error 2739

This error message occurs right after you run the setup program to install CS3. The problem is that a DLL file needs to be reregistered with Vista. To fix this error perform the following steps:

1. Open a command prompt but do so with administrative privileges. See this link on how to do this.

2. If you are running Windows Vista 32-bit, then ensure the command prompt is currently in the directory “C:\Windows\System32\” which should be the default starting location when you open the command prompt. If you are running Vista 64-bit, then run the following command to get to the correct directory:

cd ..\SysWow64

3. Type the following command in the command prompt window and then press ENTER:

regsvr32 jscript.dll
  • If the problem persists, then additionally run the command :
regsvr32 vbscript.dll

4. Try running the CS3 installer again. It should now work.

How to remove the “Welcome to the Frontpage” title in Joomla 1.5

If you install a new installation of Joomla! 1.5 on your server, you will see the “Welcome to the Frontpage” title on your Frontpage. It took me awhile to figure out how to change this. Here is how you do it:

Go to your Joomla! 1.5 Administration site and login. In your administration site go to:

  • Menus – Main Menu (now you are in: Menu Item Manager: mainmenu).
  • Click on ‘Home’ link to edit this link (you are now in: Menu Item: Edit).
  • Click on Parameters System and change or delete the Page title.
    • If you change the Page title, the changed title will be displayed on your Frontpage as a title.
    • If you delete the Page title, the menu link name will be displayed on your Frontpage as a title (in the this case “Home” will be displayed as title, because “Home” is the name of the link to the Frontpage).
    • If you don’t want to display any title, set Show Page Title below Page title parameter to “No”.
  • Don’t forget to save the changes.

Screenshot of Joomla frontpage title setting