公路監理資料有償利用服務網- 首頁

文章推薦指數: 80 %
投票人數:10人

駕駛人與車輛查詢- 單筆查詢 · 歡迎使用電話語音轉帳系統(本分公司提供) · 繳納交通違規罰款:請撥電話:4121111(或4126666)轉用戶碼168# / 監理服務網連結 · 繳納汽車燃料費 ... Apache2UbuntuDefaultPage Itworks! Thisisthedefaultwelcomepageusedtotestthecorrect operationoftheApache2serverafterinstallationonUbuntusystems. ItisbasedontheequivalentpageonDebian,fromwhichtheUbuntuApache packagingisderived. Ifyoucanreadthispage,itmeansthattheApacheHTTPserverinstalledat thissiteisworkingproperly.Youshouldreplacethisfile(locatedat /var/www/html/index.html)beforecontinuingtooperateyourHTTPserver. Ifyouareanormaluserofthiswebsiteanddon'tknowwhatthispageis about,thisprobablymeansthatthesiteiscurrentlyunavailabledueto maintenance. Iftheproblempersists,pleasecontactthesite'sadministrator. ConfigurationOverview Ubuntu'sApache2defaultconfigurationisdifferentfromthe upstreamdefaultconfiguration,andsplitintoseveralfilesoptimizedfor interactionwithUbuntutools.Theconfigurationsystemis fullydocumentedin /usr/share/doc/apache2/README.Debian.gz.Refertothisforthefull documentation.Documentationforthewebserveritselfcanbe foundbyaccessingthemanualiftheapache2-doc packagewasinstalledonthisserver. TheconfigurationlayoutforanApache2webserverinstallationonUbuntusystemsisasfollows: /etc/apache2/ |--apache2.conf |`--ports.conf |--mods-enabled ||--*.load |`--*.conf |--conf-enabled |`--*.conf |--sites-enabled |`--*.conf apache2.confisthemainconfiguration file.Itputsthepiecestogetherbyincludingallremainingconfiguration fileswhenstartingupthewebserver. ports.confisalwaysincludedfromthe mainconfigurationfile.Itisusedtodeterminethelisteningportsfor incomingconnections,andthisfilecanbecustomizedanytime. Configurationfilesinthemods-enabled/, conf-enabled/andsites-enabled/directoriescontain particularconfigurationsnippetswhichmanagemodules,globalconfiguration fragments,orvirtualhostconfigurations,respectively. Theyareactivatedbysymlinkingavailable configurationfilesfromtheirrespective *-available/counterparts.Theseshouldbemanaged byusingourhelpers a2enmod, a2dismod, a2ensite, a2dissite, and a2enconf, a2disconf .Seetheirrespectivemanpagesfordetailedinformation. Thebinaryiscalledapache2.Duetotheuseof environmentvariables,inthedefaultconfiguration,apache2needstobe started/stoppedwith/etc/init.d/apache2orapache2ctl. Calling/usr/bin/apache2directlywillnotworkwiththe defaultconfiguration. DocumentRoots Bydefault,Ubuntudoesnotallowaccessthroughthewebbrowserto anyfileapartofthoselocatedin/var/www, public_html directories(whenenabled)and/usr/share(forweb applications).Ifyoursiteisusingawebdocumentroot locatedelsewhere(suchasin/srv)youmayneedtowhitelistyour documentrootdirectoryin/etc/apache2/apache2.conf. ThedefaultUbuntudocumentrootis/var/www/html.You canmakeyourownvirtualhostsunder/var/www.Thisisdifferent topreviousreleaseswhichprovidesbettersecurityoutofthebox. ReportingProblems Pleaseusetheubuntu-bugtooltoreportbugsinthe Apache2packagewithUbuntu.However,checkexisting bugreportsbeforereportinganewbug. Pleasereportbugsspecifictomodules(suchasPHPandothers) torespectivepackages,nottothewebserveritself.



請為這篇文章評分?