Why is .htaccess not allowed in a directory but is allowed in another?
- by JD Isaacks
I have apache2 installed on ubuntu 10.4
inside my var/www/ directory [amung others] I have a cakephp and a dvdcatalog directories. Each of which have CakePHP 1.3 installed.
I can access them both via localhost/cakephp and localhost/dvdcatalog
But the dvdcatalog shows up with no css styling.
They both have these files:
/var/www/cakephp/app/webroot/css/cake.generic.css
/var/www/dvdcatalog/app/webroot/css/cake.generic.css
But when I go to http://localhost/cakephp/css/cake.generic.css it sees the file but it does not see the file when I go to http://localhost/dvdcatalog/css/cake.generic.css
I think this means the cakephp folder is able to use .htaccess and the dvdcatalog is not.
I setup the cakephp directory last month when I was following in the blog tutorial. I am setting up the dvdcatalog directory now for a different tutorial. So I am not sure if I am missing a step.
in my /etc/apache2/apache2.conf file I have this:
<Directory "/var/www/*">
Order allow,deny
Allow from all
AllowOverride All
</Directory>
Which I thought gave .htaccesss to all.
Does anyone have any ideas what the problem is?