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 (11 Replies, Read 57869 times)
pdolinaj
Group: Member
Post Group: Newbie
Posts: 5
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
Guest
Group: Guest
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.
IP: --   

Webuzo - Apache - Change Document Root
pdolinaj
Group: Member
Post Group: Newbie
Posts: 5
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
Guest
Group: Guest
Status:
You can try from https://www.softaculous.com/board/index.php?act=usercp&ucpact=account
IP: --   

Webuzo - Apache - Change Document Root
pdolinaj
Group: Member
Post Group: Newbie
Posts: 5
Status:
Still no answer, I can't believe nobody would face this same problem?
IP: --   

Webuzo - Apache - Change Document Root
Guest
Group: Guest
Status:
Quote From : pdolinaj October 30, 2020, 10:13 am
Still no answer, I can't believe nobody would face this same problem?


I forwarded your question now to Webuzo team.They can take some day before reply.Support are little bit slow recently maybe due to covid-19 emergency.
IP: --   

Webuzo - Apache - Change Document Root
pdolinaj
Group: Member
Post Group: Newbie
Posts: 5
Status:
Thank you, appreciate that.
IP: --   

Webuzo - Apache - Change Document Root
Guest
Group: Guest
Status:
Quote From : pdolinaj October 30, 2020, 10:51 am
Thank you, appreciate that.
At the moment my message to Webuzo still be unread, they may take several days before read it. Sorry about that.
IP: --   

Webuzo - Apache - Change Document Root
arish
Group: Member
Post Group: Newbie
Posts: 24
Status:
Hi,

Please open a support ticket https://softaculous.deskuss.com/ so we can help you faster.
IP: --   

Webuzo - Apache - Change Document Root
bartmanx
Group: Member
Post Group: Newbie
Posts: 5
Status:
wow ... no answer .. but it looks like he got his username fixed ... great job
IP: --   

Webuzo - Apache - Change Document Root
dtommy79
Group: Member
Post Group: Newbie
Posts: 2
Status:
Quote From : pdolinaj September 23, 2020, 9:23 am
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.


You can try creating an addon domain. When you do that you can define your own path.

I haven't found a way to do this with the primary domain, though.
IP: --   

Webuzo - Apache - Change Document Root
Bhavinn
Group: Webuzo Team
Post Group: Newbie
Posts: 34
Status:
Hi,
>>I haven't found a way to do this with the primary domain, though.

Sir, you can not change/modify the document root directory for Primary domain in Webuzo.
Let us know if you need any further assistance.
IP: --   

« Previous    Next »

Threaded Mode | Print  



Jump To :


Users viewing this topic
1 guests, 0 users.


All times are GMT. The time now is March 20, 2025, 6:16 pm.

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