[kforge-user] Trouble with Apache settings

tyju tiui jckdnk111 at yahoo.com
Tue Jan 23 23:08:38 UTC 2007


Hello Rufus,

Thanks for the response!
My first problem was my DNS server wasn't setup with a wildcard entry ... network admin fixed that straight away. As for the second problem, you were exactly correct ... I added the NameVirtualHost directive, but with the IP instead of a *. I updated the IP in kforge.conf and I now see kforge! woohoo!

Now I have another problem though. 
When I log in as admin everything goes ok until I click on a link. I'm immediately prompted to login again?
My guess is that there might be something wrong with my python setup (perhaps a session variable I have set incorrectly in python config?) ... do you have any insight on this?

Thanks for all your help!

Ty


----- Original Message ----
From: Rufus Pollock <rufus.pollock at okfn.org>
To: tyju tiui <jckdnk111 at yahoo.com>
Cc: John Bywater <john.bywater at appropriatesoftwarefoundation.org>; kforge-user at lists.okfn.org
Sent: Tuesday, January 23, 2007 9:47:00 AM
Subject: Re: [kforge-user] Trouble with Apache settings

tyju tiui wrote:
> Hi John,
> 
> I tried changing the domain name and adding an entry to my hosts file 
> but got the same result.
> I also created the /var/www/kforge/media dir and symlinked the 
> /var/www/kforge/project to the kforge www/project dir. Apache doesn't 
> bark about missing doc root anymore, but it's still not quite working.
 >
> I'm not sure what's going on here, but I have a feeling it has something 
> to do with the apache warnings I get when I restart manually:
> 
> [Mon Jan 22 10:33:08 2007] [warn] _default_ VirtualHost overlap on port 
> 443, the first has precedence
> [Mon Jan 22 10:33:08 2007] [warn] _default_ VirtualHost overlap on port 
> 80, the first has precedence
> [Mon Jan 22 10:33:08 2007] [warn] _default_ VirtualHost overlap on port 
> 443, the first has precedence
> [Mon Jan 22 10:33:08 2007] [warn] _default_ VirtualHost overlap on port 
> 80, the first has precedence
> [Mon Jan 22 10:33:10 2007] [warn] _default_ VirtualHost overlap on port 
> 443, the first has precedence
> [Mon Jan 22 10:33:10 2007] [warn] _default_ VirtualHost overlap on port 
> 80, the first has precedence
> [Mon Jan 22 10:33:10 2007] [warn] _default_ VirtualHost overlap on port 
> 443, the first has precedence
> [Mon Jan 22 10:33:10 2007] [warn] _default_ VirtualHost overlap on port 
> 80, the first has precedence

KForge is set up to use named virtual hosts. This is a feature of Apache 
whereby you can run multiple websites with different domain names all on 
the same ip address. Taking a look at the KForge auto-generated http 
configuration you should see something like:

<VirtualHost *:80>

...
</VirtualHost>

NB: if you changed ip_address in your kforge.conf file you will see that 
value instead of *.

Now for this to work you will need somewhere in your basic apache config 
the line:

NameVirtualHost *:80
NameVirtulaHost *:443

The error you are getting suggests this may not have been set up 
correctly so I'd suggest checking to ensure this is in the apache config 
somewhere where it is loaded before the kforge configuration.

[snip]

Regards,

Rufus






__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.okfn.org/pipermail/kforge-user/attachments/20070123/93706ab6/attachment-0001.html>


More information about the kforge-user mailing list