postfix + courier-imap + ldap, which local_transport ?

2001-09-18 Thread Jaume Teixi

hi,

I want postfix to get virtual from ldap (seems to work) but then I want to deliver to 
courier-imap maildir boxes like /var/spool/mail/$user and I'm getting: unknown user: 
"proves"

the deliver information is stored on ldap:
mail: [EMAIL PROTECTED]
mailRoutingAddress: /var/spool/mail/proves

and I setup main.cf as follows:
mail_spool_directory = /var/spool/mail
virtual_maps = ldap:ldapsource
ldapsource_server_host = is.6tems.com
ldapsource_server_port = 389
ldapsource_bind = yes
ldapsource_bind_dn = cn=Admin,dc=tur,dc=net
ldapsource_bind_pw = *
ldapsource_search_base = dc=tur,dc=net
ldapsource_timeout = 10
ldapsource_query_filter = (mail=%s)
ldapsource_result_attribute = mailLocalAddress

as explained on virtual(5) the virtual domain is appended on query_filter (mail) but 
deliver doesnt' works...

should I use virtual, maildrop or another delivery agent ?


thanx
   jaume teixi.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: Kernel 2.4.8 + Portmasters

2001-08-31 Thread Jaume Teixi

hi,

maybe this is caused by tcp ecn enabled as default ?

check http://eltoday.com/article.php3?ltsn=2001-04-17-001-14-PS

so if it is you shoud put on /etc/sysctl.conf
net/ipv4/tcp_ecn=0
for an automatic disablement on each boot

bests,
jaume teixi.

On Fri, 31 Aug 2001 23:06:58 +1000
"Doug Bean" <[EMAIL PROTECTED]> wrote:

> I set up a server with the new kernel and have found it will not telnet into
> any of my Portmasters. I have had another ISP I know that has Cisco Access
> Servers and Portmasters and I can Telnet into anything except Portmasters.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




request for an ldap schema for mail services

2001-08-31 Thread Jaume Teixi

hello,

I've located this interesting Ldap schema intented for mail services:
http://sec.ure.org/schema/inetmail.schema

it doesn't run with my slapd 2.0.11 ...need to check

anybody knows any other similars working on debian's ldap ?

bests,

jaume teixi.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: FW: openSSH

2001-07-31 Thread Jaume Teixi

hello,

for potato ones take a look into http://download.alcove-labs.org/packages/debian/

bests,
teixi.

On Tue, 31 Jul 2001 14:30:34 +0200
Russell Coker <[EMAIL PROTECTED]> wrote:

> On Mon, 30 Jul 2001 00:49, [EMAIL PROTECTED] wrote:
> > My story:
> > apt-cache show libssl09
> > gave:
> > Version: 0.9.4-5
> 
> I think that there is a back-port of SSL >0.9.5 to potato...


--  
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: Virtual Hosting

2001-07-26 Thread Jaume Teixi

hello,

as sombody allready pointed name based virtual hosts are not under the ftp protocol 
and for instance you have to chroot every user/domain on its own directory.

alternatively maybe this package could help you:
proftpd-ldap
Versatile, virtual-hosting FTP daemon (with LDAP support)

bests,
teixi.

On Thu, 26 Jul 2001 13:06:56 +1000
Robert Davidson <[EMAIL PROTECTED]> wrote:

> On Wed, Jul 25, 2001 at 07:44:22PM -0700, Jeremy C. Reed wrote:
> > 
> > Now if you are talking about real virtual hosting where you could have
> > multiple users with the same name, then you'd need to have separate
> > authentication (passwd) files for each virtual host -- and -- you'd need
> > to decide on a UID (and GID) to own that user's files (maybe one UID and
> > GID per virtual host, but then you'd have to stop different users from
> > accessing other users' files -- maybe with chroot or jail?).
> 
> Thats what I was thinking about - a real virtual hosting setup.  Out of 
> interest, is there anything already made to do this kind of thing?  
> Like another FTP server for example?


--  
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: help with site+database

2001-07-19 Thread Jaume Teixi

On Thu, 19 Jul 2001 12:34:05 +0200
Russell Coker <[EMAIL PROTECTED]> wrote:

> > I don't agree with this.  If you have a need and the budget for
> > Oracle, you most certainly will also be motivated to run it on a
> > supported platform.  I'd have put is differently:  make sure Postgres
> > cannot do what you want before using Oracle for serious apps.
> 
> However there are other issues.  For example management purchases a few large 
> Solaris machines running Oracle.  As they are production machines they can't 
> be used for development.  Wanting to run a test setup on a Linux laptop isn't 
> an unlikely requirement...


