Wednesday, December 19, 2012

only runs default index with a subdomain

Hello Group,

I am trying to install cakePHP 2.2.4 in my 1and1 server.

I couldn't set htaccess because it cause 500 error. I tried all htaccess configurations as in cakePHPcookbook guide says and I couldn't run it fine. I uncommented "Configure::write('App.baseUrl', env('SCRIPT_NAME'));" in core file. and with a subdomain it is running.

now I am using subdomain "http://mario.homesonsale.es/" pointing to a directory called  "mario" and it works fine (with www.homesonsale.es/mario makes a controller error). but if I want to access to http://mario.homesonsale.es/posts/index an 404 error appear. All required files are in server (they are a copy of my localhost files where they run ok)

Where should be the problem?

thanks you very much

 

--
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP
 
---
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com.
To unsubscribe from this group, send email to cake-php+unsubscribe@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php?hl=en.
 
 

No comments: