Is the path request configured on the apache server incorrect?

Source: Internet
Author: User
Is the path request configured on the apache server incorrect? -- Linux general technology-Linux technology and application information. For details, refer to the following section. I am using the LAMPP integrated environment. My apache server has a small question to ask.

The default web directory is/opt/lampp/htdocs/
My project folder is evan/I put evan under htdocs. htdocs/evan can be accessed correctly. The address http: // localhost/evan/is correct.
However, if you want to use http: // localhost/to access my website, copy all the content under evan to htdocs. You can access http: // localhost/index. php on the homepage. However, if I click another link, the system will prompt that I cannot find the page. Therefore, only the home page can display other pages.

So I tried LAMPP under win. Unfortunately, there is no problem in win. Copy all the files under the evan directory to the upper-level directory (htdocs) and Use http: // localhost/for normal access. Other links are OK ....
Very depressing. It took three days. Not solved yet

When the request address is http: // localhost/company/intr, I am prompted that I cannot find the page .. I doubt whether the server accesses my path company/intr as a directory? This directory does not exist because it is not a static page ..

I pasted my httpd. conf configuration file. In the attachment. Please take a look !! Thank you!

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.