Eduardo Fuerte
asked on
Could you point what is needed in terms of Apache2.x configurations to runs Laravel apps ?
Hi Experts
Could you point what is needed in terms of Apache2.x configurations to runs Laravel apps ?
The examples I had run uses Laravel's internal server
And I want to run from Apache.
Thanks in advance!
Could you point what is needed in terms of Apache2.x configurations to runs Laravel apps ?
The examples I had run uses Laravel's internal server
http://localhost:8000/
And I want to run from Apache.
Thanks in advance!
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ok so try to type on the computer in your network http://server-ip-address and http://server-ip-address:8000 and tel me what you get ?
ASKER
To run http://server-ip-address:8000 first the Laravel's internal web server must be started - then the site is renderized - ok.
Running http://localhost, after Apache is started, the site isn't renderized and a directory structure is presented instead.
Running http://localhost, after Apache is started, the site isn't renderized and a directory structure is presented instead.
Running http://localhost will send request on port 80 - if apache is not listening on this port you will have error 404.
If you have only one service (one web site) you do not need setup virtual hosts.
check /etc/init.d/apache2 status if apache is running
post ports.conf
netstat -ln will give you information what ports you have open.
/etc/apche2/sites-enabled/ 000-defaul t file tells you where you have root folder for main website
If you have only one service (one web site) you do not need setup virtual hosts.
check /etc/init.d/apache2 status if apache is running
post ports.conf
netstat -ln will give you information what ports you have open.
/etc/apche2/sites-enabled/
ASKER
Sorry.
I need a little more time to interact due some professional intercurrences!
I need a little more time to interact due some professional intercurrences!
ASKER
This:
For me is a little vague...
Maybe is a matter of configure virtual hosts.. f.e.