免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 2398 | 回复: 8
打印 上一主题 下一主题

[FreeBSD] 帮我看看apache的配置文件,还有就是我有个奇怪的问题。 [复制链接]

论坛徽章:
89
水瓶座
日期:2014-04-01 08:53:31天蝎座
日期:2014-04-01 08:53:53天秤座
日期:2014-04-01 08:54:02射手座
日期:2014-04-01 08:54:15子鼠
日期:2014-04-01 08:55:35辰龙
日期:2014-04-01 08:56:36未羊
日期:2014-04-01 08:56:27戌狗
日期:2014-04-01 08:56:13亥猪
日期:2014-04-01 08:56:02亥猪
日期:2014-04-08 08:38:58程序设计版块每日发帖之星
日期:2016-01-05 06:20:00程序设计版块每日发帖之星
日期:2016-01-07 06:20:00
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2012-07-11 22:02 |只看该作者 |倒序浏览
FreeBSD系统配置了mediawiki和phpbb3,现在有一个小小的问题,我没法在我的debian主机下面访问phpbb3,

我在我的windows主机下面都是一切正常,在debian下面访问phpbb3的时候会直接下载主页。奇怪了,不知道是什么原因???

但是我在debian主机下面是可以访问wikimedia的。

等我在冷静的看看配置文件,就准备去租vps了。

