I typed this:
http://localhost/dev.gamenomad.com/Index
and I have got this controller in my zend project:
public function indexAction()
{
$this->view->pageTitle = "About GameNomad";
}
Basically, the action controller doesnt come up.
I get this output:
Object not found!
The requested URL was not found on this server. If you entered the URL manually please check your spelling and try again.
If you think this is a server error, please contact the webmaster. Error 404 localhost 02/13/12 14:59:19 Apache/2.2.21 (Win32) mod_ssl/2.2.21 OpenSSL/1.0.0e PHP/5.3.8 mod_perl/2.0.4 Perl/v5.10.1
and when I type: http://localhost/dev.gamenomad.com/
I get this:
Index of /dev.gamenomad.com
Parent Directory
.zfproject.xml
application/
docs/
library/
nbproject/
public/
tests/
Apache/2.2.21 (Win32) mod_ssl/2.2.21 OpenSSL/1.0.0e PHP/5.3.8 mod_perl/2.0.4 Perl/v5.10.1 Server at localhost Port 80
Why do I get this and what am i doing wrong?
/dev.gamenomad.com
supposed to be? – Shoelocalhost
. – Shoeresources.frontController.baseUrl = "/dev.gamenomad.com"
to your application.ini and see if that helps. Also, AFAIR, your document root should be set to thepublic
directory – bububaba