* [gentoo-user] Full path in apache2 access_log?
@ 2005-11-03 4:42 Grant
2005-11-03 22:32 ` A. Khattri
0 siblings, 1 reply; 11+ messages in thread
From: Grant @ 2005-11-03 4:42 UTC (permalink / raw
To: Gentoo mailing list
Is there any way to get apache2 to include a full path in its
access_log? That would be something like this:
domain.com/page.html
instead of this:
/page.html
If I can get a full path in the log, I can have webalizer report on
traffic per domain. The conventional method of using the vhost log
format for something like this won't work for me because it relies on
defining different ServerName directives via VirtualHost definitions
but I don't think apache knows which domain is actually being served.
I don't use any apache virtual host stuff. Domain identification is
handled by my shopping cart software.
- Grant
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [gentoo-user] Full path in apache2 access_log?
2005-11-03 4:42 [gentoo-user] Full path in apache2 access_log? Grant
@ 2005-11-03 22:32 ` A. Khattri
2005-11-04 1:35 ` Grant
0 siblings, 1 reply; 11+ messages in thread
From: A. Khattri @ 2005-11-03 22:32 UTC (permalink / raw
To: Gentoo mailing list
On Wed, 2 Nov 2005, Grant wrote:
> Is there any way to get apache2 to include a full path in its
> access_log? That would be something like this:
>
> domain.com/page.html
>
> instead of this:
>
> /page.html
>
> If I can get a full path in the log, I can have webalizer report on
> traffic per domain. The conventional method of using the vhost log
> format for something like this won't work for me because it relies on
> defining different ServerName directives via VirtualHost definitions
> but I don't think apache knows which domain is actually being served.
> I don't use any apache virtual host stuff. Domain identification is
> handled by my shopping cart software.
Maybe I dont understand what you mean: but since you are using
VirtualHost definitions, then perhaps you could use separate logs for
each site?
e.g.
<VirtualHost site1.com>
ServerName www.site1.com
ErrorLog "/var/log/apache/site1_error.log"
AccessLog "/var/log/apache/site2_access.log"
</VirtualHost>
<VirtualHost site2.com>
ServerName www.site2.com
ErrorLog "/var/log/apache/site1_error.log"
AccessLog "/var/log/apache/site2_access.log"
</VirtualHost>
I just avoid the whole logsplit issue by doing this on production servers.
--
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [gentoo-user] Full path in apache2 access_log?
2005-11-03 22:32 ` A. Khattri
@ 2005-11-04 1:35 ` Grant
2005-11-04 22:07 ` A. Khattri
2005-11-08 3:24 ` [gentoo-user] How do I restore Evolution Mail? Richard Watson
0 siblings, 2 replies; 11+ messages in thread
From: Grant @ 2005-11-04 1:35 UTC (permalink / raw
To: gentoo-user
> > Is there any way to get apache2 to include a full path in its
> > access_log? That would be something like this:
> >
> > domain.com/page.html
> >
> > instead of this:
> >
> > /page.html
> >
> > If I can get a full path in the log, I can have webalizer report on
> > traffic per domain. The conventional method of using the vhost log
> > format for something like this won't work for me because it relies on
> > defining different ServerName directives via VirtualHost definitions
> > but I don't think apache knows which domain is actually being served.
> > I don't use any apache virtual host stuff. Domain identification is
> > handled by my shopping cart software.
>
> Maybe I dont understand what you mean: but since you are using
> VirtualHost definitions, then perhaps you could use separate logs for
> each site?
>
> e.g.
>
> <VirtualHost site1.com>
> ServerName www.site1.com
> ErrorLog "/var/log/apache/site1_error.log"
> AccessLog "/var/log/apache/site2_access.log"
> </VirtualHost>
>
> <VirtualHost site2.com>
> ServerName www.site2.com
> ErrorLog "/var/log/apache/site1_error.log"
> AccessLog "/var/log/apache/site2_access.log"
> </VirtualHost>
>
> I just avoid the whole logsplit issue by doing this on production servers.
Yeah, I wasn't very clear about that. The problem is I can't use
VirtualHost definitions because I don't think apache knows which
domain is actually being served. I don't use any apache virtual host
stuff. Domain identification is handled by my shopping cart software.
- Grant
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [gentoo-user] Full path in apache2 access_log?
2005-11-04 1:35 ` Grant
@ 2005-11-04 22:07 ` A. Khattri
2005-11-04 23:07 ` Grant
2005-11-08 3:24 ` [gentoo-user] How do I restore Evolution Mail? Richard Watson
1 sibling, 1 reply; 11+ messages in thread
From: A. Khattri @ 2005-11-04 22:07 UTC (permalink / raw
To: gentoo-user
On Thu, 3 Nov 2005, Grant wrote:
> Yeah, I wasn't very clear about that. The problem is I can't use
> VirtualHost definitions because I don't think apache knows which
> domain is actually being served. I don't use any apache virtual host
> stuff. Domain identification is handled by my shopping cart software.
But presumably the shopping cart software merely looks at the URL you are
coming from right? (What software is it? Does it run locally or is it on a
remote server?).
--
Aj.
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [gentoo-user] Full path in apache2 access_log?
2005-11-04 22:07 ` A. Khattri
@ 2005-11-04 23:07 ` Grant
2005-11-06 4:25 ` Michael Stewart (vericgar)
2005-11-07 21:57 ` A. Khattri
0 siblings, 2 replies; 11+ messages in thread
From: Grant @ 2005-11-04 23:07 UTC (permalink / raw
To: gentoo-user
> > Yeah, I wasn't very clear about that. The problem is I can't use
> > VirtualHost definitions because I don't think apache knows which
> > domain is actually being served. I don't use any apache virtual host
> > stuff. Domain identification is handled by my shopping cart software.
>
> But presumably the shopping cart software merely looks at the URL you are
> coming from right? (What software is it? Does it run locally or is it on a
> remote server?).
The shopping cart software does only look at the URL, but I have it
determining what to display partially based on the domain in that URL.
apache2 doesn't do anything based on the domain. The shopping cart
software is open-source Interchange, but the stuff I'm talking about
here is custom-programmed in ITL (Interchange Tagging Language) for
non-standard operation.
http://icdevgroup.org
Interchange is awesome and I highly recommend it, but I have to
mention its steep learning curve.
apache2, Interchange, etc. are all run on the same remote server.
- Grant
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [gentoo-user] Full path in apache2 access_log?
2005-11-04 23:07 ` Grant
@ 2005-11-06 4:25 ` Michael Stewart (vericgar)
2005-11-07 21:57 ` A. Khattri
1 sibling, 0 replies; 11+ messages in thread
From: Michael Stewart (vericgar) @ 2005-11-06 4:25 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 400 bytes --]
Try adding %f and/or %{Host}i to the LogFormat directive. Or maybe one
of the others will give you the information you need:
http://httpd.apache.org/docs/2.0/mod/mod_log_config.html#formats
--
Michael Stewart vericgar@gentoo.org
Gentoo Developer http://dev.gentoo.org/~vericgar
GnuPG Key ID 0x08614788 available on http://pgp.mit.edu
--
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 256 bytes --]
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [gentoo-user] Full path in apache2 access_log?
2005-11-04 23:07 ` Grant
2005-11-06 4:25 ` Michael Stewart (vericgar)
@ 2005-11-07 21:57 ` A. Khattri
2005-11-08 17:10 ` Grant
1 sibling, 1 reply; 11+ messages in thread
From: A. Khattri @ 2005-11-07 21:57 UTC (permalink / raw
To: gentoo-user
On Fri, 4 Nov 2005, Grant wrote:
> The shopping cart software does only look at the URL, but I have it
> determining what to display partially based on the domain in that URL.
> apache2 doesn't do anything based on the domain.
If you are using name virtual-hosting, Apache can serve
different sites based on the domain name, e.g.
# a.b.c.d is your IP
NameVirtualHost a.b.c.d
<VirtualHost name1.server.com>
</VirtualHost>
<VirtualHost name2.server.com>
</VirtualHost>
When using name virtual hosting, Apache looks at the Host: header in the
HTTP request and matches that to VirtualHost blocks.
> The shopping cart
> software is open-source Interchange, but the stuff I'm talking about
> here is custom-programmed in ITL (Interchange Tagging Language) for
> non-standard operation.
>
> http://icdevgroup.org
>
> Interchange is awesome and I highly recommend it, but I have to
> mention its steep learning curve.
Ive played with many ecommerce packages (OSC, intershop, home-grown
stuff in Perl, PHP and ASP). Recently built a site using Mambo (err...
that should be called Joomla now ;-) and a plugin callead mambo-phpshop.
The plugin has a complete backend already built so you just customize a
few pages...
Interchange sounds more like a framework that needs more work to build a
complete store, right?
--
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 11+ messages in thread
* [gentoo-user] How do I restore Evolution Mail?
2005-11-04 1:35 ` Grant
2005-11-04 22:07 ` A. Khattri
@ 2005-11-08 3:24 ` Richard Watson
2005-11-08 5:50 ` Heinz Sporn
1 sibling, 1 reply; 11+ messages in thread
From: Richard Watson @ 2005-11-08 3:24 UTC (permalink / raw
To: gentoo-user
Hi,
I need to migrate my Gnome Evolution mail to a new PC I've just got. I
tried copying everything from the .evolution folder into the new
machine .evolution folder but the results are very eratic with only some
of my mail recovering. Plus none of the addresses come across at all. Am
I missing something obvious?
--
Thanks, Richard
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [gentoo-user] How do I restore Evolution Mail?
2005-11-08 3:24 ` [gentoo-user] How do I restore Evolution Mail? Richard Watson
@ 2005-11-08 5:50 ` Heinz Sporn
2005-11-08 7:29 ` Richard Watson
0 siblings, 1 reply; 11+ messages in thread
From: Heinz Sporn @ 2005-11-08 5:50 UTC (permalink / raw
To: gentoo-user
Am Dienstag, den 08.11.2005, 13:24 +1000 schrieb Richard Watson:
> Hi,
>
> I need to migrate my Gnome Evolution mail to a new PC I've just got. I
> tried copying everything from the .evolution folder into the new
> machine .evolution folder but the results are very eratic with only some
> of my mail recovering. Plus none of the addresses come across at all. Am
> I missing something obvious?
Well, that depends on your local configuration. For email I'd check if
there are folders like ~/.maildir, ~/.mail etc. etc. and copied those as
well.
The standard Evolution addressbook is stored in
~/.evolution/addressbook/addressbook.db. Did you copy that one? Are you
using other addressbooks e.g. on a LDAP server?
> --
> Thanks, Richard
>
--
Mit freundlichen Grüßen
Heinz Sporn
SPORN it-freelancing
Mobile: ++43 (0)699 / 127 827 07
Email: heinz.sporn@sporn-it.com
heinz.sporn@utanet.at
Website: http://www.sporn-it.com
Snail: Steyrer Str. 20
A-4540 Bad Hall
Austria / Europe
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [gentoo-user] How do I restore Evolution Mail?
2005-11-08 5:50 ` Heinz Sporn
@ 2005-11-08 7:29 ` Richard Watson
0 siblings, 0 replies; 11+ messages in thread
From: Richard Watson @ 2005-11-08 7:29 UTC (permalink / raw
To: gentoo-user
On Tue, 2005-11-08 at 06:50 +0100, Heinz Sporn wrote:
> Am Dienstag, den 08.11.2005, 13:24 +1000 schrieb Richard Watson:
> > Hi,
> >
> > I need to migrate my Gnome Evolution mail to a new PC I've just got. I
> > tried copying everything from the .evolution folder into the new
> > machine .evolution folder but the results are very eratic with only some
> > of my mail recovering. Plus none of the addresses come across at all. Am
> > I missing something obvious?
>
> Well, that depends on your local configuration. For email I'd check if
> there are folders like ~/.maildir, ~/.mail etc. etc. and copied those as
> well.
> The standard Evolution addressbook is stored in
> ~/.evolution/addressbook/addressbook.db. Did you copy that one? Are you
> using other addressbooks e.g. on a LDAP server?
I'm only running POP mail accounts, nothing on LDAP. I create mail
folders to store the various account incoming by using filters. Where
would all the POP messages be stored?
I couldn't get my address information but your suggestion worked ...
Thanks!
--
Regards, Richard
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [gentoo-user] Full path in apache2 access_log?
2005-11-07 21:57 ` A. Khattri
@ 2005-11-08 17:10 ` Grant
0 siblings, 0 replies; 11+ messages in thread
From: Grant @ 2005-11-08 17:10 UTC (permalink / raw
To: gentoo-user
> Ive played with many ecommerce packages (OSC, intershop, home-grown
> stuff in Perl, PHP and ASP). Recently built a site using Mambo (err...
> that should be called Joomla now ;-) and a plugin callead mambo-phpshop.
> The plugin has a complete backend already built so you just customize a
> few pages...
>
> Interchange sounds more like a framework that needs more work to build a
> complete store, right?
I think you've hit upon the point that really makes Interchange cool.
It is a great framework, but there are a few "demo" stores built on
top of it that can be customized into your store in no time:
http://demo.icdevgroup.org/i/demo1
http://demo.icdevgroup.org/i/demo2
I prefer to go the route of only using the basic framework and then
creating my own stuff on top of that. Interchange is awesome either
way, and you could easily set up your store on top of a demo store,
and then customize it more and more as time goes on.
- Grant
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 11+ messages in thread
end of thread, other threads:[~2005-11-08 17:16 UTC | newest]
Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-11-03 4:42 [gentoo-user] Full path in apache2 access_log? Grant
2005-11-03 22:32 ` A. Khattri
2005-11-04 1:35 ` Grant
2005-11-04 22:07 ` A. Khattri
2005-11-04 23:07 ` Grant
2005-11-06 4:25 ` Michael Stewart (vericgar)
2005-11-07 21:57 ` A. Khattri
2005-11-08 17:10 ` Grant
2005-11-08 3:24 ` [gentoo-user] How do I restore Evolution Mail? Richard Watson
2005-11-08 5:50 ` Heinz Sporn
2005-11-08 7:29 ` Richard Watson
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox