codeigniter htaccess

Started by yaya, November 22, 2015, 06:03:02 AM

Previous topic - Next topic

yaya

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

Igor S.

Hi.

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



You can ask me to solve any problem with your server for some money in pm  ;)






Services Monitoring & RBL Monitoring
http://centos-webpanel.com/services-monitor


Join our Development Team and get paid !
http://centos-webpanel.com/develope-modules-for-cwp

Installation Instructions
http://centos-webpanel.com/installation-instructions

Get Fast Support Here
http://centos-webpanel.com/support-services