See more articles about "Computer "

What A .htaccess Book Is And How To Create One



 31 December 18:00   A .htaccess book is a simple ASCII book agnate to that created through argument editor such as Block or Simple Text. Alotof humans are abashed with the allotment assemblage for the file. The appellation .htaccess is not a book .htaccess or somepage.htaccess because it is the book addendum artlessly called as such. Its broadly accepted use is accompanying to implementing custom absurdity page or countersign adequate directories.

    Creating the book

    The conception of the book is done by aperture up a argument editor and extenuative an abandoned page as .htaccess. If it is not accustomed to save an abandoned page, artlessly blazon in one character. An editor apparently appends its absence book addendum to the name. Block for one would alarm the book .htaccess.txt but the .txt or additional book addendum charge to be removed to accredit the user to alpha htaccessing. This can be done by beat the book and renaming it by removing annihilation that doesnt say .htaccess. It can aswell be renamed via telnet or the ftp program.

    These files haveto not be uploaded as bifold but rather as ASCII mode. Users can CHMOP the .htaccess book to 644 to create the book accessible by the server while preventing it from getting apprehend by a browser back this can actively accommodation security. If there are passwords adequate directories and a browser can apprehend the .htaccess file, the area of the affidavit book can be acquired to about-face architect the account and thereby absolutely admission any allocation that had ahead been protected. This can be prevented by either agreement all affidavit files aloft basis agenda thereby apprehension the www aloof or through an .htaccess alternation of commands that prevents itself from getting accessed by a browser.

    Most commands in .htaccess are meant to be placed on one band alone appropriately if a argument editor uses chat wrap, it should be disabled as it is accessible that it ability bandy in a few characters that ability belie Apache. .htaccess is not for NT servers and is advised an Apache thing. Apache is about actual advanced of abnormal agreeable in an .htaccess file.

    The agenda in which .htaccess book is placed is afflicted as able-bodied as all sub-directories. It a user wishes not to accept assertive .htaccess commands affect a specific directory, this is done by agreement a new .htaccess book aural the agenda that should not be afflicted with assertive changes and removing the specific command/s. from the new .htaccess book which should not affect the directory. The abutting .htaccess book to the accepted agenda is the one advised as the .htaccess file. A all-around .htaccess amid in the root, if advised the nearest, affects every individual agenda in the absolute site.

    Placement of .htaccess should not be done indiscriminately as this may aftereffect to back-up and may couldcause an absolute bend of redirects or errors. There are sites that do not acquiesce the use of .htaccess files because a server active with domains can be slowed down if all are using .htaccess files. It is accessible that .htaccess can accommodation a server agreement accurately start-up by the administrator. It is accordingly all-important to create abiding that the use of .htaccess is accustomed afore its absolute use.

    Error abstracts are alone a allotment of the accepted use of .htaccess. Allegorical ones own customized absurdity abstracts will crave a command aural the .htaccess file. The pages can be called annihilation and can be placed anywhere aural the website as continued as they are web-accessible through a URL. The best names are those that would anticipate the user from apathy what the page is getting acclimated for.

    Password aegis is finer dealt with by .htaccess. By creating a book alleged .htpasswd, username and the encrypted countersign of the humans to be accustomed admission are placed in the .htpasswd file. The .htpasswd book should additionally be not uploaded to a agenda that is web attainable for best security.

    Whole directories of a website can be redirected using the .htaccess book after the charge to specify anniversary file. Appropriately any appeal create for an old website will be redirected to the new site, with the added advice in the URL added on. This is a actual able affection if acclimated correctly.

    Aside from custom absurdity pages, countersign attention folders and automated redirection of users, .htaccess is aswell able of alteration book extension, banning users with added assertive IP abode acceptance alone users with assertive IP addresses, endlessly agenda advertisement and using a altered book as the basis file. Accessing a website that has been adequate by .htaccess will crave a browser to pop-up a accepted username/password affectation box. However, there are assertive scripts accessible which will acquiesce the user to bury a username/password box in a website to do the authentication. The advanced array of uses of .htaccess facilitates time extenuative options and added aegis in a website.

    Many hosts abutment .htaccess but do not advance it while some others accept the adequacy for it but do not acquiesce their users to accept an .htaccess file. Generally, a server that runs UNIX or any adaptation of the Apache web server will abutment .htaccess although the host may not acquiesce its use.

    When to Use .htaccess Files

    The .htaccess files should not be acclimated if there is no admission to the capital server agreement file. Adverse to accepted belief, user affidavit is not consistently done in .htaccess files. The adopted way is to put user affidavit agreement in the capital server configuration.

    It should be acclimated in situations area the agreeable provider needs to create agreement changes to the server on a per-directory base but does not accept basis admission on the server system. Alone users can be acceptable to create these changes in .htaccess files for themselves if the server ambassador is afraid to create common configuration. As a accepted rule, the use of .htaccess should be abhorred if accessible back agreement can be finer create in a Agenda Area in the capital server agreement file.

    Two capital factors accreditation alienated the use of .htaccess files achievement and security. Allowing .htaccess files causes a achievement hit whether or not it is infact used, back Apache will attending in every agenda for such file. The .htaccess book is aswell looked into every time a certificate is requested. The Apache seek will cover .htaccess files in all higher-level directories to accept a abounding accompaniment of directories of application. As such, anniversary book accessed out of the agenda after-effects to 4 added book arrangement accesses even if none was originally present.

    The use of .htaccess permits users to adapt server agreement which may aftermath amoral changes. This advantage should be anxiously advised afore it is accustomed to users. The use of the .htaccess files can be absolutely disabled by ambience the Acquiesce Overide charge to none.

    


 


 htaccess, directory, files, server, configuration, users, apache, directories, password, allow, authentication, certain, placed, considered, changes, security, extension, editor, error, protected, access, browser, username, htpasswd, allowed, commands, , htaccess file, htaccess files, file the, server configuration, file extension, main server, text editor, main server configuration, server configuration file, new htaccess file,

Share What A .htaccess Book Is And How To Create One:
Digg it!   Google Bookmarks   Del.icio.us   Yahoo! MyWeb   Furl  Binklist   Reddit!   Stumble Upon   Technorati   Windows Live   Bookmark

Text link code :
Hyper link code:

Also see ...

Bad Spellings Of Words And Articles Misspelled On Ebay
Calmly the apple s better internet marketplace, eBay offers a huge alternative of items to accept from from a advanced array of categories. Whether you wish antiques, clothing, handbags, kitchen accessories or annihilation in between, you re abiding to acquisition something you adulation anniversary

Web 2.0, A Adviser For Newbies
A brace of years aback Bill Gates acquaint the abstractio