Apache别名不在目录列表中

我有一个运行在我的家庭服务器上的网站,这只是我前端远程抓取文件。 没有页面,只是一个目录列表(选项索引…)。 我想添加一个链接到webroot之外的目录,所以我做了一个别名。 在处理权限一分钟之后,我现在可以通过在浏览器中inputURL来导航到该目录,但该目录不在根索引中列出。 有没有办法做到这一点,而不是在根中创build一个符号链接?

服务器:Ubuntu 11.04,Apache 2.2.19

相关的虚拟主机:

<VirtualHost *:80> ServerName some.url.net DocumentRoot "/var/www/some.url.net" <Directory /var/www/some.url.net> Options Indexes FollowSymLinks AllowOverride None Order Allow,Deny Allow From All AuthType Basic AuthName "TPS Reports" AuthUserFile /usr/local/apache2/passwd/some.url.net Require user user1 user2 </Directory> Alias /some_alias "/media/usb_drive/extra files" <Directory "/media/usb_drive/extra files"> Options Indexes FollowSymLinks Order Allow,Deny Allow From All </Directory> </VirtualHost> 

不。别名不会显示为文件系统的一部分。 它们只存在于Web服务器中,而mod_autoindex只处理文件系统。

是的,你可以使用选项索引多视图

  Alias /some_alias "/media/usb_drive/extra files" <Directory "/media/usb_drive/extra files"> Options Indexes MultiViews Order Allow,Deny Allow From All </Directory> 

嗯,错误的答案被接受。 而正确的答案是编辑?

也许这对我来说只是奇怪的,因为我有越南文化;-)