Ci4 problem on newly instal vps |
Hello any one can help me I just install a vps and install a plesk cpanel.
My ci4 project is too big that I need a vps for it Every process went well until I upload my project and I am stuck at error. 500 internal server error. Error log says .htacess Option All is not allow here. I did no know much about command line I have already tries every solution I found on internet. I comment out all options in .htaccess in the public folder it works but can not locate pages.. Url not found. When I uncommitted them I get back my 500 error Option All not allow here.
Hello Seunex,
seems that your vps are installed with "AllowOverride" restriction. See your httpd.conf or site conf. Inside the <Directory> that points to your side. You must to set to 'AllowOverride All' to allow any change in the .htaccess file. Also, check that you have as this in your .htaccess file: Options All (not Option All) Code: #Change this What did you Try? What did you Get? What did you Expect?
Joined CodeIgniter Community 2009. ( Skype: insitfx )
(10-13-2020, 04:30 AM)XMadMax Wrote: Hello Seunex, Hello XMADMAX this are the solution I am seeing on internet my problem is how can I get to that file for editing. (10-13-2020, 04:36 AM)InsiteFX Wrote: Does not work
A side solution...
If you're adventurous, consider replacing Apache with Nginx + PHP-FPM. Configuration is vastly simpler, and you'll get better performance and lower memory footprint overall. Great for VPS's. I run all of my CodeIgniter projects on cheap VPS setups with minimal configuration. Best thing is that you don't need any of this .htaccess or AllowOverrides stuff. It's worth checking out Nginx if you haven't yet, and it's a great way to get comfortable with the command line, as you don't need to run heavy and clunky control panels on the server like cPanel. Lean and mean. Fewer security concerns. |
Welcome Guest, Not a member yet? Register Sign In |