Control Web Panel

WebPanel => Apache => Topic started by: yaya on November 22, 2015, 06:03:02 AM

Title: codeigniter htaccess
Post by: yaya on November 22, 2015, 06:03:02 AM
Hi

I try deploy web app (codeigniter) but it is just show blank page.

Server information

/usr/local/apache/bin/httpd -M|grep rewrite
Syntax OK
 rewrite_module (static)

This is my .htaccess

DirectoryIndex index.php index.html

<IfModule mod_rewrite.c>

RewriteEngine On
#RewriteBase /webapp/
RewriteCond $1 !^(index\.php|assets|install|update)
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d

RewriteRule ^(.*)$ index.php?/$1 [L]

#RewriteRule ^(.*)$ index.php/$1 [NC,L,QSA]
#RewriteRule ^(.*)$ index.php?/$1 [L,QSA]

</IfModule>

What is it wrong ?

Yaya
Title: Re: codeigniter htaccess
Post by: Igor S. on November 27, 2015, 10:47:48 AM
Hi.

If you have a blank page, check your /usr/loca/apache/logs/error_log (or other if you've changed it).