Hi,
mod_proxy currently drives me crazy.
I have a webserver running sarge, which has a local network connection
to a windows box running a fastreport server
I have this bit of configuration in sarges apache:
ProxyPass /test http://192.168.0.1:1234/result
Connecting to this through the local network works (from windows->sarge):
http://192.168.0.1:1234/result?report=test.fr3&format=pdf (I get the pdf)
But this does not:
http://www.mysite.net/test?report=test.fr3&format=pdf
It seems to attack the windows box with the correct url, but somehow
it does not get the pdf file back.
Is redirects my browser to this non-existing url:
http://www.mysite.net/sid_f1052558031/result.pdf
Here a part of the apache log:
[Thu Nov 09 16:20:59 2006] [debug]
/home/skx/apache2-2.0.54/build-tree/apache2/modules/proxy/proxy_http.c(67):
proxy: HTTP: canonicalising URL //192.168.0.1:1234/result
[Thu Nov 09 16:20:59 2006] [debug]
/home/skx/apache2-2.0.54/build-tree/apache2/modules/proxy/mod_proxy.c(418):
Trying to run scheme_handler
[Thu Nov 09 16:20:59 2006] [debug]
/home/skx/apache2-2.0.54/build-tree/apache2/modules/proxy/proxy_http.c(1075):
proxy: HTTP: serving URL
http://192.168.0.1:1234/result?report=test.fr3&format=pdf
[Thu Nov 09 16:20:59 2006] [debug]
/home/skx/apache2-2.0.54/build-tree/apache2/modules/proxy/proxy_http.c(186):
proxy: HTTP connecting
http://192.168.0.1:1234/result?report=test.fr3&format=pdf to
192.168.0.1:1234
[Thu Nov 09 16:20:59 2006] [debug]
/home/skx/apache2-2.0.54/build-tree/apache2/modules/proxy/proxy_util.c(1139):
proxy: HTTP: fam 2 socket created to connect to 192.168.0.1
[Thu Nov 09 16:20:59 2006] [debug]
/home/skx/apache2-2.0.54/build-tree/apache2/modules/proxy/proxy_http.c(336):
proxy: socket is connected
[Thu Nov 09 16:20:59 2006] [debug]
/home/skx/apache2-2.0.54/build-tree/apache2/modules/proxy/proxy_http.c(370):
proxy: connection complete to 192.168.0.1:1234 (192.168.0.1)
[Thu Nov 09 16:21:07 2006] [debug]
/home/skx/apache2-2.0.54/build-tree/apache2/modules/proxy/proxy_http.c(909):
proxy: start body send
[Thu Nov 09 16:21:07 2006] [debug]
/home/skx/apache2-2.0.54/build-tree/apache2/modules/proxy/proxy_http.c(969):
proxy: end body send
[Thu Nov 09 16:21:07 2006] [error] [client 1.2.3.4] File does not exist:
/home/www-data/mysite.net/sid_f1052558031
Can someone tell me what's wrong here...?
regards,
yves
Hi,
shortly after (K)ubuntu Edgy Eft came out, I installed it
on my brand-new PC (32bit Version, so as to be able to use
flash and w32codecs without going through chroot).
Now, I've had the surprise at least three times that the
machine would just suddenly start accessing the disk a
lot, and essentially freeze - for a good while.
Just earlier tonight this happened again, while I had
"top" running, as well as the superkaramba theme "aio".
Thanks to these two, I got to see how "kio_thumbnail"
simply gobbled up resources (CPU, RAM and swap maxing
out - we're talking Athlon X2 4600+ with 1GB RAM and
1GB swap) in no time at all, no chance to even get a
shell to kill the process.
I was using konqueror as filemanager at the time, but
not in any directory with lots of files.
I googled a bit, but didn't find much interesting info
on this issue. Is anyone aware of specific problems
with kio_thumbnail?
TIA, Eric
On Wednesday 01 November 2006 23:06, Michel Kohl wrote:
> Hello Yves,
Hello,
> well, because of the soft_bounce, the faulty Emails will stay in your
> queue. I should investigate a little bit more to find out a solution
> for you. I'm not an postfix expert :), but can use Google.
What I did so far is specify
local_recipient_maps=mysql:/etc/postfile/filename.bla
with a simple query to check if the requested mailbox exists... I will
see tomorrow if it helped...
Thanks for your input!
Yves
> Regards,
> Michel
>
> Yves Glodt schrieb:
> > On Wednesday 01 November 2006 20:52, Michel Kohl wrote:
> >> Hello Yves,
> >
> > Hello Michel,
> >
> >> you must switch off the parameter soft_bounce.
> >
> > this parameter was actually switched off by default, but then we
> > got problems because the server sent unsolicited bounces, because
> > the spam was sent with faked From-adresses of real domains (and we
> > got blacklisted because of sending these bounces)...
> >
> > But we changed/tried a lot of config settings since then, so if you
> > will tell me I should switch it off again with my current config I
> > will try that... :-)
> >
> > Yves
> >
> >> soft_bounce = no
> >>
> >> cu, Michel
--
Linux 2.6.17-10-generic #2 SMP Fri Oct 13 18:45:35 UTC 2006 i686
23:11:40 up 4:25, 1 user, load average: 0.30, 0.12, 0.09
On Wednesday 01 November 2006 20:52, Michel Kohl wrote:
> Hello Yves,
Hello Michel,
> you must switch off the parameter soft_bounce.
this parameter was actually switched off by default, but then we got
problems because the server sent unsolicited bounces, because the spam
was sent with faked From-adresses of real domains (and we got
blacklisted because of sending these bounces)...
But we changed/tried a lot of config settings since then, so if you will
tell me I should switch it off again with my current config I will try
that... :-)
Yves
> soft_bounce = no
>
> cu, Michel
Hello Folks,
a mailserver we administer is currently under heavy attack by spam, that
is, we get *tons* (100+/second) of messages to addresses like
johndoe(a)mydomain.lu.
This mailbox johndoe of course does not exist. Here an extract of the
log:
Nov 1 19:55:53 roma postfix/virtual[21113]: 780104B0E7:
to=<root(a)mydomain.lu>, orig_to=<postmaster@localhost>, relay=virtual,
delay=341690, status=SOFTBOUNCE (unknown user: "root(a)mydomain.lu")
Some how it seems the send message remains in one of the postfix queues,
and causes a general slowdown of mail handling of the server.
I just want it to drop these (anyway) undeliverable messages, but fail
to set this up...
The main.cf is attached. Help is appreciated... / me desperate ... :-|
regards,
Yves
p.s.
I am not an expert with postfix, the mailserver runs fine since 6 month.
The mentioned problems started 3 days ago only.
--
Linux 2.6.17-10-generic #2 SMP Fri Oct 13 18:45:35 UTC 2006 i686
19:54:01 up 1:07, 1 user, load average: 0.11, 0.09, 0.07
Hi
I have a little problem with vi
In kubuntu Dapper it was possible to move the cursor with the cursor
keys not only in command mode but also in editing mode. Since I use the
new kubuntu edgy eft, this isn't possible in editing mode. The only
thing that appears is letters and new lines.
How do I turn the old manner on, to move the cursor with cursor keys,
even if in editing mode?
The other keys (Home,End.......) don't work either.
Alex
----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.
Hi
I installed kubuntu dapper on a machine. All went fine.
After changing the proxy variable into http_proxy="blafasel:8080" , apt
refuses to work with the "excuse":
Failed to fetch blabla/sources.gz Cannot initialize the connection to
8080:80 (0.0.31.144) . - connect (22 Invalid argument).
Why does it interpret the variable wrong? The variable is only taken
after the :
Can anybody help me?
Al
----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.
Hi
I have deleted the fstab of my system. How can I create a new one?
(I don't wanna do it manually, but a script should do it, it does it
while installing, but how is it called?
Thanx
Al
----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.
Hi all,
I need to edit an MS Project file, which I have
both in the original .mpp format, as well as the
XML export.
It would seem that "planner" is not able to open
either file.
Running MS Project in wine is not an option, as
I don't have the program available.
No, redrawing the thing in planner is not an
option either, only viewing the file is not
sufficient either.
Can anyone point me to a solution?
TIA, Eric
Hello
Is there anybody out there :-) going to the Meeting and passing Esch? I
rather have difficulties to drive at night so I am asking if someone
could catch me @ Esch and deposit me there after the meeting.
Thanx
Al
----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.