Default installations of Apache usually alias /icons to Apache's icons directory which cannot be overridden in an .htaccess file. If you do not control the Apache configuration of a server, and for … [Read more...] about Apache and icons directory
Information And Howtos About The Apache Web Server
Apache is an open source web server that runs on a variety of platforms including various UNIX flavours, Novell Netware and Microsoft Windows. It is used to run more websites on the Internet than any other webserver and has done so since 1996, as reported by the Netcraft Webserver Survey. The Apache webserver can be downloaded in binary and source form from the Apache website.
PHP code in a script is commonly delimited by opening <?php and closing ?> tags but there are also the older short open tags like this <? There are instances where you may need to disable … [Read more...] about Disabling PHP short tags in an Apache .htaccess file
When temporarily taking down a website to perform maintenance, it's a good idea to return a "503 Service Temporarily Unavailable" header so search engines know to come back later. This post shows how … [Read more...] about Setting 503 Service Temporarily Unavailable headers with Apache .htaccess
The default .htaccess file for SilverStripe runs all URLs that do not belong to actual files on the filesystem through the Sapphire framework. This means that if a request is made for a CSS file that … [Read more...] about .htaccess condition to prevent missing CSS, JS, image urls being parsed by SilverStripe
There are times you may need to monitor what's happening on an Apache web server as is happens. This can be done from the command line using a combination of the tail command, which outputs the last … [Read more...] about Viewing live Apache logs with tail, grep and egrep
When PHP is installed in Apache files with the .php extension are interpreted as PHP scripts. It is possible to make any file extension be parsed as PHP including .html. Make a .html file be parsed as … [Read more...] about Get Apache to parse .html files as PHP