Windows 2003 error in transferring to ubuntu Server htaccess 500

Source: Internet
Author: User
Tags ini


Error message

Today, I transferred my website to a server, from windows 2003 to ubuntu.

The natural pseudo-static file name must be converted from httpd. ini to. htaccess.

After transfer. All sites 500 error. Premise: deletion of the htaccess website can be opened normally, the file permission is normal, and my pseudo-static rules are applicable to httpd. ini and htaccess. The rules are correct.

After the file is transferred, I directly "sudo mv httpd. ini. htaccess"

This is the command. I almost fell asleep all night.

Finally, look for it. Baidu, Google, Niang, and brother finally found a completely unexpected solution, smecta !!!

Delete. htaccess. Run vim again. Then save the written content. It's totally normal for me.

Nima. Is this a tough guy? It's so deep into my own trap.


Of course, there are many questions about http 500 internal server error. This article only introduces the solutions to the problems caused by static rules.

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.