Home / Tag Archives: apache

Tag Archives: apache

July, 2010

  • 21 July

    Running Apache on Another Port

    Question: I have one instance of Apache running on the standard port 80, but I would like to run another on port 8080 for a different web application. Is this possible? Answer: Yes, it is possible, and it is actually easier than you may think. Rather than creating a new …

  • 9 July

    Configuring PHP: php.ini and phpinfo

    With your own dedicated server, many of the configuration tasks fall squarely on your shoulders. PHP is no exception. Most of the PHP configuration settings are found in the php.ini file, which is often located in /etc/php.ini on Linux servers. You must edit the file as root, and any configuration …

  • 1 July

    Using GZIP for Faster Websites

    Good webmasters and system administrators are always looking for ways to increase efficiency and create faster websites. While much of website speed depends on the speed of the server, network connection, and the design of the site, there are other software tweaks that can add some zip to your site. …

June, 2010

  • 30 June

    Apache HTTP Server Optimization: Part 3

    StartServers You have already configured Apache to control the number of child processes to keep running. This directive will tell Apache how many to start initially when your server first boots. Depending on the level of traffic you expect to get, this number may be low or high. For general …

  • 29 June

    Apache HTTP Server Optimization: Part 2

    MinSpareServers and MaxSpareServers – Each virtual server on Apache uses its own set of child processes. With these settings, you can control how many spare processes Apache will run while waiting for more requests. When a child process reaches its maximum requests, the spare processes will be used. On a …

  • 28 June

    Apache HTTP Server Optimization: Part 1

    When running your own dedicated server or even a VPS (virtual private server), it is important make sure your server is running at optimal performance. Apache, the web server of choice for many Linux system administrators, will not automatically make itself stable, secure, and fast. You must do that, and …

  • 14 June

    What to do when your server goes down

    First of all: do not panic. What may appear to be an outage, may actually be an issue with your network connection or Internet congestion. Once you have eliminated the usual suspects, there are a few steps you can take to resolve the issue quickly and get your dedicated server …

April, 2010

  • 8 April

    Change a URL with mod_rewrite

    Question: My current website URL looks like http://mydomain.com/index.php?page=creative. How can I remove the index.php and question mark to make it look more like a regular page address? Answer: If your web server is Apache, you should be able to do this with mod_rewrite. If you have a shared hosting account, …

March, 2010

  • 25 March

    Open source vs proprietary servers

    Open Source typically refers to software that has code released under some type of free software license (GPL, BSD, Apache, etc.). Users and developers have access to the source code and can modify and redistribute it. Proprietary software usually means the source code is closed and/or the EULA (end user …

  • 24 March

    How to redirect a specific IP address

    Question: How do I redirect every visitor to my website except for me? Answer: There are two methods you can use to accompany the results you want and both involve using an .htaccess file. The first is to redirect your site’s visitors with standard Apache directives: ErrorDocument 403 http://www.yourdomain.com Order …