The zendframework1.12 controller only needs to access the default page.
Source: Internet
Author: User
The zendframework1.12 controller can only access the default page. You can access 127.0.0.1/index. when 127.0.0.1/index/test is run, An & nbsp; error & nbsp; occurredPage & nbsp; not & nbsp; found is displayed; the zendframework1.12 controller in the root directory of the httpd file in apache can only access the default page.
127.0.0.1/index can be accessed, and 127.0.0.1/index/test will prompt An error occurred
Page not found; this is the root directory of the httpd file in apache. REWRITE is also enabled, and DIRETORY is also set. all AllowOverride is changed, indexcontroller defines a custom method testAction () {echo "abc ";}
The compiler ZEND_STUDIO 9.04 and the php environment is XAMPP. please give me some advice and have a hard time.
------ Solution --------------------
Send the complete error message.
Controller code
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