<Directory /var/www/>
Options Indexes FollowSymLinks MultiViews +ExecCGI # ここと
DirectoryIndex index.php index.cgi # ここを追加。index.cgi はおまけ。
AddHandler cgi-script .cgi .pl # もし Perl (拡張子は .cgi か .pl)を有効にしたい場合はこの行を追加、「.php」はこの行に追記してはいけない(Internal Server Error となる)
AllowOverride None
Order allow,deny
allow from all
</Directory><Directory /var/www/>
Options Indexes FollowSymLinks MultiViews +ExecCGI # ここと
DirectoryIndex index.php index.cgi # ここを追加。index.cgi はおまけ。
AddHandler cgi-script .cgi .pl # もし Perl (拡張子は .cgi か .pl)を有効にしたい場合はこの行を追加、「.php」はこの行に追記してはいけない(Internal Server Error となる)
AllowOverride None
Order allow,deny
allow from all
</Directory>export http_proxy=https://your_proxy.com:8080/# . .bashrcexport http_proxy=https://your_proxy.com:8080/# . .bashrc# vi /etc/network/interfaces
auto lo
iface lo inet loopback
auto eth0
iface eth1 inet static
address 192.168.0.1
netmask 255.255.255.0
auto eth1
iface eth0 inet dhcp# /etc/inet.d/networking restart# vi /etc/network/interfaces
auto lo
iface lo inet loopback
auto eth0
iface eth1 inet static
address 192.168.0.1
netmask 255.255.255.0
auto eth1
iface eth0 inet dhcp# /etc/inet.d/networking restartあるドメインで運用されているトップのメールサーバ(ルートのメールサーバ、つまり外部と通信する大元のメールサーバのこと)を調べるには、次のようにコマンドを打てばよい。
nslookup -type=mx amazonaws.com
上の例では amazonaws.com のトップのメールサーバ、つまり Amazon Web Services(AWS)の MX レコードを調べている。preference = 10 などのフィールドは、そのサーバの(通信の)優先度を表す。値が等しい場合は優先度は同じ、値が大きくなるほど優先度は低くなる。
あるドメインで運用されているトップのメールサーバ(ルートのメールサーバ、つまり外部と通信する大元のメールサーバのこと)を調べるには、次のようにコマンドを打てばよい。
nslookup -type=mx amazonaws.com
上の例では amazonaws.com のトップのメールサーバ、つまり Amazon Web Services(AWS)の MX レコードを調べている。preference = 10 などのフィールドは、そのサーバの(通信の)優先度を表す。値が等しい場合は優先度は同じ、値が大きくなるほど優先度は低くなる。