hello, my few bytes on this subject:

I-ve been playing with oracle on debian, also few months ago (before the discovering 
of all the main features of postgresql) the main problems was:
- install eats ~ 1Gb
- one fresh db setup (data modeling without data inside) also eats another ~ 
1Gb
- and at least you need 512 of ram for a minimal performance
- the gui install is a nice java one... the good work was the portability over 
systems for the maintaners itselfs... bad work was the need of a real hack if you are 
on a newest glibc http://legart.dk/?view=oracle
- in addition, dbstart contained an stupid bug 
http://www.oralinux.com/common/bugs.html#dbstart
- what was completely impossible for me was the compilation of php4 with oci8 
support on debian ( big problem on linking libraries )

by now postgresql has a lot of do over oracle, including commercial support:
- pgaccess as a cool gui when your sister or coworker has to insert data into.
- there-s a first attempt for replication http://www.erserver.com/
- you can insert any binary file into it (large objects)
- full php, java, python, perl, c, c++ support
- full install disk space ridiculous!
- you can have a minimal performance with 64 of ram!

maybe if someone wanted to create a site with one database, no big tablespaces, lot of 
simple selects and few inserts, mysql could be the faster solution, but for the rest 
postgresql should do the big trick!

further reading:
 http://openacs.org/philosophy/why-not-mysql.html
 http://www.mysql.com/information/crash-me.php

best from barcelona!

-- 
Jaume Teixi
  CTO
  6TEMS - Ducform, SA
  http://www.6tems.com


--  
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: strange smtp blockings (TCP ECN unsupported on remote routers)

2001-07-14 Thread Jaume Teixi

matt did the track!

you-re right! now here everything connects ok!

i think that debian should consider disable tcp ecn support as default because still 
there are a lot of routers around the net unsupporting it! shit!

for example here in spain:
 one of the biggest hosting services http://www.arsys.es
 one of the biggest telecom companies of the world http://www.telefonica.es

and more:
 one of the biggest erp non-free software companies http://www.jdedwards.com

i remember this was discussed before on debian-devel i guess, but...
what should I do now, send a letter to them? wich message?

tx!

Jaume Teixi
  CTO
  6TEMS - Ducform, SA
  http://www.6tems.com



On Sat, 14 Jul 2001 17:53:52 +0100
"Matt Ryan" <[EMAIL PROTECTED]> wrote:

> Haven't followed the thread closely, but have you guys looked at TCP ECN as
> a possible problem? If not, this command "echo 0 >
> /proc/sys/net/ipv4/tcp_ecn" may help...


--  
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: strange smtp blockings (MS DNS zone and bind 8 issue?)

2001-07-14 Thread Jaume Teixi

On Sat, 14 Jul 2001 00:44:25 -0400 (EDT)
Richard A Nelson <[EMAIL PROTECTED]> wrote:

> On Fri, 13 Jul 2001, Roland Krocin wrote:
> 
> > potato or woody?
> > I'm getting the same problems on 2 out of 3 woody boxes (sendmail). the
> > third works 70% of the time. reverse dns works perfectly to all other hosts.
> > other interesting thing is that this seems to be an issue mostly with
> > Microsoft-OS MTAs. There is a known problem with bind 9.x and MS DNS zone
> > transfers, that may have something to do with it...
> 
> If you're having problems w/MTA -> M$ MTA  (the original poster said
> telnet 25 had the same problem, so its not MTA->MTA) - and you're on
> 8.12, you may want to disable TLS negotiation (either on a host basis,
> or altogether).

hello again,

now what I can say:

a) sure is not a MTA issue because telneting from this host to the other at port 25 
also is blocked.
b) rblcheck doesnt show any blocks for my host.
c) no problem with dns config neither disk space or bandwich out of limits.
d) only some hosts blocks me to send email at them.
   the remote email servers that blocks mine are using different systems:

   220 X1 NT-ESMTP Server correo.servidoresdns.net (IMail 6.06 13762-1)
   220 mail1.telefonica.es ESMTP Service (Lotus Domino Release 5.0.5) ready at Sat, 14 
Jul 2001 15:22:13 +0200

e) the only coincidence is that the remote hosts that blocks mine probably are using 
M$ dns server.

f) i-m running potato with kernel 2.4.4 and with bind 8.2.3-0 on that server and I-ve 
been moving dns zones for more than 200 domains recently from an old primary dns 
server with bind to this one.

g) remote admins tell me that they are not blocking my hosts and dns config are ok.

what should I do ?

Jaume Teixi
   CTO
   6TEMS - Ducform, SA
   http://www.6tems.com


--  
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: strange smtp blockings

2001-07-14 Thread Jaume Teixi

On Fri, 13 Jul 2001 13:33:05 +
Alex Borges <[EMAIL PROTECTED]> wrote:

> >rblcheck doesn-t show any block for its ip

> My guess is you got banned for open relayingcheck 
> www.mail-abuse.org...i happen to be a first hand expert on this 
> issue...heh..:)

rblcheck ~
~ not RBL filtered by blackholes.mail-abuse.org
~ not RBL filtered by dialups.mail-abuse.org
~ not RBL filtered by relays.mail-abuse.org
~ not RBL filtered by or.orbl.org
~ not RBL filtered by orbz.gst-group.co.uk
~ not RBL filtered by relays.ordb.org

its not a rbl issue

teixi.


--  
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




strange smtp blockings

2001-07-13 Thread Jaume Teixi

hello,

one of my servers has problems sending mail to anothers: Connection Deferred

its not a sendmail issue because telnetting the hosts at 25 also is blocked
rblcheck doesn-t show any block for its ip
other ips on same range are not blocked on that hosts
it happens on some kind of hosts on different networks and with different mail systems
on hosts.allow i-ve sendmail: all and on hosts.deny ALL: PARANOID

I cannot understand this issue, any points?

tx!

jaume teixi.


--  
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: sendmail

2001-06-22 Thread Jaume Teixi
hello

on day of Fri, 22 Jun 2001 08:45:48 +0200, the message from "Craig"
<[EMAIL PROTECTED]> says:

> Ahoy there maties
> 
> Was wondering if there is a set of sendmail config files similar to
RedHats 
> sendmail-cf.rpm  in Debian, which I can use with m4 to general my config


here everything (and more :) is on the sendmail's .deb

the configuration files are based on m4 and stored under /etc/mail

http://packages.debian.org/sendmail


on day of Fri, 22 Jun 2001 15:42:07 +0200, the message from "Craig"
<[EMAIL PROTECTED]> says:

> Hi debian dudes
> 
> What is sendmail-wide for ?

is sendmail with the patches from the wide project as explained:
http://packages.debian.org/sendmail-wide
http://www.wide.ad.jp/

regards

teixi.




Re: sendmail

2001-06-22 Thread Jaume Teixi

hello

on day of Fri, 22 Jun 2001 08:45:48 +0200, the message from "Craig"
<[EMAIL PROTECTED]> says:

> Ahoy there maties
> 
> Was wondering if there is a set of sendmail config files similar to
RedHats 
> sendmail-cf.rpm  in Debian, which I can use with m4 to general my config


here everything (and more :) is on the sendmail's .deb

the configuration files are based on m4 and stored under /etc/mail

http://packages.debian.org/sendmail


on day of Fri, 22 Jun 2001 15:42:07 +0200, the message from "Craig"
<[EMAIL PROTECTED]> says:

> Hi debian dudes
> 
> What is sendmail-wide for ?

is sendmail with the patches from the wide project as explained:
http://packages.debian.org/sendmail-wide
http://www.wide.ad.jp/

regards

teixi.


--  
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




ldap based isp

2001-02-01 Thread Jaume Teixi

Hi

I would like to know which kind of alternatives people usually uses for installing an 
ldap based isp

I'm usually setting up a webmail (twig) with courier-imap trough openldap

I would like to know if people usally uses sendmail, qmail, postmail with system 
accounts or with ldap
Also if there's a kind of solution for having users on a database

regards,

--
Jaume Teixi
CTO
6TEMS - Ducform, SA
http://www.6tems.com




--  
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




help: my cron is getting crazy

2000-12-21 Thread Jaume Teixi

now one of my debian servers reports to me this:

