leostereo
6 months ago
640
2
Servers

How to set apache to serve idem like artisan serve command

Posted 6 months ago by leostereo

Hi guys. I have a fresh apache running on centos 7 server. I have been deploying my laravel aps at /var/www/html folder. So , in order to access , i need to go on my browser for:

http://10.1.1.50/blog/public/index.php/products.

While if use "php artisan serve" I can reach the app doing: http://10.1.1.50:8000/products

What do i need to properly set my apache to handle 2 or more laravel apps on port 80 in similar fashion than artisan serve option ? BTW I understand , I need to point app public folder , but how to doit if I need to serve multiple applications ? Regards. Leandro.

Please sign in or create an account to participate in this conversation.