Jump to content

Freid001

Members
  • Content Count

    128
  • Joined

  • Last visited

Community Reputation

0 Neutral

About Freid001

  • Rank
    Advanced Member
  • Birthday 06/01/1993

Contact Methods

  • Website URL
    http://freidcreations.herokuapp.com/

Profile Information

  • Gender
    Male
  • Location
    UK
  • Interests
    PHP, SQL, JAVA, JavaScript, NodeJS
  • Age
    23
  1. The Nginx config looks like this: server { listen *:80; server_name workspace.dev ; client_max_body_size 1m; root /var/www/workspace; index index.html index.htm index.php; access_log /var/log/nginx/nxv_74ybirqpo6y6.access.log; error_log /var/log/nginx/nxv_74ybirqpo6y6.error.log; location ~ \.php$ { set $path_info $fastcgi_path_info; root /var/www/workspace; fastcgi_index index.php; fastcgi_split_path_info ^(.+\.php)(/.*)$; try_files $uri $uri/ /index.php$is_args$args; include /etc/nginx/fastcgi_
  2. Hi, Thanks for commenting. Nginx - error log: 2017/01/15 14:05:44 [error] 1826#1826: *3 rewrite or internal redirection cycle while internally redirecting to "/index.php", client: 192.168.56.1, server: workspace.dev, request: "GET / favicon.ico HTTP/1.1", host: "workspace.dev", referrer: "http://workspace.dev/symfony/web/app.php/test" 2017/01/15 14:07:03 [error] 1826#1826: *4 rewrite or internal redirection cycle while internally redirecting to "/index.php", client: 192.168.56.1, server: workspace.dev, request: "GET / symfony/web/app_dev.php/test HTTP/1.1", host: "workspace.
  3. Hi, I've recently been trying to learn more about VM's and vagrant, i'm also relatively new to Nginx as most development I have done in the passed has been on Apache. Anyway, I'm trying to setup a new Symfony project on my local under a workspace directory, within this directory I have several other projects too. I am able to run composer install and install the framework. I can go to the following endpoint: http://workspace.dev/symfony/web/app.php and see the "Welcome to symfony 3.2.2" page. However when I create a new route such as /test: /** * @Route("/test", name="test"
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.