---
Subject:
Cronroot test -e /usr/sbin/anacron || run-parts --report
/etc/cron.daily
/bin/sh: root: command not found
/etc/cron.daily/modutils:
rm: cannot remove `/var/log/ksymoops/20001216062615.ksyms': No such file
or directory
/etc/cron.daily/standard:
mv: ./status.yesterday.1.gz: No such file or directory
gzip: ./status.yesterday.0.gz: No such file or directory
gzip: ./status.yesterday.0.gz: No such file or directory
mv: ./status.yesterday.0.gz: No such file or directory
/etc/cron.daily/sysklogd:
gzip: /var/log/syslog.0.gz: No such file or directory
gzip: /var/log/syslog.0.gz: No such file or directory
gzip: /var/log/syslog.0: No such file or directory
mv: /var/log/syslog.0.gz: No such file or directory
---
Subject:
Cron  test -e /usr/sbin/anacron || run-parts --report
/etc/cron.daily
/etc/cron.daily/modutils:
rm: cannot remove `/var/log/ksymoops/20001216062615.modules': No such
file or directory
/etc/cron.daily/standard:
mv: ./status.yesterday.3.gz: No such file or directory
mv: ./status.yesterday.2.gz: No such file or directory
mv: ./setuid.changes.4.gz: No such file or directory
gzip: ./setuid.changes.0: No such file or directory
mv: ./setuid.changes.0.gz: No such file or directory
mv: setuid.changes.new: No such file or directory
mv: setuid.today: No such file or directory
/etc/cron.daily/sysklogd:
mv: /var/log/syslog.1.gz: No such file or directory
mv: /var/log/syslog.new: No such file or directory
---

someone could helpe on this errors ?
please answer directly

thanks,
jaume


--  
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




help building apache

2000-10-25 Thread Jaume Teixi

I don't need mod_auth_dbm  and I get this errors compiling,
so how to disable this ?

thanks,
jaume.


