Category: Apache
Generate SSL certificate for Apache2
September 8th, 2010This is a way to generate SSL certificate for your apache server. In the following, the certificate files are stored in/etc/apache2/ssl/Make sure to answer correctly to the "Common Name" item when generating the keys. This "Common Name" have to m… more »
Getting text encoding issues in a Web page
June 4th, 2008If you are writing an internationalized web application, you may encounter some issues with accents.
Indeed, the character é can become the following é.
This is due to the encoding of your files.
To check the encoding of a file, run:
user@server:~/w… more »
Apache 2, Debian, logrotate and awstats
June 17th, 2007When installing awstats on Debian/GNU Linux, a cron job is run with user www-data.
The problem is that /var/log/apache2/access.log is owned by root:adm with 640 permissions.
In order to be able to run the cron job, /var/log/apache2/access.log must… more »
Apache 2.2 and LDAP authentication
June 10th, 2007Here are some configuration lines from a site definition in apache 2.2 that may help you to authenticate against a LDAP server.
You will use the auth_basic module to authenticate, as well as mod_authnz_ldap :
<Directory /path/to/directory>
Opt… more »
