前几天弄别的事情去了,没有配置我的Linux服务器,今天来弄apache,没想到一开始就遇到了难题。    具体情况: 我以前的Linux  是Red Hat Enterprise 4的时候,曾经配置过apache,以前启动apache 的时候用的命令是service httpd start,但是今天一用,居然出现下面
原创 2007-07-24 13:01:31
1011阅读
4评论
问题apache配置php后打开后变成下载页面或者是打开后呈现出php代码a 在httpd.conf加入<FilesMatch "\.php$">SetHandler application/x-httpd-php</FilesMatch><FilesMatch "\.phps$">SetHandler application/x-httpd-php-sour
原创 2016-11-18 15:47:35
605阅读
 2011/12/5 安装apache Configure命令 ./configure &ndash;enable-mod-shareds=all   然后提示 apr-devel apr-util-devel pcre-devel要安装 Apr要更新~~ Apr=apache portable runtime 然后我下载了一个版本是1.4.5的,然
原创 2011-12-05 13:10:28
665阅读
1,在运行里输入 cmd 进入DOS命令行窗口2,输入命令 netstat -anb看到80端口 被tomcat5在占用,关闭它,apache就正常启动了!如果你的80端口是被其他程序占用,直接关闭程序就可以了!在CMD下运行: apache -k install  apache -k start这个apache的出错提示!  可能是你还安装了其他的web服务器,比如IIS,它的默认端口也是80,
转载 2012-04-04 15:31:23
812阅读
1、安装httpd-2.2.27./configure 的时候报错如下checking for void pointerlength... yes configure: error: Size of "void *" is less than size of"long"解决方法vi configure if test"$ap_cv_void_ptr_lt_long"  ="yes"; t
原创 2015-05-19 13:59:43
1022阅读
httpd: Could not reliably determine the server's fully qualified domain name, using 211.98.71.195 for ServerName解决办法非常简单:#vim /usr/local/apche2/conf/httpd.conf 找到#ServerName www.example.com:80&nb
转载 精选 2015-12-20 18:16:44
512阅读
APACHE默认情况下,网页目录的最后必须加入斜杠“/",比如可以浏览http://www.example.com/abc/,但是不能浏览http://www.example.com/abc,就是说浏览目录时最后必须加/ 改一下设置文件,在httpd.conf里,找到UseCanonicalName On把On修改为Off就可:UseCanonicalName Off就可以了当然也可用mod_rewrite来解决,首先要确认你的apache里已经安装了这module,且你的httpd.conf里起用了rewrite,才可以调用.htaccess# This controls whic
转载 2013-09-22 20:17:00
184阅读
Apache问题集锦
原创 2014-07-10 03:35:29
867阅读
   安装apache完成后,启动日志出错。出错信息是提示 Could not reliably determine the server's fully qualified domain name, using 127.0.0.1 for&nbsp
原创 2011-09-14 11:26:25
452阅读
2点赞
2评论
[root@wyx httpd-2.2.31]# ./configure \--prefix=/usr/local/apache2 \--with-included-apr \--enable-so \--enable-deflate=shared \--enable-expires=shared \--enable-rewrite=shared \--with-pcre-bash: ./conf
原创 2015-12-23 00:33:40
435阅读
<filter>        <filter-name>CorsFilter</filter-name>        <filter-class>org.apache.catalina.filters.CorsFilter</filter-class>&n
原创 2016-04-07 19:17:25
1612阅读
apache 日志切割问题apache的日志是可以自动切割的。方法一: 使用 cronolog 为每一天建立一个新的日志CustomLog "|bin/cronolog logs/access_%Y%m%d.log" combined也可以按小时 CustomLog "|bin/cronolog logs/access_%Y%m%d%h.
原创 2017-02-07 11:04:37
411阅读
1 tomcat 启动失败问题 SessionListener: contextInitialized 今天在启动tomcat 6.0的时候启到最后闪一下没人,发现服务启动不
原创 2022-09-28 16:42:07
52阅读
Apache常见问题汇总 文档维护: NetSeek   linuxsir1987    1. Apache虚拟主机配置解释 复制内容到剪贴板 代码:NameVirtualHost *:80<VirtualHost *:80>    ServerAdmin web[email]master@linuxt
转载 精选 2008-08-07 14:16:37
1566阅读
1、首先下载 apache 的 zip 包,并解压到指定的路径下;(如:E:\Apache24)下载 apache 路径:http://www.apachehaus.com/cgi-bin/download.plx2、使用管理员的身份进入 doc 界面,进入 apache 的bin目录,输入 httpd.exe -k install3、报出错:Testing httpd.con
原创 2016-11-09 23:06:05
10000+阅读
1、configure: error: pcre-config for libpcre not found. PCRE is required and available from http://pcre.org/ 解决: wget tar zxvf &hellip;.. cd&hellip; ./configure &ndash;prefix=/usr/local/pcre(配置apa
原创 2012-07-07 00:27:56
2847阅读
1点赞
Hadoop 概述Hadoop 是一个由 Apache 基金会所开发的分布式系统基础架构。用户可以在不了解分布式底层细节的情况下,开发分布式程序。充分利用集群的威力进行高速运算和存储。 Hadoop 的框架最核心的设计就是:HDFS 和 MapReduce。HDFS 分布式文件系统为海量的数据提供了存储,则 MapReduce 为海量的数据提供了计算。网方网站:http://hadoop.apac
  httpd: apr_sockaddr_info_get() failed for hoteel httpd: Could not reliably determine the server's fully qualified domain&n
原创 2012-02-21 15:49:43
1838阅读
系统:centos5.8 想建个wiki网站,装好apache后下载mediawiki程序包到/var/www/mediawiki目录,在apache根目录/var/www/html做好软链接:ln -s /var/www/mediawiki  wiki。但是在浏览器里打开就是说permit问题,开始考虑将目录用户从root换成服务器用户apache,还是不行,后来想着可能是selin
原创 2012-04-17 12:26:47
558阅读
  • 1
  • 2
  • 3
  • 4
  • 5