Do any one know what the problem for the following error?
The requested URL /Index/index.php was not found on this server.
i just fix it..
RewriteRule !\.(js|ico|gif|jpg|png|css|php)$ index.php
php_flag magic_quotes_gpc off
php_flag register_globals off
Modify this => AllowOverride none to AllowOverride All
Dont forget to enable RewriteEngine module.
I have created some basic files for ZF using html,applications,library folders. Then the url was like this.
And now i just removed the "html" folder and placed all the "html" folder files in the root directory itself. So, If i am trying to access the same like above action url, it is not functioning.
http://localhost/user/useradd/ (without html directory).
But if i use the index.php/controller/actionkey Then its working. How to solve this.
Anyone plz tell me one solution.
I'm having the same exact problem. It only works if I use index.php/user which is part of a tutorial I'm running.
Did anybody replied about what might be the issue with this?
Verify that your server set up is correct and that .htaccess and mod_rewrite are working properly. I've never seen that before.
Are you on the latest? 1.5 GA is out.
I just relized that you have the URL listed as /Index/index.php ... have you tried all lowercase?
I don't know if this is too late but I had the same problem of everything appeared to be alright except when you would specify /public/index you'd get a 404 Url not found error. I had to make the following changes:
My .htaccess file looks like this:
RewriteRule !\.(js|ico|gif|jpg|png|css)$ index.php
In my apache httpd.conf file
Uncomment out the following line:
LoadModule rewrite_module modules/mod_rewrite.so
In the section where you tell apache about your document root
<Directory "C:/Program Files/Apache Software Foundation/Apache2.2/myapp/public">
# Possible values for the Options directive are "None", "All",
# or any combination of:
# Indexes Includes FollowSymLinks SymLinksifOwnerMatch ExecCGI MultiViews
# Note that "MultiViews" must be named *explicitly* --- "Options All"
# doesn't give it to you.
# The Options directive is both complicated and important. Please see
# core - Apache HTTP Server
# for more information.
Options Indexes FollowSymLinks
# AllowOverride controls what directives may be placed in .htaccess files.
# It can be "All", "None", or any combination of the keywords:
# Options FileInfo AuthConfig Limit
AllowOverride All <=== change this line to All from None
# Controls who can get stuff from this server.
Allow from all