CodeIgniter Forums
Deployment on Apache - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Using CodeIgniter (https://forum.codeigniter.com/forum-5.html)
+--- Forum: Installation & Setup (https://forum.codeigniter.com/forum-9.html)
+--- Thread: Deployment on Apache (/thread-75656.html)



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