Where are my Apache FrontPage extensions?
2009-05-13 13:21:20来源:未知 阅读 ()
See also
Apache topics
.
17 September 1998
To date, I've managed to install Apache and get it running. No worries there. But for some reason, the Front Page extensions are not loaded. Strange. I've been able to do that before.
Killing Apache
Tonight, I started Apache using the instructions I used last time:
cd /usr/local/sbin
./httpd
Now I want to stop the server. Well, that's easier said than done. First I try the manual. In the section
Stopping and Restarting Apache
, it contains the following example:
kill -TERM `cat /usr/local/apache/logs/httpd.pid`
Unfortunately, my installation of Apache doesn't place the .pid file in the above directory. But the setting which dictates the location of the .pid file is contained in the httpd.conf. But there is that? The following command will locate your httpd.conf file:
find / file=httpd.conf | grep httpd.conf
It turns out that my installation directory was /usr/local/etc/apache. So I open the file /usr/local/etc/apache/httpd.conf and search for .pid. This reveals that the file I want is /var/run/httpd.pid.
Trying the extensions again
I've decided to blindly try installing again. Perhaps the extensions will go in this time. So I
follow the instructions from last time
. But first, I removed the old directory by doing a:
rm -r
Still no luck. I give up
18 Sept: trying again
Actually, I haven't given up. I did a search on the
mailing list archives
and found a suggestion to use the FreeBSD port of apache-fp. So here I go. But first, a de-install.
cd /usr/ports/www/apache-fp.131
make deinstall
cd ..
rm -r apache-fp.131
Then the install. Following the instructions for
Compiling ports from the Internet
, I grabbed the port and compiled it. The compile worked. But running it did not. It complained about the contents of httpd.conf, specifically line 27. I checked the file. Ahhhhh! It's still the old one. The deinstall didn't remove everything. Time for some manual removals.
I did the following:
rm -r /usr/local/etc/apache
rm -r /usr/local/frontpage
Note that I installed virtual webs. And basically answered with the default answers for all questions. Then I restarted the apache server.
cd /usr/local/sbin
./httpd
OK! That worked. At least it started. Now for the browser test. I start Netscape and browse to my FreeBSD box. Got it! The "Test Page for Apache Installation on Web Site".
标签:
版权申明:本站文章部分自网络,如有侵权,请联系:west999com@outlook.com
特别注意:本站所有转载文章言论不代表本站观点,本站所提供的摄影照片,插画,设计作品,如需使用,请与原作者联系,版权归原作者所有
- virtualbox for freeBSD 2009-05-13
- 安装'User manager for PureFTPd'无法建表? 2009-05-13
- FAMP5.0推出,网页式管理服务器,一键安装Apache+Nginx+Mysql+ 2009-05-13
- 使用中的Apache2居然无法启动了 2009-05-13
- OpenBSD 4.5 2009-05-13
IDC资讯: 主机资讯 注册资讯 托管资讯 vps资讯 网站建设
网站运营: 建站经验 策划盈利 搜索优化 网站推广 免费资源
网络编程: Asp.Net编程 Asp编程 Php编程 Xml编程 Access Mssql Mysql 其它
服务器技术: Web服务器 Ftp服务器 Mail服务器 Dns服务器 安全防护
软件技巧: 其它软件 Word Excel Powerpoint Ghost Vista QQ空间 QQ FlashGet 迅雷
网页制作: FrontPages Dreamweaver Javascript css photoshop fireworks Flash