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).


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.