Thank you very much, Tony. I've found out that my problem was another Alias directory: ----- Alias /foo1/ /usr/www/foo1/ --------- which I placed *after* "Alias /foo1/foo2/". So Apache was looking for /usr/www/foo1/foo2 directory. You must place "Alias /foo1/" *BEFORE* "Alias /foo1/foo2" On Nov 16, 2007 10:35 AM, Tony Stevenson <tony@xxxxxxxxxxx> wrote: > Several things here Thomas, > > Can you look in your errorlog [1] and paste the error's that relate to > this 404. > Do you have a global DirectoryIndex setup so Apache knows which file to > serve by default, i.e. DirectoryIndex index.html as you have not > specified one in your vhost it will take the gloable default, if you > have one. Check this file exists. > > The logs will show us exaclty what is at fault here, and will help us > diagnose the issue much more quickly > > > [1] Look here to find it if you dont know where it is --> > http://wiki.apache.org/httpd/DistrosDefaultLayout > > > Tony > > > > > > > thomas Armstrong wrote: > > Hi. > > > > Using Apache 2.0 on Linux (with 'mod_alias' loaded), I want to set an alias: > > /foo1/foo2/ --> /usr/www/example/foo2/ > > > > This is part of my 'httpd.conf': > > ----------- > > <VirtualHost example.com> > > DocumentRoot /usr/www/example/web > > ServerName example.com > > > > Alias /foo1/foo2/ /usr/www/example/foo2/ > > <Directory "/usr/www/example/foo2/"> > > Options Indexes FollowSymLinks > > Order Allow,Deny > > Allow from all > > AllowOverride all > > DirectoryIndex index.php > > </Directory> > > </VirtualHost> > > ---------------- > > > > But if I access: > > http://example.com/foo1/foo2/ > > I get a 404 error. > > > > Any suggestion? Thank you very much. > > > > --------------------------------------------------------------------- > > The official User-To-User support forum of the Apache HTTP Server Project. > > See <URL:http://httpd.apache.org/userslist.html> for more info. > > To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx > > " from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx > > For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx > > > > > > --------------------------------------------------------------------- > The official User-To-User support forum of the Apache HTTP Server Project. > See <URL:http://httpd.apache.org/userslist.html> for more info. > To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx > " from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx > For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx > > --------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server Project. See <URL:http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx " from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx