Koozali.org: home of the SME Server

Legacy Forums => General Discussion (Legacy) => Topic started by: OSD on July 27, 2001, 06:47:45 PM

Title: Upgraded Apache rpm
Post by: OSD on July 27, 2001, 06:47:45 PM
Hi,
I just rpm -Uvh 'd the following updates from the ftp server (i'm running 4.1.2):

apache-1.3.19-5.i386.rpm
e-smith-base-4.4.0-26.noarch.rpm
e-smith-openssh-1.2.0-11.noarch.rpm
e-smith-pptpd-1.2.0-05.noarch.rpm
mod_ssl-2.8.1-5.i386.rpm

I rebooted the server.
When I tried accessing the web site (from the Internet) I got an Apache Test Page talking about the DocumentRoot needing to be set in the file /etc/httpd/conf/httpd.conf
So I opened the file in vi (using ssh) and altered the DocumentRoot from /var/www/something to be /home/e-smith/files/primary/html.

Now when I try accessing the web site from the internet I get this error:
Forbidden
You don't have permission to access / on this server.
Apache 1.3.19 Server at blah blah blah Port 80

Would be really grateful for any guidance anyone can offer!
Thanks in advance.
Title: Re: Upgraded Apache rpm
Post by: Dan Brown on July 27, 2001, 07:46:34 PM
You need to rebuild the configuration files.  At a minimum you need to expand-template /etc/httpd/httpd.conf, but you probably need to signal-event post-upgrade.
Title: Re: Upgraded Apache rpm. No Templates were found
Post by: OSD on July 27, 2001, 07:57:57 PM
Thanks for the instructions.
When I typed /sbin/e-smith/expand-template /etc/httpd/httpd.conf
I got this:
No templates were found for //etc/httpd/httpd.conf

when i try /sbin/e-smith/expand-template etc/httpd/httpd.conf i get
No templates were found for /etc/httpd/httpd.conf

Do I have a missing file or something?

Thankyou for any guidance.
Title: Re: Upgraded Apache rpm
Post by: OSD on July 27, 2001, 08:02:07 PM
/sbin/e-smith/expand-template /etc/httpd/conf/httpd.conf
that command was accepted by e-smith.  

then I /sbin/e-smith/signal-event post-upgrade as you suggested.  that command seemed to go ok.

but still I get the 403 Forbidden error?
Title: Thanks Dan!
Post by: OSD on July 27, 2001, 08:07:02 PM
Thanks for the help!
Just needed to reboot it and its working fine.  Great Stuff!