apache2 설정 - 리눅스 2014. 3. 30. 20:08
/리눅스
공유하기 |
<FilesMatch \.php$> SetHandler application/x-httpd-php </FilesMatch> <FilesMatch "\.ph(p[2-6]?|tml)$"> SetHandler application/x-httpd-php </FilesMatch> <FilesMatch "\.phps$"> SetHandler application/x-httpd-php-source </FilesMatch> RewriteEngine On RewriteRule (.*\.php)s$ $1 [H=application/x-httpd-php-source] DirectoryIndex index.html index.htm index.php index.php3 index.php4 index.php5 index.phtml index.cgi index.jsp <Directory "/usr/local/apache/cgi-bin"> AllowOverride All Options +ExecCGI Require all granted Order allow,deny Allow from all </Directory>
|
|
'리눅스' 카테고리의 다른 글
webalizer 설정 (0) | 2014.03.31 |
---|---|
MySQL, apache, PHP (0) | 2014.03.30 |
CentOS 6 릴리즈 (0) | 2011.10.22 |
[MySQL] 무한정 늘어나는 log-bin 파일 줄이기 (0) | 2011.01.22 |
SSH 포트 변경 (1) | 2010.11.09 |