Giter Site home page Giter Site logo

Comments (7)

tobias-kuendig avatar tobias-kuendig commented on July 22, 2024 1

/directory is handled by Laravel's router.

https://github.com/OFFLINE-GmbH/Online-FTP-S3/blob/master/routes/web.php#L36

Just make sure to configure your webserver to point to the /public directory. Check out Laravel's documentation for more info:

https://laravel.com/docs/5.5/installation#web-server-configuration

from online-ftp-s3.

sparkk29 avatar sparkk29 commented on July 22, 2024

Screen_Shot_2018_07_18_at_6_15_28_PM

from online-ftp-s3.

tobias-kuendig avatar tobias-kuendig commented on July 22, 2024

You'll have to show me some more information. What URL does get a 404? Do you find something in your storage/logs/laravel.log file?

from online-ftp-s3.

sparkk29 avatar sparkk29 commented on July 22, 2024

nothing is on storage/logs/laravel.log file, it's all yesterdays errors only, which got solved.
This is what I am getting.
app.js:5 GET http://MYIP/directory/?path= 404 (Not Found)
app.js:7 t {url: "/directory/?path=", ok: false, status: 404, statusText: "Not Found", headers: t, …}

I think the url where the API is calling is not correct.
my project is at /var/www/html/nc/online-FTP/Online-FTP-S3-1.0.4/MyProject/ and not /var/www/html/

from online-ftp-s3.

tobias-kuendig avatar tobias-kuendig commented on July 22, 2024

You'll have to debug this yourself since the information provided is not enough for me to help.

Check your webserver's error log. See if the Laravel application is even reached or if the 404 error is generated by the webserver itself.

This might be a problem with your sever configuration.

from online-ftp-s3.

sparkk29 avatar sparkk29 commented on July 22, 2024

okay, got it. Thanks!
Can you tell me if /directory and its APIs are to be created by me?
or just tell me the location where /directory should be?

from online-ftp-s3.

sparkk29 avatar sparkk29 commented on July 22, 2024

Thanks for helping.

from online-ftp-s3.

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.