버추얼서버로 확장자 없애기
Server/Apache2016. 8. 7. 13:10
<VirtualHost *:80>
ServerAdmin my-email-id
ServerName abc.com
DocumentRoot /var/www/sites/foo/
<Directory /var/www/sites/foo/>
Options +FollowSymLinks +MultiViews +Indexes
DirectoryIndex index.php
AddType application/x-httpd-php .php
</Directory>
</VirtualHost>
참고 URL -
http://blog.goooood.net/281
'Server > Apache' 카테고리의 다른 글
아파치에서 404 에러 띄우기 (0) | 2023.11.28 |
---|---|
특정 파일(PHP)의 특정 폴더 실행 막기 (Apache Ver) (0) | 2016.08.07 |