I have created a project zfapi by zf command in ubuntu.
gives me listing of folder public application and others.
http://mysite.com/path/to/zfapi/public give me the index page index.php.
and i have made the UserController.php in application/controllers
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/path/to/zfapi" <Directory "/var/www/path/to/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 .?