Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
PostPosted: Wed Aug 06, 2014 7:34 am 
Offline

Joined: Wed Aug 06, 2014 7:28 am
Posts: 1
Hi, I need some help to get my Laravel working in my Linode Ubuntu instances. The Laravel framework requires the virtual host to be pointed to the 'public' folder. The Linode group had set up my server for me and below is what I see in the .conf file.

root@www1:/etc/apache2/sites-available$ vim secure.mydomain.com.conf

Use phpfpm user1 secure.mydomain.com 11003

There is only one line inside the .conf file in the '/etc/apache2/sites-available' folder. The above line in the conf file works fine if I put an index.php file inside the /home/user1/secure.mydomain.com folder.

However, when I change the file to add the DocumentRoot so that it will point to the 'public' folder inside, nothing works:

root@www1:/etc/apache2/sites-available$ vim secure.mydomain.com.conf
Use phpfpm user1 secure.mydomain.com 11003
DocumentRoot /home/user1/secure.mydomain.com/public

I am not sure how to get it pointed to the 'public' folder for this specific virtual host... Any help will be greatly appreciated. Thanks!


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
RSS

Powered by phpBB® Forum Software © phpBB Group