让板砖飞!随便拍!
  1. #
  2. # This is the main Apache HTTP server configuration file.  It contains the
  3. # configuration directives that give the server its instructions.
  4. # See <URL:http://httpd.apache.org/docs/2.2> for detailed information.
  5. # In particular, see
  6. # <URL:http://httpd.apache.org/docs/2.2/mod/directives.html>
  7. # for a discussion of each configuration directive.
  8. #
  9. # Do NOT simply read the instructions in here without understanding
  10. # what they do.  They're here only as hints or reminders.  If you are unsure
  11. # consult the online docs. You have been warned.  
  12. #
  13. # Configuration and logfile names: If the filenames you specify for many
  14. # of the server's control files begin with "/" (or "drive:/" for Win32), the
  15. # server will use that explicit path.  If the filenames do *not* begin
  16. # with "/", the value of ServerRoot is prepended -- so "/var/log/foo_log"
  17. # with ServerRoot set to "/usr/local" will be interpreted by the
  18. # server as "/usr/local//var/log/foo_log".

  19. #
  20. # ServerRoot: The top of the directory tree under which the server's
  21. # configuration, error, and log files are kept.
  22. #
  23. # Do not add a slash at the end of the directory path.  If you point
  24. # ServerRoot at a non-local disk, be sure to point the LockFile directive
  25. # at a local disk.  If you wish to share the same ServerRoot for multiple
  26. # httpd daemons, you will need to change at least LockFile and PidFile.
  27. #
  28. ServerRoot "/usr/local"

  29. #
  30. # Listen: Allows you to bind Apache to specific IP addresses and/or
  31. # ports, instead of the default. See also the <VirtualHost>
  32. # directive.
  33. #
  34. # Change this to Listen on specific IP addresses as shown below to
  35. # prevent Apache from glomming onto all bound IP addresses.
  36. #
  37. #Listen 12.34.56.78:80
  38. Listen 80

  39. #
  40. # Dynamic Shared Object (DSO) Support
  41. #
  42. # To be able to use the functionality of a module which was built as a DSO you
  43. # have to place corresponding `LoadModule' lines at this location so the
  44. # directives contained in it are actually available _before_ they are used.
  45. # Statically compiled modules (those listed by `httpd -l') do not need
  46. # to be loaded here.
  47. #
  48. # Example:
  49. # LoadModule foo_module modules/mod_foo.so
  50. #
  51. LoadModule authn_file_module libexec/apache22/mod_authn_file.so
  52. LoadModule authn_dbm_module libexec/apache22/mod_authn_dbm.so
  53. LoadModule authn_anon_module libexec/apache22/mod_authn_anon.so
  54. LoadModule authn_default_module libexec/apache22/mod_authn_default.so
  55. LoadModule authn_alias_module libexec/apache22/mod_authn_alias.so
  56. LoadModule authz_host_module libexec/apache22/mod_authz_host.so
  57. LoadModule authz_groupfile_module libexec/apache22/mod_authz_groupfile.so
  58. LoadModule authz_user_module libexec/apache22/mod_authz_user.so
  59. LoadModule authz_dbm_module libexec/apache22/mod_authz_dbm.so
  60. LoadModule authz_owner_module libexec/apache22/mod_authz_owner.so
  61. LoadModule authz_default_module libexec/apache22/mod_authz_default.so
  62. LoadModule auth_basic_module libexec/apache22/mod_auth_basic.so
  63. LoadModule auth_digest_module libexec/apache22/mod_auth_digest.so
  64. LoadModule file_cache_module libexec/apache22/mod_file_cache.so
  65. LoadModule cache_module libexec/apache22/mod_cache.so
  66. LoadModule disk_cache_module libexec/apache22/mod_disk_cache.so
  67. LoadModule dumpio_module libexec/apache22/mod_dumpio.so
  68. LoadModule reqtimeout_module libexec/apache22/mod_reqtimeout.so
  69. LoadModule include_module libexec/apache22/mod_include.so
  70. LoadModule filter_module libexec/apache22/mod_filter.so
  71. LoadModule charset_lite_module libexec/apache22/mod_charset_lite.so
  72. LoadModule deflate_module libexec/apache22/mod_deflate.so
  73. LoadModule log_config_module libexec/apache22/mod_log_config.so
  74. LoadModule logio_module libexec/apache22/mod_logio.so
  75. LoadModule env_module libexec/apache22/mod_env.so
  76. LoadModule mime_magic_module libexec/apache22/mod_mime_magic.so
  77. LoadModule cern_meta_module libexec/apache22/mod_cern_meta.so
  78. LoadModule expires_module libexec/apache22/mod_expires.so
  79. LoadModule headers_module libexec/apache22/mod_headers.so
  80. LoadModule usertrack_module libexec/apache22/mod_usertrack.so
  81. LoadModule unique_id_module libexec/apache22/mod_unique_id.so
  82. LoadModule setenvif_module libexec/apache22/mod_setenvif.so
  83. LoadModule version_module libexec/apache22/mod_version.so
  84. LoadModule ssl_module libexec/apache22/mod_ssl.so
  85. LoadModule mime_module libexec/apache22/mod_mime.so
  86. LoadModule dav_module libexec/apache22/mod_dav.so
  87. LoadModule status_module libexec/apache22/mod_status.so
  88. LoadModule autoindex_module libexec/apache22/mod_autoindex.so
  89. LoadModule asis_module libexec/apache22/mod_asis.so
  90. LoadModule info_module libexec/apache22/mod_info.so
  91. LoadModule cgi_module libexec/apache22/mod_cgi.so
  92. LoadModule dav_fs_module libexec/apache22/mod_dav_fs.so
  93. LoadModule vhost_alias_module libexec/apache22/mod_vhost_alias.so
  94. LoadModule negotiation_module libexec/apache22/mod_negotiation.so
  95. LoadModule dir_module libexec/apache22/mod_dir.so
  96. LoadModule imagemap_module libexec/apache22/mod_imagemap.so
  97. LoadModule actions_module libexec/apache22/mod_actions.so
  98. LoadModule speling_module libexec/apache22/mod_speling.so
  99. LoadModule userdir_module libexec/apache22/mod_userdir.so
  100. LoadModule alias_module libexec/apache22/mod_alias.so
  101. LoadModule rewrite_module libexec/apache22/mod_rewrite.so
  102. LoadModule php5_module        libexec/apache22/libphp5.so

  103. <IfModule !mpm_netware_module>
  104. <IfModule !mpm_winnt_module>
  105. #
  106. # If you wish httpd to run as a different user or group, you must run
  107. # httpd as root initially and it will switch.  
  108. #
  109. # User/Group: The name (or #number) of the user/group to run httpd as.
  110. # It is usually good practice to create a dedicated user and group for
  111. # running httpd, as with most system services.
  112. #
  113. User www
  114. Group www

  115. </IfModule>
  116. </IfModule>

  117. # 'Main' server configuration
  118. #
  119. # The directives in this section set up the values used by the 'main'
  120. # server, which responds to any requests that aren't handled by a
  121. # <VirtualHost> definition.  These values also provide defaults for
  122. # any <VirtualHost> containers you may define later in the file.
  123. #
  124. # All of these directives may appear inside <VirtualHost> containers,
  125. # in which case these default settings will be overridden for the
  126. # virtual host being defined.
  127. #

  128. #
  129. # ServerAdmin: Your address, where problems with the server should be
  130. # e-mailed.  This address appears on some server-generated pages, such
  131. # as error documents.  e.g. admin@your-domain.com
  132. #
  133. ServerAdmin you@example.com

  134. #
  135. # ServerName gives the name and port that the server uses to identify itself.
  136. # This can often be determined automatically, but we recommend you specify
  137. # it explicitly to prevent problems during startup.
  138. #
  139. # If your host doesn't have a registered DNS name, enter its IP address here.
  140. #
  141. ServerName www.open.org:80

  142. #
  143. # DocumentRoot: The directory out of which you will serve your
  144. # documents. By default, all requests are taken from this directory, but
  145. # symbolic links and aliases may be used to point to other locations.
  146. #
  147. DocumentRoot "/usr/local/www/apache22/data"

  148. #
  149. # Each directory to which Apache has access can be configured with respect
  150. # to which services and features are allowed and/or disabled in that
  151. # directory (and its subdirectories).
  152. #
  153. # First, we configure the "default" to be a very restrictive set of
  154. # features.  
  155. #
  156. <Directory />
  157.     AllowOverride None
  158.     Order deny,allow
  159.     Deny from all
  160. </Directory>

  161. #
  162. # Note that from this point forward you must specifically allow
  163. # particular features to be enabled - so if something's not working as
  164. # you might expect, make sure that you have specifically enabled it
  165. # below.
  166. #

  167. #
  168. # This should be changed to whatever you set DocumentRoot to.
  169. #
  170. <Directory "/usr/local/www/apache22/data">
  171.     #
  172.     # Possible values for the Options directive are "None", "All",
  173.     # or any combination of:
  174.     #   Indexes Includes FollowSymLinks SymLinksifOwnerMatch ExecCGI MultiViews
  175.     #
  176.     # Note that "MultiViews" must be named *explicitly* --- "Options All"
  177.     # doesn't give it to you.
  178.     #
  179.     # The Options directive is both complicated and important.  Please see
  180.     # http://httpd.apache.org/docs/2.2/mod/core.html#options
  181.     # for more information.
  182.     #
  183.     Options Indexes FollowSymLinks

  184.     #
  185.     # AllowOverride controls what directives may be placed in .htaccess files.
  186.     # It can be "All", "None", or any combination of the keywords:
  187.     #   Options FileInfo AuthConfig Limit
  188.     #
  189.     AllowOverride None

  190.     #
  191.     # Controls who can get stuff from this server.
  192.     #
  193.     Order allow,deny
  194.     Allow from all

  195. </Directory>

  196. #
  197. # DirectoryIndex: sets the file that Apache will serve if a directory
  198. # is requested.
  199. #
  200. <IfModule dir_module>
  201.     DirectoryIndex index.html
  202. </IfModule>

  203. #
  204. # The following lines prevent .htaccess and .htpasswd files from being
  205. # viewed by Web clients.
  206. #
  207. <FilesMatch "^\.ht">
  208.     Order allow,deny
  209.     Deny from all
  210.     Satisfy All
  211. </FilesMatch>

  212. #
  213. # ErrorLog: The location of the error log file.
  214. # If you do not specify an ErrorLog directive within a <VirtualHost>
  215. # container, error messages relating to that virtual host will be
  216. # logged here.  If you *do* define an error logfile for a <VirtualHost>
  217. # container, that host's errors will be logged there and not here.
  218. #
  219. ErrorLog "/var/log/httpd-error.log"

  220. #
  221. # LogLevel: Control the number of messages logged to the error_log.
  222. # Possible values include: debug, info, notice, warn, error, crit,
  223. # alert, emerg.
  224. #
  225. LogLevel warn

  226. <IfModule log_config_module>
  227.     #
  228.     # The following directives define some format nicknames for use with
  229.     # a CustomLog directive (see below).
  230.     #
  231.     LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" combined
  232.     LogFormat "%h %l %u %t \"%r\" %>s %b" common

  233.     <IfModule logio_module>
  234.       # You need to enable mod_logio.c to use %I and %O
  235.       LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\" %I %O" combinedio
  236.     </IfModule>

  237.     #
  238.     # The location and format of the access logfile (Common Logfile Format).
  239.     # If you do not define any access logfiles within a <VirtualHost>
  240.     # container, they will be logged here.  Contrariwise, if you *do*
  241.     # define per-<VirtualHost> access logfiles, transactions will be
  242.     # logged therein and *not* in this file.
  243.     #
  244.     #CustomLog "/var/log/httpd-access.log" common

  245.     #
  246.     # If you prefer a logfile with access, agent, and referer information
  247.     # (Combined Logfile Format) you can use the following directive.
  248.     #
  249.     CustomLog "/var/log/httpd-access.log" combined
  250. </IfModule>

  251. <IfModule alias_module>
  252.     #
  253.     # Redirect: Allows you to tell clients about documents that used to
  254.     # exist in your server's namespace, but do not anymore. The client
  255.     # will make a new request for the document at its new location.
  256.     # Example:
  257.     # Redirect permanent /foo http://www.example.com/bar

  258.     #
  259.     # Alias: Maps web paths into filesystem paths and is used to
  260.     # access content that does not live under the DocumentRoot.
  261.     # Example:
  262.     # Alias /webpath /full/filesystem/path
  263.     #
  264.     # If you include a trailing / on /webpath then the server will
  265.     # require it to be present in the URL.  You will also likely
  266.     # need to provide a <Directory> section to allow access to
  267.     # the filesystem path.

  268.     #
  269.     # ScriptAlias: This controls which directories contain server scripts.
  270.     # ScriptAliases are essentially the same as Aliases, except that
  271.     # documents in the target directory are treated as applications and
  272.     # run by the server when requested rather than as documents sent to the
  273.     # client.  The same rules about trailing "/" apply to ScriptAlias
  274.     # directives as to Alias.
  275.     #
  276.     ScriptAlias /cgi-bin/ "/usr/local/www/apache22/cgi-bin/"

  277. </IfModule>

  278. <IfModule cgid_module>
  279.     #
  280.     # ScriptSock: On threaded servers, designate the path to the UNIX
  281.     # socket used to communicate with the CGI daemon of mod_cgid.
  282.     #
  283.     #Scriptsock /var/run/cgisock
  284. </IfModule>

  285. #
  286. # "/usr/local/www/apache22/cgi-bin" should be changed to whatever your ScriptAliased
  287. # CGI directory exists, if you have that configured.
  288. #
  289. <Directory "/usr/local/www/apache22/cgi-bin">
  290.     AllowOverride None
  291.     Options None
  292.     Order allow,deny
  293.     Allow from all
  294. </Directory>

  295. #
  296. # DefaultType: the default MIME type the server will use for a document
  297. # if it cannot otherwise determine one, such as from filename extensions.
  298. # If your server contains mostly text or HTML documents, "text/plain" is
  299. # a good value.  If most of your content is binary, such as applications
  300. # or images, you may want to use "application/octet-stream" instead to
  301. # keep browsers from trying to display binary files as though they are
  302. # text.
  303. #
  304. DefaultType text/plain

  305. <IfModule mime_module>
  306.     #
  307.     # TypesConfig points to the file containing the list of mappings from
  308.     # filename extension to MIME-type.
  309.     #
  310.     TypesConfig etc/apache22/mime.types

  311.     #
  312.     # AddType allows you to add to or override the MIME configuration
  313.     # file specified in TypesConfig for specific file types.
  314.     #
  315.     #AddType application/x-gzip .tgz
  316.     #
  317.     # AddEncoding allows you to have certain browsers uncompress
  318.     # information on the fly. Note: Not all browsers support this.
  319.     #
  320.     #AddEncoding x-compress .Z
  321.     #AddEncoding x-gzip .gz .tgz
  322.     #
  323.     # If the AddEncoding directives above are commented-out, then you
  324.     # probably should define those extensions to indicate media types:
  325.     #
  326.     AddType application/x-compress .Z
  327.     AddType application/x-gzip .gz .tgz

  328.     #
  329.     # AddHandler allows you to map certain file extensions to "handlers":
  330.     # actions unrelated to filetype. These can be either built into the server
  331.     # or added with the Action directive (see below)
  332.     #
  333.     # To use CGI scripts outside of ScriptAliased directories:
  334.     # (You will also need to add "ExecCGI" to the "Options" directive.)
  335.     #
  336.     #AddHandler cgi-script .cgi

  337.     # For type maps (negotiated resources):
  338.     #AddHandler type-map var

  339.     #
  340.     # Filters allow you to process content before it is sent to the client.
  341.     #
  342.     # To parse .shtml files for server-side includes (SSI):
  343.     # (You will also need to add "Includes" to the "Options" directive.)
  344.     #
  345.     #AddType text/html .shtml
  346.     #AddOutputFilter INCLUDES .shtml
  347. </IfModule>

  348. #
  349. # The mod_mime_magic module allows the server to use various hints from the
  350. # contents of the file itself to determine its type.  The MIMEMagicFile
  351. # directive tells the module where the hint definitions are located.
  352. #
  353. #MIMEMagicFile etc/apache22/magic

  354. #
  355. # Customizable error responses come in three flavors:
  356. # 1) plain text 2) local redirects 3) external redirects
  357. #
  358. # Some examples:
  359. #ErrorDocument 500 "The server made a boo boo."
  360. #ErrorDocument 404 /missing.html
  361. #ErrorDocument 404 "/cgi-bin/missing_handler.pl"
  362. #ErrorDocument 402 http://www.example.com/subscription_info.html
  363. #

  364. #
  365. # MaxRanges: Maximum number of Ranges in a request before
  366. # returning the entire resource, or one of the special
  367. # values 'default', 'none' or 'unlimited'.
  368. # Default setting is to accept 200 Ranges.
  369. #MaxRanges unlimited

  370. #
  371. # EnableMMAP and EnableSendfile: On systems that support it,
  372. # memory-mapping or the sendfile syscall is used to deliver
  373. # files.  This usually improves server performance, but must
  374. # be turned off when serving from networked-mounted
  375. # filesystems or if support for these functions is otherwise
  376. # broken on your system.
  377. #
  378. #EnableMMAP off
  379. #EnableSendfile off

  380. # Supplemental configuration
  381. #
  382. # The configuration files in the etc/apache22/extra/ directory can be
  383. # included to add extra features or to modify the default configuration of
  384. # the server, or you may simply copy their contents here and change as
  385. # necessary.

  386. # Server-pool management (MPM specific)
  387. #Include etc/apache22/extra/httpd-mpm.conf

  388. # Multi-language error messages
  389. #Include etc/apache22/extra/httpd-multilang-errordoc.conf

  390. # Fancy directory listings
  391. #Include etc/apache22/extra/httpd-autoindex.conf

  392. # Language settings
  393. #Include etc/apache22/extra/httpd-languages.conf

  394. # User home directories
  395. #Include etc/apache22/extra/httpd-userdir.conf

  396. # Real-time info on requests and configuration
  397. #Include etc/apache22/extra/httpd-info.conf

  398. # Virtual hosts
  399. #Include etc/apache22/extra/httpd-vhosts.conf

  400. # Local access to the Apache HTTP Server Manual
  401. #Include etc/apache22/extra/httpd-manual.conf

  402. # Distributed authoring and versioning (WebDAV)
  403. #Include etc/apache22/extra/httpd-dav.conf

  404. # Various default settings
  405. #Include etc/apache22/extra/httpd-default.conf

  406. # Secure (SSL/TLS) connections
  407. #Include etc/apache22/extra/httpd-ssl.conf
  408. #
  409. # Note: The following must must be present to support
  410. #       starting without SSL on platforms with no /dev/random equivalent
  411. #       but a statically compiled-in mod_ssl.
  412. #
  413. <IfModule ssl_module>
  414. SSLRandomSeed startup builtin
  415. SSLRandomSeed connect builtin
  416. </IfModule>

  417. Include etc/apache22/Includes/*.conf

  418. AddType application/x-httpd-php .php
  419. AddType application/x-httpd-php-source .phps

  420. # new

  421. NameVirtualHost *:80

  422. # home page

  423. <VirtualHost *:80>
  424.         ServerName www.main.li
  425.         DocumentRoot "/usr/local/www/apache22/data"
  426. </VirtualHost>

  427. <Directory "/usr/local/www/data">
  428.         Options Indexes FollowSymLinks
  429.         DirectoryIndex index.php index.html
  430.         AllowOverride None
  431.         Order allow,deny
  432.         Allow from all
  433. </Directory>

  434. # wiki

  435. <VirtualHost *:80>
  436.         ServerName www.wiki.open.org
  437.         DocumentRoot "/usr/local/www/mediawiki"
  438. </VirtualHost>

  439. <Directory "/usr/local/www/mediawiki">
  440.         Options Indexes FollowSymLinks
  441.         DirectoryIndex index.php index.html
  442.         AllowOverride None
  443.         Order allow,deny
  444.         Allow from all
  445. </Directory>

  446. # bbs

  447. <VirtualHost *:80>
  448.         ServerName www.bbs.open.org
  449.         DocumentRoot "/usr/local/www/phpBB3"
  450. </VirtualHost>

  451. <Directory "/usr/local/www/phpBB3">
  452.         Options Indexes FollowSymLinks
  453.         DirectoryIndex index.php index.html
  454.         AllowOverride None
  455.         Order allow,deny
  456.         Allow from all
  457. </Directory>
复制代码

论坛徽章:
89
水瓶座
日期:2014-04-01 08:53:31天蝎座
日期:2014-04-01 08:53:53天秤座
日期:2014-04-01 08:54:02射手座
日期:2014-04-01 08:54:15子鼠
日期:2014-04-01 08:55:35辰龙
日期:2014-04-01 08:56:36未羊
日期:2014-04-01 08:56:27戌狗
日期:2014-04-01 08:56:13亥猪
日期:2014-04-01 08:56:02亥猪
日期:2014-04-08 08:38:58程序设计版块每日发帖之星
日期:2016-01-05 06:20:00程序设计版块每日发帖之星
日期:2016-01-07 06:20:00
2 [报告]
发表于 2012-07-11 22:04 |只看该作者
睡觉了,累了。 :wink:

怀念老P,你还好吗?我都会架网站了。

论坛徽章:
13
15-16赛季CBA联赛之同曦
日期:2016-01-28 19:52:032015亚冠之北京国安
日期:2015-10-07 14:28:19NBA常规赛纪念章
日期:2015-05-04 22:32:03处女座
日期:2015-01-15 19:45:44卯兔
日期:2014-10-28 16:17:14白羊座
日期:2014-05-24 15:10:46寅虎
日期:2014-05-10 09:50:35白羊座
日期:2014-03-12 20:52:17午马
日期:2014-03-01 08:37:27射手座
日期:2014-02-19 19:26:54子鼠
日期:2013-11-30 09:03:56狮子座
日期:2013-09-08 08:37:52
3 [报告]
发表于 2012-07-12 08:47 |只看该作者
为什么不用nginx pgsql

论坛徽章:
89
水瓶座
日期:2014-04-01 08:53:31天蝎座
日期:2014-04-01 08:53:53天秤座
日期:2014-04-01 08:54:02射手座
日期:2014-04-01 08:54:15子鼠
日期:2014-04-01 08:55:35辰龙
日期:2014-04-01 08:56:36未羊
日期:2014-04-01 08:56:27戌狗
日期:2014-04-01 08:56:13亥猪
日期:2014-04-01 08:56:02亥猪
日期:2014-04-08 08:38:58程序设计版块每日发帖之星
日期:2016-01-05 06:20:00程序设计版块每日发帖之星
日期:2016-01-07 06:20:00
4 [报告]
发表于 2012-07-12 08:51 |只看该作者
只会用点简单的apache,而且动态的网页似乎是apache比较好。

pgsql也考虑过,但是mediawiki似乎对这个支持不太好(文档上说某些功能不支持),对mysql的支持倒是很好。

论坛徽章:
13
15-16赛季CBA联赛之同曦
日期:2016-01-28 19:52:032015亚冠之北京国安
日期:2015-10-07 14:28:19NBA常规赛纪念章
日期:2015-05-04 22:32:03处女座
日期:2015-01-15 19:45:44卯兔
日期:2014-10-28 16:17:14白羊座
日期:2014-05-24 15:10:46寅虎
日期:2014-05-10 09:50:35白羊座
日期:2014-03-12 20:52:17午马
日期:2014-03-01 08:37:27射手座
日期:2014-02-19 19:26:54子鼠
日期:2013-11-30 09:03:56狮子座
日期:2013-09-08 08:37:52
5 [报告]
发表于 2012-07-12 08:59 |只看该作者
本帖最后由 ulovko 于 2012-07-12 09:01 编辑
Is PostgreSQL a good choice for MediaWiki?

Wikipedia uses MySQL so MediaWiki gets more testing on MySQL than PostgreSQL. While support for PostgreSQL is maintained by volunteers, most core functionality is working.

MediaWiki database migration
FROM:  [url=http://www.mediawiki.org/wiki/ManualostgreSQL]http://www.mediawiki.org/wiki/ManualostgreSQL[/url]

论坛徽章:
89
水瓶座
日期:2014-04-01 08:53:31天蝎座
日期:2014-04-01 08:53:53天秤座
日期:2014-04-01 08:54:02射手座
日期:2014-04-01 08:54:15子鼠
日期:2014-04-01 08:55:35辰龙
日期:2014-04-01 08:56:36未羊
日期:2014-04-01 08:56:27戌狗
日期:2014-04-01 08:56:13亥猪
日期:2014-04-01 08:56:02亥猪
日期:2014-04-08 08:38:58程序设计版块每日发帖之星
日期:2016-01-05 06:20:00程序设计版块每日发帖之星
日期:2016-01-07 06:20:00
6 [报告]
发表于 2012-07-12 09:02 |只看该作者
ulovko 发表于 2012-07-12 08:59
FROM:  http://www.mediawiki.org/wiki/ManualostgreSQL


对对,我当时看的好像也是这段。

论坛徽章:
89
水瓶座
日期:2014-04-01 08:53:31天蝎座
日期:2014-04-01 08:53:53天秤座
日期:2014-04-01 08:54:02射手座
日期:2014-04-01 08:54:15子鼠
日期:2014-04-01 08:55:35辰龙
日期:2014-04-01 08:56:36未羊
日期:2014-04-01 08:56:27戌狗
日期:2014-04-01 08:56:13亥猪
日期:2014-04-01 08:56:02亥猪
日期:2014-04-08 08:38:58程序设计版块每日发帖之星
日期:2016-01-05 06:20:00程序设计版块每日发帖之星
日期:2016-01-07 06:20:00
7 [报告]
发表于 2012-07-12 21:44 |只看该作者
搞定了,我只是删除了浏览器的历史记录,然后就搞定了。

论坛徽章:
89
水瓶座
日期:2014-04-01 08:53:31天蝎座
日期:2014-04-01 08:53:53天秤座
日期:2014-04-01 08:54:02射手座
日期:2014-04-01 08:54:15子鼠
日期:2014-04-01 08:55:35辰龙
日期:2014-04-01 08:56:36未羊
日期:2014-04-01 08:56:27戌狗
日期:2014-04-01 08:56:13亥猪
日期:2014-04-01 08:56:02亥猪
日期:2014-04-08 08:38:58程序设计版块每日发帖之星
日期:2016-01-05 06:20:00程序设计版块每日发帖之星
日期:2016-01-07 06:20:00
8 [报告]
发表于 2012-07-12 21:44 |只看该作者

论坛徽章:
89
水瓶座
日期:2014-04-01 08:53:31天蝎座
日期:2014-04-01 08:53:53天秤座
日期:2014-04-01 08:54:02射手座
日期:2014-04-01 08:54:15子鼠
日期:2014-04-01 08:55:35辰龙
日期:2014-04-01 08:56:36未羊
日期:2014-04-01 08:56:27戌狗
日期:2014-04-01 08:56:13亥猪
日期:2014-04-01 08:56:02亥猪
日期:2014-04-08 08:38:58程序设计版块每日发帖之星
日期:2016-01-05 06:20:00程序设计版块每日发帖之星
日期:2016-01-07 06:20:00
9 [报告]
发表于 2012-07-13 08:55 |只看该作者
本帖最后由 fender0107401 于 2012-07-13 08:55 编辑

顶楼的配置文件不是很好,别拿去用,昨天看了看apache的文档,发现还是有些问题的。
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP