Welcome Guest. Please Login or Register  


You are here: Index > Webuzo > General Support > Topic : Webuzo - Apache - Change Document Root



Threaded Mode | Print  

 Webuzo - Apache - Change Document Root, I am installing Laravel and need to change the document root to public folder (3 Replies, Read 152 times)
pdolinaj
Group: Member
Post Group: Newbie
Posts: 3
Status:
I've just set up my Laravel application but I need to find a way to point the document root to "public" folder.

I've added something like this to the Apache extra configuration:

DocumentRoot /home/mycopmany/www/mydomain.com/public

However, this gets overwritten in the Webuzo generated vhost file (/usr/local/apps/apache/etc/conf.d/webuzoVH.conf) to:

DocumentRoot /home/mycopmany/www/mydomain.com

I can obviously change the autogenerated file DocumentRoot settings but this will get overwritten every time I make any changes.

What's the best way to do this?

Thanks.
IP: --   

Webuzo - Apache - Change Document Root
peopleinside
Group: Member
Post Group: Super Member
Posts: 1326
Status:
Hi, use your email address as forum username is not a good idea as you can expose your email to fraud or spam emails.
You can change Apache config from the Webuzo interface under Apache icon.Sorry but I'm not expert on suggesting how to edit Apache, you can try to ask on the web if you get not an answer here.


-----------------------
PeopleInside  :angel:
Passionate Webuzo User
IP: --   

Webuzo - Apache - Change Document Root
pdolinaj
Group: Member
Post Group: Newbie
Posts: 3
Status:
Thanks for noticing. I've tried to change the profile name but it doesn't work - not good from Softaculous! My other option is to delete my account but how?!?!>!?
IP: --   

Webuzo - Apache - Change Document Root
peopleinside
Group: Member
Post Group: Super Member
Posts: 1326
Status:
You can try from https://www.softaculous.com/board/index.php?act=usercp&ucpact=account


-----------------------
PeopleInside  :angel:
Passionate Webuzo User
IP: --   

« Previous    Next »

Threaded Mode | Print  



Jump To :


Users viewing this topic
1 guests, 0 users.


All times are GMT. The time now is October 19, 2020, 4:00 pm.

  Powered By AEF 1.0.8 © 2007-2008 Electron Inc.Queries: 10  |  Page Created In:0.271