apache2 and .htaccess

Michael Satterwhite michael at weblore.com
Mon Jun 4 17:02:44 UTC 2007


OK, I'm missing something obvious; I'll admit that up front.

I need to process .htaccess on my test server running apache2. The only 
AllowOverride directives in my apache2.conf read
	AllowOverride All

I In sites-available/default, I have
        DocumentRoot /var/www/
        <Directory />
                Options FollowSymLinks
                AllowOverride All
        </Directory>
        <Directory /var/www/>
                Options Indexes FollowSymLinks MultiViews
                AllowOverride All
                Order allow,deny
                allow from all
                # This directive allows us to have apache2's default start 
page
                # in /apache2-default/, but still have / go to the right place
                #RedirectMatch ^/$ /apache2-default/
        </Directory>

My .htaccess file is still not being processed. (I did restart apache2 after 
making these changes). I'm sure what I'm missing is obvious, but I don't see 
it. Can anyone help?

---Michael




More information about the ubuntu-users mailing list