Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
This morning apache x86 upgrade
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
Le_Mackeux
n00b
n00b


Joined: 19 Jan 2004
Posts: 37

PostPosted: Mon Sep 19, 2005 8:06 pm    Post subject: This morning apache x86 upgrade Reply with quote

Hi there, this morining i upgraded my apache stable portage. Watch out when i reloaded the service. It didn't put back sites online. I'm running unter x86 portage and Apache/2.0.54.

Here is the problem:
after try and error, i flushed my config and start from the .conf.example. The server went back online after i specified the servername. My website is at the standand location /var/www/localhost/htdocs.

Here is the error i get when i try to access it. It's "Alert!: Unable to connect to remote host." on the server itself.
Here is the log
[Mon Sep 19 14:13:35 2005] [error] [client 10.0.1.10] File does not exist: /usr/htdocs

I've looked everywhere in the apache config file where it myght be set to point my DocumentRoot there and i only found the right location"/var/www/localhost/htdocs".


Any ideas?

chees


Last edited by Le_Mackeux on Mon Sep 19, 2005 11:43 pm; edited 1 time in total
Back to top
View user's profile Send private message
buzzin
Apprentice
Apprentice


Joined: 17 Oct 2003
Posts: 264
Location: St. Albans, UK.

PostPosted: Mon Sep 19, 2005 9:09 pm    Post subject: Reply with quote

As per the gentoo weekly newsletter on 12/09/05;

Quote:

Major package updates for Apache
--------------------------------

The Gentoo Apache Team is pleased to announce the stabilizing of package
updates that have been in the works for over a year. Some of the major
changes include:

* New configuration and configuration locations to more closely match
upstream and reduce confusion for users coming from other distributions.
* Modules now use a centralized eclass that builds, installs, and
displays standard information on enabling the module. This allows easier
maintenance of existing modules, and allows us to more rapidly develop
ebuilds for modules that are not yet in the tree.
* Expanded USE flags to let you choose which MPM is compiled.
* A new gentoo-webroot that will eventually provide a gentoo-themed
icon-set, error documents, and default website. This has been put in it's
own package, and includes a USE-flag to not install the gentoo-webroot
into /var/www/localhost - useful if you put your own website there.
* And much more, including the fixing of many many bugs.

These changes will stabilized on Sunday, September 18th. These changes
have been throughly tested and given a thumbs up by many many users. They
also allow you to use the new php (including support for php5) ebuilds
when they become fully available.

Because of these changes and improvements, when you upgrade to the new
revision of Apache, you will need to take care of some things. These are
fully documented in our Upgrading Apache document [1], but in summary,
this is what you will need to do:

* Merge any customizations that you have made to the Apache configuration
into the new configuration at /etc/apache2/httpd.conf (The configuration
file location has changed). Note that the init script for apache checks
for a configuration in the old location and refuses to start if you
haven't moved/removed it - this is to avoid the possibility of moving to a
configuration that isn't right for your machine.
* Update any modules that you used to revisions that support the new
eclass. Older modules will not work due to location changes.
* Restart Apache
We have done our best to make it easy to migrate, but if you have
problems, feel free to visit us in #gentoo-apache on irc.freenode.net or
on our mailing list gentoo-web-user@gentoo.org and we'll be glad to help.
Back to top
View user's profile Send private message
Le_Mackeux
n00b
n00b


Joined: 19 Jan 2004
Posts: 37

PostPosted: Mon Sep 19, 2005 11:42 pm    Post subject: Reply with quote

Here is the solution

First add in /etc/conf.d/apache
APACHE2_OPTS="-D PHP4 -D DEFAULT_VHOST"
i added DEFAULT_VHOST, i already have -D PHP4

reload apache, and that's it.
I also had a problem with php. If you have PHP4 in your APACHE2_OPTS and php isn't exacuting, resync portage and emrge updates.

A bug with php has beeen corrected today.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum