Enable clean urls for drupal

In your apache config file (httpd.conf) add the following :

LoadModule rewrite_module modules/mod_rewrite.so

<Directory "path_to_your_drupal_dir">
 AllowOverride All
 RewriteEngine on
 RewriteBase /
 RewriteCond %{REQUEST_FILENAME} !-f
 RewriteCond %{REQUEST_FILENAME} !-d
 RewriteRule ^(.*)$  index.php?q=$1 [L,QSA]

Test your configuration by accessing your_host/user/login (instead of ?q=user/login).


client denied by server configuration: proxy:ajp://your_host:8009/ on a Debian server

To suppress the client denied by server configuration error with ajp and Apache (I suppose you already did a a2enmod proxy_ajp), just change the Proxy setting from Deny all to Deny none in /etc/apache2/mods-enabled/proxy.conf :

<Proxy *>
  AddDefaultCharset off
  Order deny,allow
  Deny from none
  #Allow from .example.com

EasyPHP not reachable from the outside world

First of all, let’s just say EasyPHP is not designed to be used as a production server (it’s rather used as a developement server to test your pages). But sometimes, it can be useful to reach it anyway.

In apache config file, change


or maybe



Listen yourIPaddrress:yourPort

This allow me to test Drupal on my netbook in the sun using http://yourIPaddrress:yourPort 😀

If you want to access your web pages through the internet, open a port (yourPort) in your firewall and/or router. This can be useful for a quick demonstration.