Nick Rout wrote:

I want /usr/portage/distfiles to appear as /distfiles/ on my web server
(apache2)

I have tried:

1. making a symlink /var/www/lcalhost/htdocs/distfiles to point to /usr/portage/distfiles

2. adding

Alias /distfiles /usr/portage/distfiles

to my apache config and restarting apache (after deleting the symlink)

Both result in 403 "Forbidden

You don't have permission to access /distfiles/ on this server." errors.

where to from here?

Do you have the default file in the directory (this misleading message is quite common in that case)

Does the user id that Apache is running as have rights to the directory

You can set the root of apache to /usr/portage/ which may still give the message.



Reply via email to