Works for me.

I have the following sym links in /etc/apache2/mods-enabled for your
comparison

lrwxrwxrwx 1 root root 40 2005-05-23 19:38 actions.load -> 
/etc/apache2/mods-available/actions.load
lrwxrwxrwx 1 root root 28 2007-05-16 11:20 alias.load -> 
../mods-available/alias.load
lrwxrwxrwx 1 root root 33 2007-05-16 11:20 auth_basic.load -> 
../mods-available/auth_basic.load
lrwxrwxrwx 1 root root 33 2007-05-16 11:20 authn_file.load -> 
../mods-available/authn_file.load
lrwxrwxrwx 1 root root 36 2007-05-16 11:20 authz_default.load -> 
../mods-available/authz_default.load
lrwxrwxrwx 1 root root 38 2007-05-16 11:20 authz_groupfile.load -> 
../mods-available/authz_groupfile.load
lrwxrwxrwx 1 root root 33 2007-05-16 11:20 authz_host.load -> 
../mods-available/authz_host.load
lrwxrwxrwx 1 root root 33 2007-05-16 11:20 authz_user.load -> 
../mods-available/authz_user.load
lrwxrwxrwx 1 root root 32 2007-05-16 11:20 autoindex.load -> 
../mods-available/autoindex.load
lrwxrwxrwx 1 root root 36 2006-02-23 09:29 cgi.load -> 
/etc/apache2/mods-available/cgi.load
lrwxrwxrwx 1 root root 26 2007-05-16 11:20 dir.conf -> 
../mods-available/dir.conf
lrwxrwxrwx 1 root root 26 2007-05-16 11:20 dir.load -> 
../mods-available/dir.load
lrwxrwxrwx 1 root root 26 2007-05-16 11:20 env.load -> 
../mods-available/env.load
lrwxrwxrwx 1 root root 27 2007-05-16 11:20 mime.load -> 
../mods-available/mime.load
lrwxrwxrwx 1 root root 34 2007-05-16 11:20 negotiation.load -> 
../mods-available/negotiation.load
lrwxrwxrwx 1 root root 37 2006-08-16 09:52 php5.conf -> 
/etc/apache2/mods-available/php5.conf
lrwxrwxrwx 1 root root 37 2006-08-16 09:52 php5.load -> 
/etc/apache2/mods-available/php5.load
lrwxrwxrwx 1 root root 30 2005-07-19 20:49 rewrite.load -> 
../mods-available/rewrite.load
lrwxrwxrwx 1 root root 31 2007-05-16 11:20 setenvif.load -> 
../mods-available/setenvif.load
lrwxrwxrwx 1 root root 26 2007-03-01 22:28 ssl.conf -> 
../mods-available/ssl.conf
lrwxrwxrwx 1 root root 26 2007-03-01 22:27 ssl.load -> 
../mods-available/ssl.load
lrwxrwxrwx 1 root root 29 2007-05-16 11:20 status.load -> 
../mods-available/status.load
lrwxrwxrwx 1 root root 40 2005-05-15 12:45 userdir.conf -> 
/etc/apache2/mods-available/userdir.conf
lrwxrwxrwx 1 root root 40 2005-05-15 12:45 userdir.load -> 
/etc/apache2/mods-available/userdir.load


And a .htaccess with:-
RewriteEngine on
RewriteCond $3  (.*$)
RewriteCond $2  !zc
RewriteCond $2  !html_version
RewriteCond $2  !primo
RewriteCond $2  !^images
RewriteCond $2  !^css
RewriteCond $2  !uploads
RewriteCond $3  !dispatch.php
RewriteRule ((.*)/)?([^/]*)$ /dispatch.php

And the virtual host concerned looks a bit like this:-

<VirtualHost *:80>
        ServerName primo.localhost
        ServerAdmin [EMAIL PROTECTED]

        DocumentRoot /home/sites/primo.localhost/web/
        <Directory /home/sites/primo.localhost/web/>
                Options +Indexes FollowSymLinks -MultiViews
                AllowOverride All
                Order allow,deny
                allow from all
        </Directory>

        ErrorLog /var/log/apache2/error.log

        # Possible values include: debug, info, notice, warn, error, crit,
        # alert, emerg.
        LogLevel warn

        CustomLog /var/log/apache2/access.log combined
        ServerSignature On
</VirtualHost>


The AllowOveride and Order and "allow from" are important in getting a 
.htaccess to be recognised IIRC.

Hope some of that helps track this down.

Regards
Richard

-- 
mod_rewrite does not work in feisty
https://bugs.launchpad.net/bugs/108414
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to