How to configure cakephp?-php Tutorial

Source: Internet
Author: User
Tags server error log
For more information about cakephp configuration, see the manual. in the apache server configuration file, set documentroot & quot; e: cakephpappwebroot & quot ;, then, you can access webrootindex. php. However, in the manual, I would like to set a few more Statements & lt; Directory & gt; & nbsp; OptionsFollow to ask about the configuration of cakephp.
I configured according to the manual, and set documentroot "e:/cakephp/app/webroot" on the apache server configuration file. then I can access webroot/index. php. However, I would like to set a few more sentences in the manual.

Options FollowSymLinks
AllowOverride all
# Order deny, allow
# Deny from all

AllowOverride all is originally AllowOverride none
However, if it is set to ALL, an error occurs as follows:
/-------------------------------------------------------------------/
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, [email protected] and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.
/-------------------------------------------------------------------/
What is the reason? the other is to modify webroot/. htaccess. what is the purpose ??????


------ Solution --------------------
It should be a webroot/. htaccess file error. paste the configuration of this file to see it.
Recommended solution for Code fans:The server encountered an internal error () that prevented it from fulfilling this request., http://www.daimami.com/java-web/317.html

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.