views:

5

answers:

0

Has anyone had any luck with setting up PHPonTrax on Dreamhost?

I have a subdomain ..say subdomain.domain.com where i have a folder called quiz which contains my PHPonTrax app.

There are two problems for which I need help. 1. Since PHPonTax gives a public folder with a htaccess file that handles all requests, I want it so that everytime i go to subdomain.domain.com/quiz , it should redirect to public/ folder

The part about the database setup, the model,controller creation works fine. But if I for example say http://subdomain.domain.com/quiz/answers, then the page does not load.

I tried a few things...

  1. I copied the entire public folder to the same folder level as my app, including the htaccess file. But that didn't work.
  2. I was thinking about writing a htaccess inside my quiz folder so that I redirect all requests to the public folder. But the public folder itself contains a htaccess and so was not sure of the impact there.

Can anyone help me please.