Hi,
I have been trying for a few days to get clean url module working on my vps.
The vps is running ubuntu 10.04, and runs a few applications on virtual host.
I want to create the drupal site on a virtual host as well and it works fine, but I have not been able to enable clean url.
I have of course enabled the module.
I have read and tried many of the suggested documentations but none worked.
here are are the relevant config files
cat /etc/apache2/sites-available/
default default-ssl dev1.mydomain2.com ssl www.mydomain.com www.my-domain.com www.mydomain3.com
root@myserver:~# cat /etc/apache2/sites-available/www.my-domain.com
NameVirtualHost my-ip:80
ServerAdmin webmaster@localhost
ServerAlias my-domain.com
RewriteEngine On
RewriteOptions inherit
DirectoryIndex index.html
DocumentRoot /var/www/my-domain/
if using awstats
we want specific log file for this server
CustomLog /var/log/apache2/www.my-domain.com-access.log combined
AllowOverride All
RewriteEngine on
RewriteBase /my-domain
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php?q=$1 [L,QSA]
AccessFileName .htaccess
cat /var/www/my-domain/.htaccess
#
Apache/PHP/Drupal settings:
#
Protect files and directories from prying eyes.
Order allow,deny
Don't show directory listings for URLs which map to a directory.
Read »








