Linux + Apache + MySQL + PHP

#navi(contents-page-name): No such page: DB

CONTENTS


LINKS


SSL

FreeBSDの場合

/usr/local/etc/apache2/ssl.conf

/etc/rc.conf

apache2ssl_enable=YES

Server Private Key

/usr/local/etc/apache2/ssl.key

# openssl genrsa -out server.key 1024

Server Certificate

/usr/local/etc/apache2/ssl.crt

bee# openssl req -new -key ../ssl.key/server.key -x509 -out server.crt
You are about to be asked to enter information that will be incorporated
into your certificate request.
What you are about to enter is what is called a Distinguished Name or a DN.
There are quite a few fields but you can leave some blank
For some fields there will be a default value,
If you enter '.', the field will be left blank.
-----
Country Name (2 letter code) [AU]:JP
State or Province Name (full name) [Some-State]:.
Locality Name (eg, city) []:.
Organization Name (eg, company) [Internet Widgits Pty Ltd]:.
Organizational Unit Name (eg, section) []:.
Common Name (eg, YOUR name) []:.
Email Address []:.

PHP

php-mode for emacs

FreeBSDの場合

# portinstall lang/php-mode.el

.emacs

(autoload 'php-mode "php-mode" "Mode for editing PHP source files")
(add-to-list 'auto-mode-alist '("\\.\\(inc\\|php[s34]?\\)" . php-mode))

トップ   新規 一覧 検索 最終更新   ヘルプ   最終更新のRSS