免费注册 查看新帖 |

Chinaunix

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

[Web] 求助 - Apache运行cgi出项错误 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2007-10-29 20:07 |只看该作者 |倒序浏览
index.html文件
~~~~~~~~~~~~~~
<FORM ACTION='/cgi-bin/mult.pl'>
<INPUT TYPE='SUBMIT' VALUE='确定'>
</FORM>



mult.pl文件
~~~~~~~~~~~

#!/usr/bin/perl


print "Content-type: text/html\n\n";
print "Hello, World.";



httpd.conf文件相关内容
~~~~~~~~~~~~~~~~~~~~~~

....
AddHandler cgi-script .cgi .pl
....
ScriptAlias /cgi-bin/ "/var/www/html/cgi-bin/"
....
<Directory "/var/www/html/cgi-bin/">
    AllowOverride None
    Options +ExecCGI
    Order allow,deny
    Allow from all
</Directory>
....


运行步骤:
1. 浏览器输入http://127.0.0.1/
2. 点击"确定"按钮

显示错误:

Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, root@localhost and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.


cat /var/log/httpd/error_log
~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[Mon Oct 29 20:38:42 2007] [error] [client 127.0.0.1] Premature end of script headers: mult.pl, referer: http://127.0.0.1/


搞了半天不知道错在哪里, 请高手帮忙.

[ 本帖最后由 sihan 于 2007-10-29 20:38 编辑 ]

论坛徽章:
0
2 [报告]
发表于 2007-10-30 09:51 |只看该作者
原帖由 harbinbeer 于 2007-10-30 01:50 发表
权限问题


我运行下面的命令, 可是还是不行. 错误同上.

