본문 바로가기

Linux

.phps 보여주기

vi /etc/apache2/mods-available/php5.conf

에서



<FilesMatch ".+\.phps$">

    SetHandler application/x-httpd-php-source

    # Deny access to raw php sources by default

    # To re-enable it's recommended to enable access to the files

    # only in specific virtual host or directory

    Order Deny,Allow

    Deny from all

</FilesMatch>


이부분 전부 주석처리