|
網(wǎng)絡(luò)技術(shù)是從1990年代中期發(fā)展起來的新技術(shù),它把互聯(lián)網(wǎng)上分散的資源融為有機(jī)整體,實(shí)現(xiàn)資源的全面共享和有機(jī)協(xié)作,使人們能夠透明地使用資源的整體能力并按需獲取信息。資源包括高性能計(jì)算機(jī)、存儲資源、數(shù)據(jù)資源、信息資源、知識資源、專家資源、大型數(shù)據(jù)庫、網(wǎng)絡(luò)、傳感器等。 當(dāng)前的互聯(lián)網(wǎng)只限于信息共享,網(wǎng)絡(luò)則被認(rèn)為是互聯(lián)網(wǎng)發(fā)展的第三階段。 要讓apache防盜連接,首先要讓apache支持.htaccess客戶設(shè)置文件,還要增加mod_rewrite模塊。以下是我的編譯安裝過程。 1. 安裝apache增加mod_rewrite模塊 tar xfzv httpd-2.0.54.tar.gz cd httpd-2.0.54 ./configure --prefix=/usr/local/httpd --enable-module=most --enable-shared=max --enable-rewrite --enable-rewrite將od_rewrite模塊編譯進(jìn)來 make make install 查看apache編譯進(jìn)來的模塊 [root@TFP httpd-2.0.54]# /usr/local/httpd/bin/apachectl-l Compiled in modules: core.c mod_access.c //支持.htaccess文件 mod_auth.c mod_include.c mod_log_config.c mod_env.c mod_setenvif.c prefork.c http_core.c mod_mime.c mod_status.c mod_autoindex.c mod_asis.c mod_cgi.c mod_negotiation.c mod_dir.c mod_imap.c mod_actions.c mod_userdir.c mod_alias.c mod_rewrite.c //已經(jīng)將od_rewrite編譯進(jìn)來了 mod_so.c [root@TFP httpd-2.0.54]# 2.設(shè)置apache配置文件httpd.conf Options FollowSymLinks AllowOverride All 將None修改為All
NameVirtualHost 220.202.19.82 重啟Apache2服務(wù)器 將這個(gè)文件放到/home/down目錄下 網(wǎng)絡(luò)的神奇作用吸引著越來越多的用戶加入其中,正因如此,網(wǎng)絡(luò)的承受能力也面臨著越來越嚴(yán)峻的考驗(yàn)―從硬件上、軟件上、所用標(biāo)準(zhǔn)上......,各項(xiàng)技術(shù)都需要適時(shí)應(yīng)勢,對應(yīng)發(fā)展,這正是網(wǎng)絡(luò)迅速走向進(jìn)步的催化劑。 |
溫馨提示:喜歡本站的話,請收藏一下本站!