Under Virtual directory Apache click on the requested url* is not found on this server.

Source: Internet
Author: User

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.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.