user727198
user727198

Reputation: 89

Laravel change default path

I downloaded a laravel project and install on my ubuntu into following default path var/www/html/timecapture/public

Now when I visit the path www.domain.com/timecapture/public then it works. Only the links im my application for example "employe" are showing to www.domain.com/employe and not www.domain.com/timecapture/public/employee. Where can I do the necessary change? I am using laravel 5.4. thanks.

Upvotes: 0

Views: 830

Answers (1)

Alex
Alex

Reputation: 1418

You should change the DocumentRoot of your website in the configuration of apache, you can set it to the absolute path of your public folder (var/www/html/timecapture/public)

Upvotes: 1

Related Questions