Home / Tag Archives: htaccess (page 2)

Tag Archives: htaccess

November, 2009

  • 23 November

    How to Save Bandwidth with .htaccess

    Question: My dynamic PHP-driven site is popular and is using a lot of bandwidth. What can I do to save that precious bandwidth? Answer: Those of you who have to worry about bandwidth should really consider yourselves lucky. It means that your website has been more successful than the majority …

  • 16 November

    Alternative Index Entries

    Question: How do I configure my website to automatically go to a page other than index.***? Answer: If your web hosting provider is hosting your site using Apache HTTP server, you can accomplish this very easily with an htaccess file. If you do not already have one, create a plain …

  • 11 November

    How to Disable "Register Globals" in PHP

    Many content management systems (CMS) like Joomla recommend users disable a PHP security feature called “register_globals”. The default setting for it is controlled by your server administrator. If you have a shared hosting account, however, you still might be able to override the default server settings. To accomplish this, create …

  • 11 November

    Password Protecting Your Directories

    Question: How do I password protect a directory on my website? Answer: Many web hosting control panels offer a “password protect” feature for your directories. If not, there is a moderately easy way to do it with an Apache .htaccess file. First, create an .htaccess file that looks like this: …

October, 2009

  • 9 October

    How to block an IP address from your website

    It is always important to check your website logs. Many web hosting providers will give you access to them, even if they do not tell you they do. In a virtual hosting account, there will be a log directory with Apache server logs. Among other things, it will tell you …

  • 6 October

    What is directory listing?

    Question: What is “directory listing” and how do I enable/disable it? Answer: On an Apache HTTP Server, directory listing refers to a directory on the server that does not have a default index file. The file is usually called index.html, index.htm, index.php, etc. That is the default page that visitors …

September, 2009

  • 22 September

    How to Redirect HTTP to HTTPS

    Question: How do I force users to use the SSL version of a folder on my website? Answer: With e-commerce websites it is very important to make sure your customers have a secure connection to your website. Nothing can be more damaging to a business than to have sensitive user …

  • 22 September

    2 Ways to Redirect Your Website

    Question: I want my website redirected to another site or page on my server. How do I setup automatic redirection? Answer: There are many easy ways to redirect your website. Here are two commonly used methods. 1. .htaccess Redirect: Using an .htaccess file, you can instruct a visitor’s browser to …

  • 11 September

    Custom Error Documents With Apache

    Question: I noticed other websites have flashy 404 Not Found pages instead of the standard boring Apache page. How do I create my own custom error documents? Answer: Creating your own error documents is easier than you think. Just follow these simple steps. 1. Design your pages the way you …

  • 2 September

    Using .htaccess Files on Your Website

    Question: What Is .htaccess and How Do I Use It? Answer: Apache HTTP Server by default is controlled by a single configuration file. On many Linux distributions, the file is called httpd.conf or something similar. If you have a shared hosting account, however, you do not have access to an …

Powered by Namesco
© Copyright InternetBlog.Org.Uk 2024, All Rights Reserved