Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - corda

Pages: [1]
1
Installation / CodeIgniter 4 on subdomain .htaccess.bak issue
« on: March 15, 2022, 04:16:24 PM »
Hi all fellow CWP Users.

I tried to install CI4 on the subdomain folder and I followed the topic from this URL:
https://forum.centos-webpanel.com/dns/subdomain-500-internal-server-error/

When I changed the .htaccess to .htaccess.bak and tried the subdomain, it worked.

But, when I try to access the other path like /login or /logout, it does not work.
I must type /index.php/login or /index.php/logout to access the desired page.

Normally, the page can be accessed without /index.php because .htaccess will override it.
But the .htacess.bak seems like not working and if I changed it back to .htaccess, I will get the error message.

I still use the default setting for the .htaccess.bak and haven't changed anything after creating the subdomain.

Any solutions for this issue?

Pages: [1]