chmod 755 /var
chmod 755 /var/www
chmod 755 /var/www/html
chmod 755 /var/www/cgi-bin/
chmod 755 /var/www/cgi-bin/*
chmod 755 /var/www/html/index.html

论坛徽章:
0
3 [报告]
发表于 2007-10-30 15:21 |只看该作者
检查文件开头一句是否以#!开头,不能有空格
perl mult.pl执行正常吗?

[ 本帖最后由 xuki 于 2007-10-30 15:23 编辑 ]

论坛徽章:
0
4 [报告]
发表于 2007-10-30 21:25 |只看该作者
原帖由 xuki 于 2007-10-30 15:21 发表
检查文件开头一句是否以#!开头,不能有空格
perl mult.pl执行正常吗?


头文件开头一句应该没有空格,

perl mult.pl可以正常执行:
  1. [root@sihan cgi-bin]# perl mult.pl
  2. Content-type: text/html

  3. Hello, world![root@sihan cgi-bin]#
复制代码

论坛徽章:
0
5 [报告]
发表于 2007-10-31 10:24 |只看该作者
试试http://127.0.0.1/cgi-bin/mult.pl


如何可以的话是不是你action路径的问题?

论坛徽章:
0
6 [报告]
发表于 2007-10-31 12:57 |只看该作者

回复 #6 linuxnextyear 的帖子

不行, 直接在浏览器里输入http://127.0.0.1/cgi-bin/mult.pl
还是这个错误

  1. Internal Server Error

  2. The server encountered an internal error or misconfiguration and was unable to complete your request.

  3. Please contact the server administrator, root@localhost and inform them of the time the error occurred, and anything you might have done that may have caused the error.

  4. More information about this error may be available in the server error log.
复制代码


你说的action路径是什么意思?

论坛徽章:
62
2016科比退役纪念章
日期:2016-06-28 17:45:06奥兰多魔术
日期:2015-05-04 22:47:40菠菜神灯
日期:2015-05-04 22:35:07菠菜神灯
日期:2015-05-04 22:35:02NBA季后赛大富翁
日期:2015-05-04 22:33:34NBA常规赛纪念章
日期:2015-05-04 22:32:032015年亚洲杯纪念徽章
日期:2015-04-14 16:54:452015年亚洲杯之朝鲜
日期:2015-03-19 23:03:16明尼苏达森林狼
日期:2015-03-16 21:51:152015小元宵徽章
日期:2015-03-06 15:57:202015年迎新春徽章
日期:2015-03-04 09:55:282015年辞旧岁徽章
日期:2015-03-03 16:54:15
7 [报告]
发表于 2007-10-31 13:41 |只看该作者
那剩下的可能, 就是 你的perl 不是安装 在  /usr/bin/perl

试试whereis perl

论坛徽章:
0
8 [报告]
发表于 2007-10-31 22:19 |只看该作者

回复 #8 北京野狼 的帖子

不会啊, 就是在这个目录.

[sihan@sihan ~]$ whereis perl
perl: /usr/bin/perl /usr/share/man/man1/perl.1.gz

我附上我的httpd.conf文件, 帮忙看看

  1. ServerTokens OS
  2. ServerRoot "/etc/httpd"

  3. PidFile run/httpd.pid

  4. Timeout 120

  5. KeepAlive Off

  6. MaxKeepAliveRequests 100

  7. KeepAliveTimeout 15

  8. <IfModule prefork.c>
  9. StartServers       8
  10. MinSpareServers    5
  11. MaxSpareServers   20
  12. ServerLimit      256
  13. MaxClients       256
  14. MaxRequestsPerChild  4000
  15. </IfModule>

  16. <IfModule worker.c>
  17. StartServers         2
  18. MaxClients         150
  19. MinSpareThreads     25
  20. MaxSpareThreads     75
  21. ThreadsPerChild     25
  22. MaxRequestsPerChild  0
  23. </IfModule>

  24. Listen 127.0.0.1:80

  25. LoadModule access_module modules/mod_access.so
  26. LoadModule auth_module modules/mod_auth.so
  27. LoadModule auth_anon_module modules/mod_auth_anon.so
  28. LoadModule auth_dbm_module modules/mod_auth_dbm.so
  29. LoadModule auth_digest_module modules/mod_auth_digest.so
  30. LoadModule ldap_module modules/mod_ldap.so
  31. LoadModule auth_ldap_module modules/mod_auth_ldap.so
  32. LoadModule include_module modules/mod_include.so
  33. LoadModule log_config_module modules/mod_log_config.so
  34. LoadModule logio_module modules/mod_logio.so
  35. LoadModule env_module modules/mod_env.so
  36. LoadModule mime_magic_module modules/mod_mime_magic.so
  37. LoadModule cern_meta_module modules/mod_cern_meta.so
  38. LoadModule expires_module modules/mod_expires.so
  39. LoadModule deflate_module modules/mod_deflate.so
  40. LoadModule headers_module modules/mod_headers.so
  41. LoadModule usertrack_module modules/mod_usertrack.so
  42. LoadModule setenvif_module modules/mod_setenvif.so
  43. LoadModule mime_module modules/mod_mime.so
  44. LoadModule dav_module modules/mod_dav.so
  45. LoadModule status_module modules/mod_status.so
  46. LoadModule autoindex_module modules/mod_autoindex.so
  47. LoadModule asis_module modules/mod_asis.so
  48. LoadModule info_module modules/mod_info.so
  49. LoadModule dav_fs_module modules/mod_dav_fs.so
  50. LoadModule vhost_alias_module modules/mod_vhost_alias.so
  51. LoadModule negotiation_module modules/mod_negotiation.so
  52. LoadModule dir_module modules/mod_dir.so
  53. LoadModule actions_module modules/mod_actions.so
  54. LoadModule speling_module modules/mod_speling.so
  55. LoadModule userdir_module modules/mod_userdir.so
  56. LoadModule alias_module modules/mod_alias.so
  57. LoadModule rewrite_module modules/mod_rewrite.so
  58. LoadModule proxy_module modules/mod_proxy.so
  59. LoadModule proxy_ftp_module modules/mod_proxy_ftp.so
  60. LoadModule proxy_http_module modules/mod_proxy_http.so
  61. LoadModule proxy_connect_module modules/mod_proxy_connect.so
  62. LoadModule cache_module modules/mod_cache.so
  63. LoadModule suexec_module modules/mod_suexec.so
  64. LoadModule disk_cache_module modules/mod_disk_cache.so
  65. LoadModule file_cache_module modules/mod_file_cache.so
  66. LoadModule mem_cache_module modules/mod_mem_cache.so
  67. LoadModule cgi_module modules/mod_cgi.so

  68. Include conf.d/*.conf

  69. User apache
  70. Group apache

  71. ServerAdmin root@localhost

  72. ServerName localhost:80

  73. UseCanonicalName Off

  74. DocumentRoot "/var/www/html"

  75. <Directory "/var/www/html/lxr/http">
  76.     Options All
  77.     AllowOverride All
  78. </Directory>

  79. <Directory />
  80.     Options FollowSymLinks
  81.     AllowOverride None
  82. </Directory>

  83. <Directory "/var/www/html">
  84.     Options Indexes FollowSymLinks ExecCGI
  85.     AllowOverride None
  86.     Order allow,deny
  87.     Allow from all
  88. </Directory>

  89. <IfModule mod_userdir.c>
  90.     UserDir disable
  91. </IfModule>

  92. <Directory /var/www/html>
  93.     AllowOverride FileInfo AuthConfig Limit
  94.     Options MultiViews Indexes SymLinksIfOwnerMatch IncludesNoExec
  95.     <Limit GET POST OPTIONS>
  96.         Order allow,deny
  97.         Allow from all
  98.     </Limit>
  99.     <LimitExcept GET POST OPTIONS>
  100.         Order deny,allow
  101.         Deny from all
  102.     </LimitExcept>
  103. </Directory>

  104. DirectoryIndex index.html index.htm index.html.var index.php index.php3 index.php4

  105. AccessFileName .htaccess

  106. <Files ~ "^\.ht">
  107.     Order allow,deny
  108.     Deny from all
  109. </Files>

  110. TypesConfig /etc/mime.types

  111. DefaultType text/plain

  112. <IfModule mod_mime_magic.c>
  113.     MIMEMagicFile conf/magic
  114. </IfModule>

  115. HostnameLookups Off

  116. ErrorLog logs/error_log

  117. LogLevel warn

  118. LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" combined
  119. LogFormat "%h %l %u %t \"%r\" %>s %b" common
  120. LogFormat "%{Referer}i -> %U" referer
  121. LogFormat "%{User-agent}i" agent

  122. CustomLog logs/access_log combined

  123. ServerSignature On

  124. Alias /icons/ "/var/www/icons/"

  125. <Directory "/var/www/icons">
  126.     Options Indexes MultiViews
  127.     AllowOverride None
  128.     Order allow,deny
  129.     Allow from all
  130. </Directory>

  131. <IfModule mod_dav_fs.c>
  132.     # Location of the WebDAV lock database.
  133.     DAVLockDB /var/lib/dav/lockdb
  134. </IfModule>

  135. ScriptAlias /cgi-bin/ "/var/www/cgi-bin/"

  136. <Directory "/var/www/cgi-bin">
  137.     AllowOverride None
  138.     Options ExecCGI
  139.     Order allow,deny
  140.     Allow from all
  141. </Directory>

  142. IndexOptions FancyIndexing VersionSort NameWidth=*

  143. AddIconByEncoding (CMP,/icons/compressed.gif) x-compress x-gzip

  144. AddIconByType (TXT,/icons/text.gif) text/*
  145. AddIconByType (IMG,/icons/image2.gif) image/*
  146. AddIconByType (SND,/icons/sound2.gif) audio/*
  147. AddIconByType (VID,/icons/movie.gif) video/*

  148. AddIcon /icons/binary.gif .bin .exe
  149. AddIcon /icons/binhex.gif .hqx
  150. AddIcon /icons/tar.gif .tar
  151. AddIcon /icons/world2.gif .wrl .wrl.gz .vrml .vrm .iv
  152. AddIcon /icons/compressed.gif .Z .z .tgz .gz .zip
  153. AddIcon /icons/a.gif .ps .ai .eps
  154. AddIcon /icons/layout.gif .html .shtml .htm .pdf
  155. AddIcon /icons/text.gif .txt
  156. AddIcon /icons/c.gif .c
  157. AddIcon /icons/p.gif .pl .py
  158. AddIcon /icons/f.gif .for
  159. AddIcon /icons/dvi.gif .dvi
  160. AddIcon /icons/uuencoded.gif .uu
  161. AddIcon /icons/script.gif .conf .sh .shar .csh .ksh .tcl
  162. AddIcon /icons/tex.gif .tex
  163. AddIcon /icons/bomb.gif core

  164. AddIcon /icons/back.gif ..
  165. AddIcon /icons/hand.right.gif README
  166. AddIcon /icons/folder.gif ^^DIRECTORY^^
  167. AddIcon /icons/blank.gif ^^BLANKICON^^

  168. DefaultIcon /icons/unknown.gif

  169. ReadmeName README.html
  170. HeaderName HEADER.html

  171. IndexIgnore .??* *~ *# HEADER* README* RCS CVS *,v *,t

  172. AddLanguage ca .ca
  173. AddLanguage cs .cz .cs
  174. AddLanguage da .dk
  175. AddLanguage de .de
  176. AddLanguage el .el
  177. AddLanguage en .en
  178. AddLanguage eo .eo
  179. AddLanguage es .es
  180. AddLanguage et .et
  181. AddLanguage fr .fr
  182. AddLanguage he .he
  183. AddLanguage hr .hr
  184. AddLanguage it .it
  185. AddLanguage ja .ja
  186. AddLanguage ko .ko
  187. AddLanguage ltz .ltz
  188. AddLanguage nl .nl
  189. AddLanguage nn .nn
  190. AddLanguage no .no
  191. AddLanguage pl .po
  192. AddLanguage pt .pt
  193. AddLanguage pt-BR .pt-br
  194. AddLanguage ru .ru
  195. AddLanguage sv .sv
  196. AddLanguage zh-CN .zh-cn
  197. AddLanguage zh-TW .zh-tw

  198. #
  199. # LanguagePriority allows you to give precedence to some languages
  200. # in case of a tie during content negotiation.
  201. #
  202. # Just list the languages in decreasing order of preference. We have
  203. # more or less alphabetized them here. You probably want to change this.
  204. #
  205. LanguagePriority en ca cs da de el eo es et fr he hr it ja ko ltz nl nn no pl pt pt-BR ru sv zh-CN zh-TW

  206. #
  207. # ForceLanguagePriority allows you to serve a result page rather than
  208. # MULTIPLE CHOICES (Prefer) [in case of a tie] or NOT ACCEPTABLE (Fallback)
  209. # [in case no accepted languages matched the available variants]
  210. #
  211. ForceLanguagePriority Prefer Fallback

  212. #
  213. # Specify a default charset for all content served; this enables
  214. # interpretation of all content as UTF-8 by default.  To use the
  215. # default browser choice (ISO-8859-1), or to allow the META tags
  216. # in HTML content to override this choice, comment out this
  217. # directive:
  218. #
  219. AddDefaultCharset UTF-8

  220. #
  221. # AddType allows you to add to or override the MIME configuration
  222. # file mime.types for specific file types.
  223. #
  224. #AddType application/x-tar .tgz

  225. #
  226. # AddEncoding allows you to have certain browsers uncompress
  227. # information on the fly. Note: Not all browsers support this.
  228. # Despite the name similarity, the following Add* directives have nothing
  229. # to do with the FancyIndexing customization directives above.
  230. #
  231. #AddEncoding x-compress .Z
  232. #AddEncoding x-gzip .gz .tgz

  233. # If the AddEncoding directives above are commented-out, then you
  234. # probably should define those extensions to indicate media types:
  235. #
  236. AddType application/x-compress .Z
  237. AddType application/x-gzip .gz .tgz

  238. #
  239. # AddHandler allows you to map certain file extensions to "handlers":
  240. # actions unrelated to filetype. These can be either built into the server
  241. # or added with the Action directive (see below)
  242. #
  243. # To use CGI scripts outside of ScriptAliased directories:
  244. # (You will also need to add "ExecCGI" to the "Options" directive.)
  245. #
  246. AddHandler cgi-script .cgi .pl

  247. #
  248. # For files that include their own HTTP headers:
  249. #
  250. #AddHandler send-as-is asis

  251. #
  252. # For type maps (negotiated resources):
  253. # (This is enabled by default to allow the Apache "It Worked" page
  254. #  to be distributed in multiple languages.)
  255. #
  256. #AddHandler type-map var

  257. #
  258. # Filters allow you to process content before it is sent to the client.
  259. #
  260. # To parse .shtml files for server-side includes (SSI):
  261. # (You will also need to add "Includes" to the "Options" directive.)
  262. #
  263. AddType text/html .shtml
  264. AddOutputFilter INCLUDES .shtml

  265. #
  266. # Action lets you define media types that will execute a script whenever
  267. # a matching file is called. This eliminates the need for repeated URL
  268. # pathnames for oft-used CGI file processors.
  269. # Format: Action media/type /cgi-script/location
  270. # Format: Action handler-name /cgi-script/location
  271. #

  272. #
  273. # Customizable error responses come in three flavors:
  274. # 1) plain text 2) local redirects 3) external redirects
  275. #
  276. # Some examples:
  277. #ErrorDocument 500 "The server made a boo boo."
  278. #ErrorDocument 404 /missing.html
  279. #ErrorDocument 404 "/cgi-bin/missing_handler.pl"
  280. #ErrorDocument 402 [url]http://www.example.com/subscription_info.html[/url]
  281. #

  282. #
  283. # Putting this all together, we can internationalize error responses.
  284. #
  285. # We use Alias to redirect any /error/HTTP_<error>.html.var response to
  286. # our collection of by-error message multi-language collections.  We use
  287. # includes to substitute the appropriate text.
  288. #
  289. # You can modify the messages' appearance without changing any of the
  290. # default HTTP_<error>.html.var files by adding the line:
  291. #
  292. #   Alias /error/include/ "/your/include/path/"
  293. #
  294. # which allows you to create your own set of files by starting with the
  295. # /var/www/error/include/ files and
  296. # copying them to /your/include/path/, even on a per-VirtualHost basis.
  297. #

  298. Alias /error/ "/var/www/error/"

  299. <IfModule mod_negotiation.c>
  300. <IfModule mod_include.c>
  301.     <Directory "/var/www/error">
  302.         AllowOverride None
  303.         Options IncludesNoExec
  304.         AddOutputFilter Includes html
  305.         AddHandler type-map var
  306.         Order allow,deny
  307.         Allow from all
  308.         LanguagePriority en es de fr
  309.         ForceLanguagePriority Prefer Fallback
  310.     </Directory>

  311. #    ErrorDocument 400 /error/HTTP_BAD_REQUEST.html.var
  312. #    ErrorDocument 401 /error/HTTP_UNAUTHORIZED.html.var
  313. #    ErrorDocument 403 /error/HTTP_FORBIDDEN.html.var
  314. #    ErrorDocument 404 /error/HTTP_NOT_FOUND.html.var
  315. #    ErrorDocument 405 /error/HTTP_METHOD_NOT_ALLOWED.html.var
  316. #    ErrorDocument 408 /error/HTTP_REQUEST_TIME_OUT.html.var
  317. #    ErrorDocument 410 /error/HTTP_GONE.html.var
  318. #    ErrorDocument 411 /error/HTTP_LENGTH_REQUIRED.html.var
  319. #    ErrorDocument 412 /error/HTTP_PRECONDITION_FAILED.html.var
  320. #    ErrorDocument 413 /error/HTTP_REQUEST_ENTITY_TOO_LARGE.html.var
  321. #    ErrorDocument 414 /error/HTTP_REQUEST_URI_TOO_LARGE.html.var
  322. #    ErrorDocument 415 /error/HTTP_UNSUPPORTED_MEDIA_TYPE.html.var
  323. #    ErrorDocument 500 /error/HTTP_INTERNAL_SERVER_ERROR.html.var
  324. #    ErrorDocument 501 /error/HTTP_NOT_IMPLEMENTED.html.var
  325. #    ErrorDocument 502 /error/HTTP_BAD_GATEWAY.html.var
  326. #    ErrorDocument 503 /error/HTTP_SERVICE_UNAVAILABLE.html.var
  327. #    ErrorDocument 506 /error/HTTP_VARIANT_ALSO_VARIES.html.var

  328. </IfModule>
  329. </IfModule>

  330. #
  331. # The following directives modify normal HTTP response behavior to
  332. # handle known problems with browser implementations.
  333. #
  334. BrowserMatch "Mozilla/2" nokeepalive
  335. BrowserMatch "MSIE 4\.0b2;" nokeepalive downgrade-1.0 force-response-1.0
  336. BrowserMatch "RealPlayer 4\.0" force-response-1.0
  337. BrowserMatch "Java/1\.0" force-response-1.0
  338. BrowserMatch "JDK/1\.0" force-response-1.0

  339. #
  340. # The following directive disables redirects on non-GET requests for
  341. # a directory that does not include the trailing slash.  This fixes a
  342. # problem with Microsoft WebFolders which does not appropriately handle
  343. # redirects for folders with DAV methods.
  344. # Same deal with Apple's DAV filesystem and Gnome VFS support for DAV.
  345. #
  346. BrowserMatch "Microsoft Data Access Internet Publishing Provider" redirect-carefully
  347. BrowserMatch "^WebDrive" redirect-carefully
  348. BrowserMatch "^WebDAVFS/1.[012]" redirect-carefully
  349. BrowserMatch "^gnome-vfs" redirect-carefully

  350. #
  351. # Allow server status reports generated by mod_status,
  352. # with the URL of http://servername/server-status
  353. # Change the ".example.com" to match your domain to enable.
  354. #
  355. #<Location /server-status>
  356. #    SetHandler server-status
  357. #    Order deny,allow
  358. #    Deny from all
  359. #    Allow from .example.com
  360. #</Location>

  361. #
  362. # Allow remote server configuration reports, with the URL of
  363. #  http://servername/server-info (requires that mod_info.c be loaded).
  364. # Change the ".example.com" to match your domain to enable.
  365. #
  366. #<Location /server-info>
  367. #    SetHandler server-info
  368. #    Order deny,allow
  369. #    Deny from all
  370. #    Allow from .example.com
  371. #</Location>

  372. #
  373. # Proxy Server directives. Uncomment the following lines to
  374. # enable the proxy server:
  375. #
  376. #<IfModule mod_proxy.c>
  377. #ProxyRequests On
  378. #
  379. #<Proxy *>
  380. #    Order deny,allow
  381. #    Deny from all
  382. #    Allow from .example.com
  383. #</Proxy>

  384. #
  385. # Enable/disable the handling of HTTP/1.1 "Via:" headers.
  386. # ("Full" adds the server version; "Block" removes all outgoing Via: headers)
  387. # Set to one of: Off | On | Full | Block
  388. #
  389. #ProxyVia On

  390. #
  391. # To enable a cache of proxied content, uncomment the following lines.
  392. # See [url]http://httpd.apache.org/docs-2.0/mod/mod_cache.html[/url] for more details.
  393. #
  394. #<IfModule mod_disk_cache.c>
  395. #   CacheEnable disk /
  396. #   CacheRoot "/var/cache/mod_proxy"
  397. #</IfModule>
  398. #

  399. #</IfModule>
  400. # End of proxy directives.

  401. ### Section 3: Virtual Hosts
  402. #
  403. # VirtualHost: If you want to maintain multiple domains/hostnames on your
  404. # machine you can setup VirtualHost containers for them. Most configurations
  405. # use only name-based virtual hosts so the server doesn't need to worry about
  406. # IP addresses. This is indicated by the asterisks in the directives below.
  407. #
  408. # Please see the documentation at
  409. # <URL:[url]http://httpd.apache.org/docs-2.0/vhosts/[/url]>
  410. # for further details before you try to setup virtual hosts.
  411. #
  412. # You may use the command line option '-S' to verify your virtual host
  413. # configuration.

  414. #
  415. # Use name-based virtual hosting.
  416. #
  417. #NameVirtualHost *:80
  418. #
  419. # NOTE: NameVirtualHost cannot be used without a port specifier
  420. # (e.g. :80) if mod_ssl is being used, due to the nature of the
  421. # SSL protocol.
  422. #

  423. #
  424. # VirtualHost example:
  425. # Almost any Apache directive may go into a VirtualHost container.
  426. # The first VirtualHost section is used for requests without a known
  427. # server name.
  428. #
  429. #<VirtualHost *:80>
  430. #    ServerAdmin [email]webmaster@dummy-host.example.com[/email]
  431. #    DocumentRoot /www/docs/dummy-host.example.com
  432. #    ServerName dummy-host.example.com
  433. #    ErrorLog logs/dummy-host.example.com-error_log
  434. #    CustomLog logs/dummy-host.example.com-access_log common
  435. #</VirtualHost>

复制代码

论坛徽章:
62
2016科比退役纪念章
日期:2016-06-28 17:45:06奥兰多魔术
日期:2015-05-04 22:47:40菠菜神灯
日期:2015-05-04 22:35:07菠菜神灯
日期:2015-05-04 22:35:02NBA季后赛大富翁
日期:2015-05-04 22:33:34NBA常规赛纪念章
日期:2015-05-04 22:32:032015年亚洲杯纪念徽章
日期:2015-04-14 16:54:452015年亚洲杯之朝鲜
日期:2015-03-19 23:03:16明尼苏达森林狼
日期:2015-03-16 21:51:152015小元宵徽章
日期:2015-03-06 15:57:202015年迎新春徽章
日期:2015-03-04 09:55:282015年辞旧岁徽章
日期:2015-03-03 16:54:15
9 [报告]
发表于 2007-11-01 10:06 |只看该作者
去掉缺省字符utf8,  或者使用GB2312

论坛徽章:
0
10 [报告]
发表于 2007-11-26 10:14 |只看该作者
[quote][/quote]
请问仁兄此问题解决了吗?
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP