Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

documentation #2

Open
federicolucca opened this issue Sep 15, 2014 · 1 comment
Open

documentation #2

federicolucca opened this issue Sep 15, 2014 · 1 comment

Comments

@federicolucca
Copy link

Goodmorning,
Very good job, i followed all the istructions but now i'm not able to use the REST api . i installed all on my amazonec2, i generated the keys and i try to call from localhost,but i don't know the address to call for a example research .
the root folder of the framework is /app or /web ?

thanks in advance
federico

@jcbwlkr
Copy link
Contributor

jcbwlkr commented Sep 15, 2014

Hello, Federico

You want to have Apache's DocumentRoot set to the /web directory. It should be set up such that making a request without specifying any path would hit the index page /web/index.php Additionally the .htaccess rules should be enabled to perform the URL rewriting. For my testing I have the following config file

<VirtualHost *:8001>
    DocumentRoot /var/www/find.torrent/web
    <Directory /var/www/find.torrent/web>
        AllowOverride All
        Order allow,deny
        allow from all 
    </Directory> 
</VirtualHost>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants