Comments (12)
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.
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.
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.
Apache module is enabled and I configured the .htacess, without success. The ticketit folder is at the root of the server.
Anyway, thank you.
from ticketit-app.
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.
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.
from ticketit-app.
After you have set documentroot, that folder is /
, so you should be able to access it on yourip/
from ticketit-app.
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!
from ticketit-app.
Now at least you get a different error - 403. Maybe the files aren't readable by apache - check permissions
from ticketit-app.
777 on every page...
from ticketit-app.
from ticketit-app.
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)
- localization HOT 1
- Issue with routing HOT 1
- Ticket creation issue HOT 1
- How to do manual installation HOT 1
- sqlite connect HOT 5
- No hint path defined for [ticketit]. HOT 2
- Expected response code 250 but got code "530", with message "530 5.7.1 Authentication required "
- DataTables warning: table id=DataTables_Table_0 - Ajax error HOT 1
- SQLSTATE[42000]: Syntax error or access violation: 1071 Specified key was too long HOT 1
- How create Agent? HOT 3
- Error when creating a ticket from fresh install HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ticketit-app.