error

    [python] mod_wsgi 설치시 error: Python.h: No such file or directory

    WSGI(Web Server Gateway Interface)란? => 서버와 웹 애플리케이션의 인터페이스를 위한 파이선 프레임워크다. 즉, 웹서버(Apache)와 Flask 어플리케이션을 연동해주기 위한 프레임워크이다. - 다운을 받고 $ wget https://github.com/GrahamDumpleton/mod_wsgi/archive/3.5.tar.gz - 압축을 푼 다음 $ tar -zxvf 3.5.tar.gz - 폴더에 들어가서 $ cd mod_wsgi-3.5 - 아파치의 빌드툴인 apxs의 경로를 설정해주고 - 필자와 같이 기본 python 버전을 사용하지 않을꺼라면 꼭 python경로를 설정해줘야 한다! (중요) $ ./configure --with-apxs=/~~~/apps/apache/..