configuration of zend frame work in ubuntu

Posted by Rahul Mehta on Server Fault See other posts from Server Fault or by Rahul Mehta
Published on 2011-01-08T08:10:01Z Indexed on 2011/01/08 8:56 UTC
Read the original article Hit count: 293

Filed under:
|
|

Hi,

I have created a project zfapi by zf command in ubuntu.

Now http://myserverpath.com/zfapi/

gives me listing of folder public application and others.

http://myserverpath.com/zfapi/public give me the index page index.php.

and i have made the UserController.php in application/controllers

but by http://myserverpath.com/zfapi/user/

is saying user not found.

what configuration i need to set for running it proper.

I had set my /etc/apache2/apache2.conf added the following in the last .

<VirtualHost *:80>

    DocumentRoot "/var/www/mypath/zfapi"

    <Directory "/var/www/mypath/zfapi">

        Order allow,deny

        Allow from all

    AllowOverride all

</Directory>

</VirtualHost>

is giving me this error while restarting server.

[Sat Jan 08 13:32:53 2011] [error] VirtualHost *:80 -- mixing * ports and non-* ports with a NameVirtualHost address is not supported, proceeding with undefined results
apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1 for ServerName
[Sat Jan 08 13:33:03 2011] [error] VirtualHost *:80 -- mixing * ports and non-* ports with a NameVirtualHost address is not supported, proceeding with undefined results

what this i should do .?

© Server Fault or respective owner

Related posts about apache

Related posts about ubuntu