Nexcess Logo

How to create and manage Apache handlers

Knowledge Base Home

Notice anything different?

We've enhanced the appearance of our portal and we're working on updating screenshots. Things might look different, but the functionality remains the same.
September 10, 2019

How Nexcess clients on physical (non-cloud) accounts can create and edit custom Apache handlers and associated extensions.

Attention

  • If you do not have experience working with .htaccess files, it is highly recommended that you contact support@nexcess.net for assistance. If handled incorrectly, an .htaccess file can cause major problems for your website.

  • Always back up your .htaccess file before making changes to it.

  • A handler is an internal Apache command that dictates what action the Apache server should perform when a certain file type is called for. When Apache sees a file, it has an action built in for that file type, and will perform the correct action.

Creating an Apache handler

  1. Log in to your SiteWorx account.

  2. On the main menu, click Hosting Features > Htaccess.

  3. Click the Handlers link for the directory that you want to manage.

  4. In the Handler field, type the Apache handler command to use for the given extensions. As you type, the field will auto-complete with the various default handler commands in Apache.

  5. In the Extensions field, type the extension or extensions to associate with the entered handler command. To enter more than one extension, separate each by either a space or comma.

  6. Click Add.

Editing an existing Apache handler

  1. Log in to your SiteWorx account.

  2. On the main menu, click Hosting Features > Htaccess.

  3. Click the Handlers link for the directory that you want to manage.

  4. Click the Edit link next to the handler command that you want to edit.

  5. In the Handler field, type the Apache handler command for use with the given extensions. As you type, the field will auto-complete with the various default handler commands in Apache.

  6. In the Extensions field, type the extension or extensions to be associated with the handler command. To enter more than one extension, separate each by either a space or comma.

  7. After finishing the changes, click Save.

Deleting an Apache handler command

  1. Log in to your SiteWorx account.

  2. On the main menu, click Hosting Features > Htaccess.

  3. Click the Handlers link for the directory that you want to manage.

  4. Click the check box next to each handler command that you want to delete. You can also click the Check All link to quickly select all of the handlers at once.

  5. In the with selected: drop-down menu, select Delete.

  6. When prompted for confirmation, click the Delete button.

External Resources

For more information about Apache Handlers, refer to the related pages on the Apache website.


For 24-hour assistance any day of the year, contact our support team by email or through your Client Portal.
Jason Dobry
We use cookies to understand how you interact with our site, to personalize and streamline your experience, and to tailor advertising. By continuing to use our site, you accept our use of cookies and accept our Privacy Policy.