vim /etc/httpd/conf.d/xiazai_dir.conf Alias /download "/Myfile/xiazai" # --/download 访问的别名 /Myfile/xiazai 存放软件目录 <Directory "/Myfile/xiazai"> Options Indexes MultiViews FollowSymlinks AllowOverride None Allow from all Require all granted IndexOptions Charset=UTF-8 </Directory>