Files inside Alias folder not accessible

Posted by John Isaacks on Ask Ubuntu See other posts from Ask Ubuntu or by John Isaacks
Published on 2010-12-28T21:18:08Z Indexed on 2010/12/28 21:59 UTC
Read the original article Hit count: 327

Filed under:
|

In my apache2.conf I have an alias setup like this:

Alias /cake/ /var/www-cake/repo
<Directory /var/www-cake/repo>
    Order allow,deny
    Allow from all
    AllowOverride All
    Options +Indexes
</Directory>

inside the /var/www-cake/repo directory I just have 1 file that is index.php

when I go to http://linux-server/cake/ I get a directory listing that shoes the index.php file. When I click on the file it takes me to http://linux-server/cake/index.php in which I get a 404 page not found error.

What do I need to do to make the files accessible?

© Ask Ubuntu or respective owner

Related posts about apache

Related posts about apache2