Categories

Archives

A sample text widget

Etiam pulvinar consectetur dolor sed malesuada. Ut convallis euismod dolor nec pretium. Nunc ut tristique massa.

Nam sodales mi vitae dolor ullamcorper et vulputate enim accumsan. Morbi orci magna, tincidunt vitae molestie nec, molestie at mi. Nulla nulla lorem, suscipit in posuere in, interdum non magna.

Force SSL on a subdomain

Thanks to some help from this article I was able to force SSL on some of the pages.

RewriteEngine On RewriteCond %{SERVER_PORT} 80 RewriteRule ^(.*)$ https://www.example.com/$1 [R,L]

Adding an Alias to an Apache Virtual Host

I was wanting to add an alias to a virtual host on an apache webserver. This alias needed to be available only from a specific IP based virtual host. With the exception of the aliased directory the rest of the virtual hosts content is the same as the main site. Below I have included an […]

Disabling Directory Indexing in Apache

Search through your httpd.conf and place a – in front of all the Indexes entries. For example the entry:

Options Indexes FollowSymLinks

would become

Options -Indexes FollowSymLinks

Save your changes and restart apache.