CodeIgniter Forums
Deployment on Apache - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Using CodeIgniter (https://forum.codeigniter.com/forumdisplay.php?fid=5)
+--- Forum: Installation & Setup (https://forum.codeigniter.com/forumdisplay.php?fid=9)
+--- Thread: Deployment on Apache (/showthread.php?tid=75656)



Deployment on Apache - thiag - 03-02-2020

Hi there! 

My CodeIgniter 4 is working fine locally with spark.

I have a Apache mutualised hosting on Ionos, and I wanted to deploy my CI4 app on it.

I can't change apache configuration, I can only use .htaccess files.
Can I still change the root to the public folder? Or is there any other option? 

Thanks for your help & have a nice day Smile


RE: Deployment on Apache - dave friend - 03-02-2020

Can you upload to the same folder that holds the webroot for the site?

Or, put another way, Assuming the webroot is named 'htdocs' can you upload to the same folder that holds 'htdocs'?


RE: Deployment on Apache - John_Betong - 03-02-2020

@thiag,
> I have a Apache mutualised hosting on Ionos, and I wanted to deploy my CI4 app on it.
>
> I can't change apache configuration, I can only use .htaccess files.
> Can I still change the root to the public folder? Or is there any other option?


This thread may be of interest:

https://forum.codeigniter.com/thread-75648.html