apache2 and .htaccess
Tony Arnold
tony.arnold at manchester.ac.uk
Mon Jun 4 17:11:51 UTC 2007
Michael,
Michael Satterwhite wrote:
> 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?
Do you have the following in your apache2.conf file:
AccessFileName .htaccess
If not, could you post the .htaccess file and say which directory it is in?
Regards,
Tony.
--
Tony Arnold, IT Security Coordinator, University of Manchester,
IT Services Division, Kilburn Building, Oxford Road, Manchester M13 9PL.
T: +44 (0)161 275 6093, F: +44 (0)870 136 1004, M: +44 (0)773 330 0039
E: tony.arnold at manchester.ac.uk, H: http://www.man.ac.uk/Tony.Arnold
More information about the ubuntu-users
mailing list