Just right off the bat...
MIMEMagicFile
/usr/local/etc/apache/magic
The above should be..
MIMEMagicFile /dev/null
Or you can't see the images in the frontpage admin
site. Also do "AllowOverride All" for any Frontpage managed directories. Also
make sure that /var/log/httpd is chmod 755 (it could be more loose if you
wanted it 777 but must be at least 755.)
Make sure you use Internet Explorer when you go to
the admin pages. There is a trick to using Netscape but IE works
always.
You might also do this step from my page on
jnux.net if you haven't already... it switches the mime type on the errors from
text/html to application/x-httpd-cgi...
Now to edit /var/www/error/HTTP_UNAUTHORIZED.html.var to fix the Content-Type. Make sure to type the line below exactly. After running it you should see "Content-type: application/x-hhtpd-cgi" appearing for each language if you look at the file. (The line below is one long line because there was no easy way to break up the line.)
# sed --in-place=-orig -e 's,Content-type: text/html; charset=ISO-[0-9][0-9][0-9][0-9]-[0-9],Content-type: application/x-httpd-cgi,g' /var/www/error/HTTP_UNAUTHORIZED.html.var
--
Joshua Levitsky, MCSE, CISSP
Haz-Mat III BBS -- telnet bbs.haz-matiii.com
Trade Wars 2002 / Ambrosia / Global War / Fidonet Feeds
[5957 F27C 9C71 E9A7 274A 0447 C9B9 75A4 9B41 D4D1]
----- Original Message -----
From: "Will" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, December 06, 2004 2:34
PM
Subject: [Apache-FP] problems installing
apache/mod_frontpage on FreeBSD 4.10
>
> I'm trying to set up FrontPage on a FreeBSD 4.10 system from the ports
> tree and I'm using the following (all from ports):
>
> Apache/1.3.33
> mod_perl/1.29
> FrontPage/5.0.2.2623 (mod_frontpage)
> PHP/4.3.9 (mod_php4)
> mod_ssl/2.8.22
> OpenSSL/0.9.7d
>
> The software built fine and I ran the fp_install.sh script with no
> problems. Before building I commented out the FORBIDDEN section in the
> Makefile for compat3x:
>
> #FORBIDDEN= "FreeBSD-SA-03:05.xdr, FreeBSD-SA-03:08.realpath - not
> fixed / no lib available"
>
> I have the following enabled in apache's httpd.conf file:
>
> ResourceConfig /dev/null
> AccessConfig /dev/null
> LoadModule frontpage_module libexec/apache/mod_frontpage.so
> AddModule mod_frontpage.c
> MIMEMagicFile /usr/local/etc/apache/magic
>
> Within the virutal host which will use mod_frontpage, I have:
>
> <Directory "/home/www/XXXXX.com/">
> AddHandler cgi-script .exe
> Options ExecCGI
> AllowOverride AuthConfig Limit Indexes Options
> </Directory>
>
> The virtual host for the admin pages has:
> <VirtualHost *:443>
> ServerName test.XXXXX.com
> ServerAdmin [EMAIL PROTECTED]
> DocumentRoot /usr/local/frontpage/version5.0/admin-exes
> DirectoryIndex fpadmcgi.exe
> <Directory /usr/local/frontpage/version5.0/admin-exes/>
> AddHandler cgi-script .exe
> Options ExecCGI
> AllowOverride AuthConfig Limit Indexes Options
> </Directory>
> ... <snip ssl stuff>
> </VirtualHost>
>
> When accessing the admin pages, I get these errors in the
> httpd-error.log:
>
> [Mon Dec 6 11:40:55 2004] [error] [client XXX.XXX.XXX.XXX] web root owned
> by privileged user: /usr/local/frontpage/version5.0/admin-exes/_vti_bin
>
> Also the images don't display on the admin pages, when I try to view one
> I get:
>
> You don't have permission to access /_vti_bin/_vti_adm/offlogo.gif on
> this server.
>
> When I try to extend a virtual host through the admin pages (user: www,
> group: www), the browser tries to open the fpadmcgi.exe and does not go
> anywhere.
>
> I have plenty of experience with Linux, some with BSD, and none with
> FrontPage. Dumping our FrontPage users is not an option :(
>
> My searching other groups & lists did not come up with a definitive
> answer, so I'm hoping someone on this list can help. I'm not sure
> whether I should keep plugging away at the port, install from tarball,
> try apache2....?!?
>
> Any tips greatly appreciated, thanks
>
> _______________________________________________
> Apache-FP mailing list
> [EMAIL PROTECTED]
> http://lists.joshie.com/mailman/listinfo/apache-fp
>
> Donations:
> http://www.amazon.com/paypage/PT5LZITM9L227
>
>
_______________________________________________ Apache-FP mailing list [EMAIL PROTECTED] http://lists.joshie.com/mailman/listinfo/apache-fp
Donations: http://www.amazon.com/paypage/PT5LZITM9L227