Giter Club home page Giter Club logo

Comments (2)

comur avatar comur commented on June 16, 2024 1

Hi tgmichel,

I use this bundle on many projects on production and never noticed an issue
(differences between environments) like this.

When you say "moving to production" you want to say that it works on
another server or just differences between app_dev.php and app.php

I think you have an htaccess issue if you were seeing app.php in urls. Did
you add symfony's htaccess ?

Can OMUR
[email protected]
+33 (0)6.79.66.58.28

2014-09-23 17:35 GMT+02:00 tgmichel [email protected]:

While moving the project to production i noticed that the POST after
uploading an image returns 404. The not-found path is defined in routing.yml

comur_api_upload:
pattern: /upload

In debug_mode everything works just fine, at both local and external
server, but in production mode the error is thrown.

Anyone knows what could be the problem? Just in case is relative to the
issue, i also added a rewrite rule to get rid of the "app.php" part of the
url.

Thanks, Telmo


Reply to this email directly or view it on GitHub
#15.

from comurimagebundle.

tgmichel avatar tgmichel commented on June 16, 2024

Thanks for your time and for the quick response.

After checking carefully i saw Apache was adding a trailing slash at the end of the upload URL, i changed /upload to /upload/ in the comur_api_upload pattern and now it is working.

from comurimagebundle.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.