Nginx + CodeIgniter 참고 Getting Nginx + PHP5 + PHP-FPM + CodeIgniter to work on Debian Squeeze location / { # Check if a file exists, or route it to index.php. try_files $uri $uri/ /index.php; } if (!-e $request_filename ) { rewrite ^(.*)$ /index.php last; } lang/php 2013.01.25
가상호스트 mod_rewrite 및 gzip 설정 성능 향상 개발 방법 ServerAdmin username@email.com DocumentRoot /home/user/www ServerName localhost FileETag MTime Size AllowOverride All Order deny,allow Allow from all RewriteEngine On php_flag session.auto_start ON RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^(.*)$ /index.php/$1 [L] AddOutputFilterByType DEFLATE text/css text/html application/x-javascript appli.. lang/php 2010.09.14