First of all, my Yum httpd, save the backed up files to/data/backup, and configure the virtual directories in http.conf
alias/mogodb/"/data/backup" <directory "/data/backup" > Options Indexes followsymlinks allowoverride all Or Der Allow,deny allow from all</directory>
When I visit http://host/mogodb/I can see the list of the current folder
However, I clicked on one of the options needed to download the time, pop up 404
The requested url/mogodb/xxxx.tar.gz is not found on this server.
And then looked for a long time, finally found in the official website of the manual
Then the url/icons is not being aliased, as it lacks that trailing/. Likewise, if you omit the slash to the Url-path then you must also omit it from the File-path.
Refer to my first jump configuration, meaning that, alias two path is either written on the trailing '/', do not write '/' (English slag, please do not spit groove)
So the final solution is to remove/mogodb '/' or add '/' to/data/backup
This article is from the "Carlayboy" blog, make sure to keep this source http://carlayboy.blog.51cto.com/1752609/1586756
Under Virtual directory Apache click on the requested url* is not found on this server.