Giter VIP home page Giter VIP logo

Comments (12)

balping avatar balping commented on June 12, 2024

First, you are using port 8000 and not 80, you should connect to yourip:8000. You also need to check that port 8000 is open on your server. You could also consider forwarding port 80 to 8000.

Second, there's no need of concatenating ticketit/public to the end of the url. Using artisan serve, the public directory is made root automatically.

from ticketit-app.

rohilario avatar rohilario commented on June 12, 2024

I tried using the artisan server through port 8000 and it did not, but my project is installed on apache web server that I have hosted my site, so should also go through port 80 ..

Ports 8000 and 80 are open on the server.

Again, thanks for the reply.

from ticketit-app.

balping avatar balping commented on June 12, 2024

If you're using apache, you should set the document root to the public folder and it should work.

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

from ticketit-app.

rohilario avatar rohilario commented on June 12, 2024

Apache module is enabled and I configured the .htacess, without success. The ticketit folder is at the root of the server.

image

image

Anyway, thank you.

from ticketit-app.

balping avatar balping commented on June 12, 2024

You should set the apache document root to that folder.

Usual place to do that is /etc/apache2/sites-enabled/000-default.conf

E.g.

<VirtualHost *:80>
        # ...
        DocumentRoot /web/ticketit/public

        <Directory "/web/ticketit/public">
                AllowOverride All
        </Directory>

        # ...
</VirtualHost>

from ticketit-app.

rohilario avatar rohilario commented on June 12, 2024

Still unsuccessful. :(
If I change the line in the .httacess file RewriteRule * index.php [L] to RewriteRule ^ index.php [L] page does not get internal server error, simply does not load with error 500.

image
image
image
image

from ticketit-app.

balping avatar balping commented on June 12, 2024

After you have set documentroot, that folder is /, so you should be able to access it on yourip/

from ticketit-app.

rohilario avatar rohilario commented on June 12, 2024

Still unsuccessful. :(
One detail of my installation is that I had to add the line "use Illuminate \ Support \ Facades \ Schema;" And "Schema :: defaultStringLength (191);" In the "AppServiceProvider.php" file for the installation to occur normally. Does it interfere with anything?

After that, I can do the installation normally without any errors. I have even re-read it several times!

image

from ticketit-app.

balping avatar balping commented on June 12, 2024

Now at least you get a different error - 403. Maybe the files aren't readable by apache - check permissions

from ticketit-app.

rohilario avatar rohilario commented on June 12, 2024

777 on every page...

image

image

image

from ticketit-app.

rohilario avatar rohilario commented on June 12, 2024

Thaaaaaaaaaaaaaaaanks!!!
image

from ticketit-app.

balping avatar balping commented on June 12, 2024

You're welcome :-) But be careful with 777, better to set the owner to whatever user the webserver is running on and 755 for directories and 644 for files.

from ticketit-app.

Related Issues (12)

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.