Ensure that your web server url rewrite engine is working (i.e. for apache users: ensure that mod rewrite module is enabled as well as the apache AllowOverride directive).
Also check the .htaccess located in the root directory of your appliation. Sometime (depending on your server configuration) you may need to fix the directory where your application is located within your web server:
...
<IfModule mod_rewrite.c>
RewriteEngine On
#fix the following directive if you experience problems with url redirections:
your_application/directory/here
...
Note: Lion has his own Url rewrite engine, so a common mistake the first time working with Lion is to try to call to the index.php directly from the browser (i.e. http://yourdomain/index.php).
Try to use an url ending with .html extenssion (i.e. http://yourdomain/index.html) which is the default url format out of the box. Urls can be customized by defining routes, take a look at URLs and Routes for more information.
2. A Forbidden error is shown when I try to execute an application from the browser
This is commonly due to a permissions issue.
Just check that the web server user has enough permissions to access to both the Lion framework and to your application files.
3. A 404 error is shown when I try to execute the index.html page
Your web server is not redirecting requests propertly to the index.php file.
For apache users, most common causes are:
The mod rewrite module is disable. In that case, enable it.
The AllowOverride directive is disabled. In that case,