The University of Texas at Austin
As part of the Web Central Services Retirement project, the ITS website will be retired. Information about IT services will be replaced by two new sites, IT@UT and UT ServiceNow, and ITS departmental information will be migrated to a new location. All changes will be completed by 7/28/2016.

Web Central

Creating an .htaccess File

Many application frameworks such as Drupal or WordPress already include an .htaccess file. If one does not exist, publishers can create an .htaccess file using any text editor on your computer such as Notepad or a text editor on the server such as Pico, Emacs or Vim. Files created with Microsoft Word should be saved as “text only.”

To view .htaccess files in your directory listing on the server, you must use the "ls -a" command. Unix files that begin with a dot “.” are hidden in the normal listing.

To create the file

  • Create and save a text file with the name .htaccess.
  • You do not need to create any content in the .htaccess file for it to be stored in the directory.
  • Move or upload the text file to the directory you want to protect or for which you wish to modify configuration settings.

Last updated May 30, 2014 @ 11:09 am

We Can Help

Get help from an expert:

* UT Service Desk

* Call us at 512-475-9400

* Submit a help request online

We also have a walk-in service in the first floor lobby of the Flawn Academic Center (FAC). Stop by and let us help you!