I’m using my own server with Ubuntu Server 12.04, Apache, and Drupal 7 and I’m having a problem getting clean URLs working. I tried following the directions at http://drupal.org/node/15365 but still not working.
I ran:
apache2ctl -M
And the result was:
core_module (static)
log_config_module (static)
logio_module (static)
mpm_prefork_module (static)
http_module (static)
so_module (static)
alias_module (shared)
auth_basic_module (shared)
authn_file_module (shared)
authz_default_module (shared)
authz_groupfile_module (shared)
authz_host_module (shared)
authz_user_module (shared)
autoindex_module (shared)
cgi_module (shared)
deflate_module (shared)
dir_module (shared)
env_module (shared)
mime_module (shared)
negotiation_module (shared)
php5_module (shared)
reqtimeout_module (shared)
rewrite_module (shared)
setenvif_module (shared)
status_module (shared)
Rewrite module is there so I assume that part is OK. I then opened up httpd.conf and saw that it was empty. I added the following to the file:
<Directory /var/www/sphozy>
RewriteEngine on
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php?q=$1 [L,QSA]
</Directory>
With /var/www/sphozy the directory where Drupal is installed. Still didn’t work.