Where are my Apache FrontPage extensions?

2009-05-13 13:21:20来源:未知 阅读 ()

新老客户大回馈,云服务器低至5折


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
特别注意:本站所有转载文章言论不代表本站观点,本站所提供的摄影照片,插画,设计作品,如需使用,请与原作者联系,版权归原作者所有

上一篇:FreeBSD意外断电后的拯救

下一篇:DNS - the dynamic way - hosting a site from home