sudo nano /etc/apache2/sites-enabled/000-default.conf
<Directory /var/www>
Options Indexes FollowSymLinks MultiViews
AllowOverride None
Order allow,deny
allow from all
Options +ExecCGI
AddHandler cgi-script .cgi .py
</Directory>
'Computer > Python' 카테고리의 다른 글
Selenium (0) | 2022.06.07 |
---|---|
SQLite3 (0) | 2021.03.20 |
flask 플라스크 (0) | 2021.03.01 |
Sqlite3 (0) | 2020.04.24 |
Python Outline (0) | 2014.01.04 |