gcc -shared -o mod_auth_anon.so mod_auth_anon.lo -lm -lcrypt
gcc -c  -I../../os/unix -I../../include   -DLINUX=2 -DTARGET=\"apache\"
-DNO_DBM_REWRITEMAP -DUSE_HSREGEX -DUSE_EXPAT -I../../lib/expat-lite
`../../apaci` -fpic -DSHARED_MODULE mod_auth_dbm.c && mv mod_auth_dbm.o
mod_auth_dbm.lo
mod_auth_dbm.c:81: gdbm-ndbm.h: No such file or directory
make[5]: *** [mod_auth_dbm.so] Error 1
make[4]: *** [all] Error 1
make[3]: *** [subdirs] Error 1
make[3]: Leaving directory
`/usr/src/apache-1.3.12/build-tree/apache_1.3.12/src'
make[2]: *** [build-std] Error 2
make[2]: Leaving directory
`/usr/src/apache-1.3.12/build-tree/apache_1.3.12'
make[1]: *** [build] Error 2
make[1]: Leaving directory
`/usr/src/apache-1.3.12/build-tree/apache_1.3.12'
make: *** [build-stamp] Error 2



--  
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




help on build apache 1.3.12 on potato

2000-10-25 Thread Jaume Teixi

I get a lot of errors, so someone has been able to build apache 1.3.12
on potato

I need some help points,

thanks
jaume.


--  
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




help: how install sendmail 8.11 with old libc6

2000-10-24 Thread Jaume Teixi

hi,

I have a potato server running oracle who uses sendmail and apache from
woody
Last week I switched sources.list to woody to upgrade sendmail and
apache.
This causes upgrade of libc6, as I succesfully upgraded on a other
server (a completelly woody one) I had no surprise.. but...
...oracle 8.1.6 (release 2) doesn't works with libc6 2.1.95

So I need to downgrade to libc6 2.1.3 but then apache and sendmail
woodies ones doesnt' works now with libc6 2.1.3

well,
which methods I have for installing apache and sendmail from woody
deb-src using old libc6 ?


bests,
jaume.


--  
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




libc6 2.1.95 --> crashes oracle

2000-10-23 Thread Jaume Teixi

I post this regarding recent upgrade of libc6 on woody causes oracle 8.1.6
stops working...can't create new db's

any points or suggest,  are wellcome,
jaume.


--  
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




which cgi to handle cgis...

2000-09-26 Thread Jaume Teixi
which cgi to handle cgis and statdistics ?

thanks,
jaume




which cgi to handle cgis...

2000-09-26 Thread Jaume Teixi

which cgi to handle cgis and statdistics ?

thanks,
jaume


--  
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: rewrite and change document root on apache

2000-09-06 Thread Jaume Teixi
problem is that

Document Root for each virtual host is on
  /var/www/www.virtualhost1.com
and I'm trying to forward http://www.virtualhost1.com/stats  to 
  /var/reports/www.virtualhost1.com

so rewrite rule

RewriteRule  ^/stats(.*)/var/reports/%{SERVER_NAME}$1  [PT]

really looks for
  /var/www/www.virtualhost1.com/var/reports/www.virtualhost1.com

not to
/var/reports/www.virtualhost1.com


how to handle this:(  


bests&thanks,
jaume.




Re: rewrite and change document root on apache

2000-09-06 Thread Jaume Teixi

problem is that

Document Root for each virtual host is on
  /var/www/www.virtualhost1.com
and I'm trying to forward http://www.virtualhost1.com/stats  to 
  /var/reports/www.virtualhost1.com

so rewrite rule

RewriteRule  ^/stats(.*)/var/reports/%{SERVER_NAME}$1  [PT]

really looks for
  /var/www/www.virtualhost1.com/var/reports/www.virtualhost1.com

not to
/var/reports/www.virtualhost1.com


how to handle this:(  


bests&thanks,
jaume.


-- 
Unsubscribe?  mail -s unsubscribe [EMAIL PROTECTED] < /dev/null




rewrite and change document root on apache

2000-09-06 Thread Jaume Teixi
thank you Craig,
I've setup Document Root for each virtual host on
/var/www/www.virtualhost1.com

I made stats for each virtual host on
/var/reports/www.virtualhost1.com

On Apache I want to forward http://virtualhost1.com/stats to
/var/reports/virtualhost1.com

I've setup:

Alias/reports/  /var/reports/
RewriteRule  ^/stats(.*)/reports/%{SERVER_NAME}$1

but Alias has no effect on rewrite and is looking from default Document
Root:
/var/www/www.virtualhost1.com/reports/www.virtualhost1.com

and produces a 404  :(


bests,
jaume.




Re: Apache mod_rewrite and Alias ?

2000-09-05 Thread Jaume Teixi
thank you Craig,

I've tried both on global and on vhost config but has no effect for
rewrite
engine

any points how to get that /stats pointing ot differeent _document_root
?

thanks
jaume.

Craig Sanders wrote:

> On Tue, Sep 05, 2000 at 11:22:56AM +0000, Jaume Teixi wrote:
> > RewriteRule ^/stats(.*)/reports/%{SERVER_NAME}$1
> >
> > but it only forwards to   /_document_root_/reports/virtualhost.com
>
> ok, so the rewrite rule is working.
>
> > as I see on rewrite log then reports 404
> > so Alias /reports/var/reportshas no effect
> >
> > how to enable rewrite and then alias to change document_root path ?¿
>
> is the Alias in the global httpd config, or in a particular vhost config?
>
> try putting it in the global config.  also try putting it in each vhost's
> config.
>
> craig
>
> --
> craig sanders




Re: Apache mod_rewrite and Alias ?

2000-09-05 Thread Jaume Teixi

thank you Craig,

I've tried both on global and on vhost config but has no effect for
rewrite
engine

any points how to get that /stats pointing ot differeent _document_root
?

thanks
jaume.

Craig Sanders wrote:

> On Tue, Sep 05, 2000 at 11:22:56AM +0000, Jaume Teixi wrote:
> > RewriteRule ^/stats(.*)/reports/%{SERVER_NAME}$1
> >
> > but it only forwards to   /_document_root_/reports/virtualhost.com
>
> ok, so the rewrite rule is working.
>
> > as I see on rewrite log then reports 404
> > so Alias /reports/var/reportshas no effect
> >
> > how to enable rewrite and then alias to change document_root path ?¿
>
> is the Alias in the global httpd config, or in a particular vhost config?
>
> try putting it in the global config.  also try putting it in each vhost's
> config.
>
> craig
>
> --
> craig sanders


--  
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: Apache mod_rewrite and Alias ?

2000-09-05 Thread Jaume Teixi
hi

RewriteRule ^/stats(.*)/reports/%{SERVER_NAME}$1

but it only forwards to   /_document_root_/reports/virtualhost.com
as I see on rewrite log then reports 404
so Alias /reports/var/reportshas no effect

how to enable rewrite and then alias to change document_root path ?¿


thanks,
jaume.




Craig Sanders wrote:

> On Mon, Sep 04, 2000 at 06:20:09PM +0000, Jaume Teixi wrote:
> > I'm still getting 404  RewriteLog shows:
> >
> > ' pattern='^www\.[^.]+$' => not-matched
> >
> > whats happening ?
>
> i wasn't paying enough attention to your rules. they can't work as
> written. you want to look at the SERVER_NAME variable, not HTTP_HOST.
>
> also, turn on mod_rewrite logging, and increase the log level to help
> diagnose any faults. the rule below is untested, you'll probably have to
> tweak it a bit to get it working.
>
> remember to set loglevel back to 0 or 2 or whatever once you've got it
> working.  high logging levels will slow down your apache server.
>
> try something like:
>
> RewriteLog "/var/log/apache/rewrite.log"
> Rewrite Loglevel 9
>
> RewriteEngine on
> RewriteRule ^/stats(/.*)
> /reports/%{SERVER_NAME}$1
>
> alternatively:
>
> RewriteRule ^/stats/(.*)
> /reports/%{SERVER_NAME}/$1
>
> (without testing, i'm not sure which form is better).
>
> you still need the Alias definition from my last message.
>
> then make sure that your stats processing software puts the results in a
> subdirectory under /var/reports which has exactly the same name as the
> ServerName keyword in the the ... config.
>
> e.g. if you have a virtual host with ServerName www.foo.com then the
> reports for that host should go in /var/reports/www.foo.com/
>
> craig
>
> --
> craig sanders

--
Jaume Teixi
Administrador de Sistemes
6TEMS - Ducform, SA
http://www.6tems.com






Re: Apache mod_rewrite and Alias ?

2000-09-05 Thread Jaume Teixi

hi

RewriteRule ^/stats(.*)/reports/%{SERVER_NAME}$1

but it only forwards to   /_document_root_/reports/virtualhost.com
as I see on rewrite log then reports 404
so Alias /reports/var/reportshas no effect

how to enable rewrite and then alias to change document_root path ?¿


thanks,
jaume.




Craig Sanders wrote:

> On Mon, Sep 04, 2000 at 06:20:09PM +0000, Jaume Teixi wrote:
> > I'm still getting 404  RewriteLog shows:
> >
> > ' pattern='^www\.[^.]+$' => not-matched
> >
> > whats happening ?
>
> i wasn't paying enough attention to your rules. they can't work as
> written. you want to look at the SERVER_NAME variable, not HTTP_HOST.
>
> also, turn on mod_rewrite logging, and increase the log level to help
> diagnose any faults. the rule below is untested, you'll probably have to
> tweak it a bit to get it working.
>
> remember to set loglevel back to 0 or 2 or whatever once you've got it
> working.  high logging levels will slow down your apache server.
>
> try something like:
>
> RewriteLog "/var/log/apache/rewrite.log"
> Rewrite Loglevel 9
>
> RewriteEngine on
> RewriteRule ^/stats(/.*)/reports/%{SERVER_NAME}$1
>
> alternatively:
>
> RewriteRule ^/stats/(.*)/reports/%{SERVER_NAME}/$1
>
> (without testing, i'm not sure which form is better).
>
> you still need the Alias definition from my last message.
>
> then make sure that your stats processing software puts the results in a
> subdirectory under /var/reports which has exactly the same name as the
> ServerName keyword in the the ... config.
>
> e.g. if you have a virtual host with ServerName www.foo.com then the
> reports for that host should go in /var/reports/www.foo.com/
>
> craig
>
> --
> craig sanders

--
Jaume Teixi
Administrador de Sistemes
6TEMS - Ducform, SA
http://www.6tems.com




--  
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: Apache mod_rewrite

2000-09-04 Thread Jaume Teixi
I'm still getting 404  RewriteLog shows:

' pattern='^www\.[^.]+$' => not-matched

whats happening ?

thanks,
jaume.

Craig Sanders wrote:

> On Wed, Aug 30, 2000 at 10:18:14PM +, Jaume Teixi wrote:
> > I need to do the following in order to access stats for each based
> > virtual host
> >
> > when typing url   www.virtualhost1.com/stats  or
> > www.virtualhost99.com/stats
> > server page located under  /var/reports/virtualhost1   or
> > /var/reports/virtualhost99
> >
> > I've tryed on my httpd.conf:
> >
> > RewriteEngine   on
> > RewriteCond %{HTTP_HOST}^www\.[^.]+$
> > RewriteRule ^(.+)   %{HTTP_HOST}$1  [C]
> > RewriteRule ^www\.([^.]+)(.*)/stats/var/reports/$1
> >
> > Apache produces a 404
> >
> > any points to fix this ?
>
> mod_rewrite rewrites the url, you're confusing it with the path to the
> files.
>
> try setting up a global Alias like so:
>
> Alias /reports/ /var/reports/
>
> then use mod_rewrite to rewrite the URL "www.virtual.com/stats" to
> "www.virtual.com/reports/virtual.com/".  the rewrite above should work, but
> the final line should be:
>
> RewriteRule ^www\.([^.]+)(.*)/stats/reports/$1
>
> another way of doing it is to just have a symlink in their document root.
>
> craig
>
> --
> craig sanders
>
> --
> Unsubscribe?  mail -s unsubscribe [EMAIL PROTECTED] < /dev/null




Re: Apache mod_rewrite

2000-09-04 Thread Jaume Teixi

I'm still getting 404  RewriteLog shows:

' pattern='^www\.[^.]+$' => not-matched

whats happening ?

thanks,
jaume.

Craig Sanders wrote:

> On Wed, Aug 30, 2000 at 10:18:14PM +, Jaume Teixi wrote:
> > I need to do the following in order to access stats for each based
> > virtual host
> >
> > when typing url   www.virtualhost1.com/stats  or
> > www.virtualhost99.com/stats
> > server page located under  /var/reports/virtualhost1   or
> > /var/reports/virtualhost99
> >
> > I've tryed on my httpd.conf:
> >
> > RewriteEngine   on
> > RewriteCond %{HTTP_HOST}^www\.[^.]+$
> > RewriteRule ^(.+)   %{HTTP_HOST}$1  [C]
> > RewriteRule ^www\.([^.]+)(.*)/stats/var/reports/$1
> >
> > Apache produces a 404
> >
> > any points to fix this ?
>
> mod_rewrite rewrites the url, you're confusing it with the path to the
> files.
>
> try setting up a global Alias like so:
>
> Alias /reports/ /var/reports/
>
> then use mod_rewrite to rewrite the URL "www.virtual.com/stats" to
> "www.virtual.com/reports/virtual.com/".  the rewrite above should work, but
> the final line should be:
>
> RewriteRule ^www\.([^.]+)(.*)/stats/reports/$1
>
> another way of doing it is to just have a symlink in their document root.
>
> craig
>
> --
> craig sanders
>
> --
> Unsubscribe?  mail -s unsubscribe [EMAIL PROTECTED] < /dev/null


--  
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Apache mod_rewrite

2000-08-30 Thread Jaume Teixi
I need to do the following in order to access stats for each based
virtual host

when typing url   www.virtualhost1.com/stats  or
www.virtualhost99.com/stats
server page located under  /var/reports/virtualhost1   or
/var/reports/virtualhost99

I've tryed on my httpd.conf:

RewriteEngine   on
RewriteCond %{HTTP_HOST}^www\.[^.]+$
RewriteRule ^(.+)   %{HTTP_HOST}$1  [C]
RewriteRule ^www\.([^.]+)(.*)/stats/var/reports/$1

Apache produces a 404

any points to fix this ?

Bests,
jaume.




Apache mod_rewrite

2000-08-30 Thread Jaume Teixi

I need to do the following in order to access stats for each based
virtual host

when typing url   www.virtualhost1.com/stats  or
www.virtualhost99.com/stats
server page located under  /var/reports/virtualhost1   or
/var/reports/virtualhost99

I've tryed on my httpd.conf:

RewriteEngine   on
RewriteCond %{HTTP_HOST}^www\.[^.]+$
RewriteRule ^(.+)   %{HTTP_HOST}$1  [C]
RewriteRule ^www\.([^.]+)(.*)/stats/var/reports/$1

Apache produces a 404

any points to fix this ?

Bests,
jaume.


--  
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Proftpd 226 message

2000-08-30 Thread Jaume Teixi
After upgrading proftp to 1.2.0pre10-2 now when an user connect to ftp
site, for each directory that browsers on gets stupid message:

226-Transfer complete.
226 Quotas off

how to disable this ?¿

thanks,
jaume.




Apache vhosts dinamically alias

2000-08-30 Thread Jaume Teixi
I have each virtual host under /var/www
I want to enable a virtualhostA.com/stats URL that points to
/var/stats/virtualhostA.com
same for virtualhostB, etc

I've tried

Alias /%1/stats/var/stasts/%1 with no success

any Ideas?

thanks,
jaume.





Proftpd 226 message

2000-08-30 Thread Jaume Teixi

After upgrading proftp to 1.2.0pre10-2 now when an user connect to ftp
site, for each directory that browsers on gets stupid message:

226-Transfer complete.
226 Quotas off

how to disable this ?¿

thanks,
jaume.


--  
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Apache vhosts dinamically alias

2000-08-30 Thread Jaume Teixi

I have each virtual host under /var/www
I want to enable a virtualhostA.com/stats URL that points to
/var/stats/virtualhostA.com
same for virtualhostB, etc

I've tried

Alias /%1/stats/var/stasts/%1 with no success

any Ideas?

thanks,
jaume.



--  
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Which software to suck a whole website ?

2000-07-11 Thread Jaume Teixi
thanks,

jaume.




Which software to suck a whole website ?

2000-07-11 Thread Jaume Teixi

thanks,

jaume.


--  
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




it's safe to run a web hosting server with the unstable distributions ?

2000-04-10 Thread Jaume Teixi
or better frozen or stable ?



mod_ssl help

2000-03-30 Thread Jaume Teixi
Once time I've the package mod_ssl and openssl, where can I find the
step by step procedure for build ssl on my apache ?

thanks
begin:vcard 
n:Teixi;Jaume
tel;fax:972 46 31 14
tel;work:972 46 30 50
x-mozilla-html:TRUE
url:http://www.6tems.com
org:6TEMS;Ducform, SA
adr:;;Pla de l'Estany, s/n;CASSÀ DE LA SELVA;Girona;17244;Spain
version:2.1
email;internet:[EMAIL PROTECTED]
title:Administrador de Sistemes
x-mozilla-cpt:;3
fn:Jaume Teixi
end:vcard


Webserver stats for customers

2000-03-29 Thread Jaume Teixi
Wich one do you recomend for use with apache and separate stats for each
domain ?

thanks
begin:vcard 
n:Teixi;Jaume
tel;fax:972 46 31 14
tel;work:972 46 30 50
x-mozilla-html:TRUE
url:http://www.6tems.com
org:6TEMS;Ducform, SA
adr:;;Pla de l'Estany, s/n;CASSÀ DE LA SELVA;Girona;17244;Spain
version:2.1
email;internet:[EMAIL PROTECTED]
title:Administrador de Sistemes
x-mozilla-cpt:;3
fn:Jaume Teixi
end:vcard


Apache VH hackers

2000-03-27 Thread Jaume Teixi
I've setup this in order to not to restart apache each time I enter a
new customer:

My problem is How To config that *.customer1.com points to
www.customer1.com ?
with:
ServerAlias %0 www.%0
I've no results...


ServerNamecustomers.mydomain.com
CustomLog /var/customers/logs/access_customers.log
vcommon
VirtualDocumentRoot   /var/customers/webs/%0
VirtualScriptAlias/var/customers/webs/%0/cgi-bin


On /var/customers/webs/ I put each directory as www.customer1.com
www.customer2.com, etc.



thanks!



Apache Virtual Hosts How To

2000-03-24 Thread Jaume Teixi
Whats the nice dynamically configured httpd.conf that could handle the
following

root.domain.comgoes to /var/www
domain.com goes to /var/www
www.domain.com goes to /var/www/domain
webs.domain.comgoes to /var/www/webs
www.customer1.com  goes to /var/www/webs/www.customer1.com
customer1.com  goes to /var/www/webs/www.customer1.com
www.customerN.com  goes to /var/www/webs/www.customerN.com
customerN.com  goes to /var/www/webs/www.customerN.com

many bests !
begin:vcard 
n:Teixi;Jaume
tel;fax:972 46 31 14
tel;work:972 46 30 50
x-mozilla-html:TRUE
url:http://www.6tems.com
org:6TEMS;Ducform, SA
adr:;;Pla de l'Estany, s/n;CASSÀ DE LA SELVA;Girona;17244;Spain
version:2.1
email;internet:[EMAIL PROTECTED]
title:Administrador de Sistemes
x-mozilla-cpt:;3
fn:Jaume Teixi
end:vcard


Steps for a Virtual Hosting Apache server with SSL

2000-03-15 Thread Jaume Teixi
Can you help me on the right steps in order to build an apache server
for vitual hosting with or without SSL on each domain. what's the best
SSL implementation on Apache, which certificate I need to buy, etc..
thanks!

begin:vcard 
n:Teixi;Jaume
tel;fax:972 46 31 14
tel;work:972 46 30 50
x-mozilla-html:TRUE
url:http://www.6tems.com
org:6TEMS;Ducform, SA
adr:;;Pla de l'Estany, s/n;CASSÀ DE LA SELVA;Girona;17244;Spain
version:2.1
email;internet:[EMAIL PROTECTED]
title:Administrador de Sistemes
x-mozilla-cpt:;3
fn:Jaume Teixi
end:vcard