Showing posts with label apache. Show all posts
Showing posts with label apache. Show all posts

Friday, February 29, 2008

Default charset in apache (2)

Yep, so getting back... apparently I've missed some important hint:


http://www.apache.org/dist/httpd/CHANGES_2.2

This file contains a paragraph I missed:

Thursday, February 28, 2008

Default charset in apache

Darn! I finally got over my problem... so let's get back to the very beginning...

I use apache 2.2.4. I've been using it without a problem for a long time. My needs for apache are very basic: I just need tons of directory listings (indexes) with the ability to follow symbolic links, and ~10 aliases. The files in the directory listings are on my local computer and they usually have "weird" encodings, so I needed to let apache know I need it to use UTF-8 as default charset/encoding. Simple to achieve... or so it seemed: I used to run apache installed via aptitude under /etc/apache2.

Tuesday, February 26, 2008

Apache...

For a wealth of apache documentation: apache.org httpd docs. (Just change '1.3' in the URL into '2.0' or '2.2' for different flavors.)

Note to self: RTFM.

Basic apache configuration in FreeBSD

So I decided to try out apache in FreeBSD...
pkg_add -rv apache
vi /usr/local/etc/apache/httpd.conf
Added the lines:
ServerName www
BindAddress *
Supposing my hostname is dvorak, I need to edit
vi /etc/hosts
and add the line:
127.0.0.1 dvorak