i found a client connected to the process but could not find the client's
ip number in any of the logs of the server. so i assume its some remote
application that is hitting directly the offending script. but how do i
get to that?!? like somebody mentioned it's probably not written in the
logs u
>>>
Anyone have any pointers on getting php scripts to run from the cgi-bin
directory? I can run php scripts fine so long as they are not in the
default
cgi-bin folder.
>
>
> Hmmm... I'm guessing this person wants to run the php module, not php
> as a CGI. Hence the problem is th
Any pointers Joshua
On Fri, 10 Jun 2005 abc wrote :
>Hi experts...
>
>Our new Apache 1.3's perl module is reading a file. Now even if I delete that file, the app works because Apache is caching that file. The problem is it not picking up the changes made to that file. So we have to restart t
On 6/9/05, Ivan Barrera A. <[EMAIL PROTECTED]> wrote:
> Jean-Christophe Montigny wrote:
> > (be aware, that is an obvious question)
> >
> > Do you have the line
> > #/usr/bin/php
>
> #!/path/to/exe
>
>
>
> > (or whatever your path to php is) at its beginning?
> >
> > As well, you cannot send ra
Hi experts...
Our new Apache 1.3's perl module is reading a file. Now even if I delete that file, the app works because Apache is caching that file. The problem is it not picking up the changes made to that file. So we have to restart the Apache every time we change the file. We don't want that.
Well, if you have a fix, you've got yourself a customer...
I've got time to patch, recompile and test.
-ascs
-Original Message-
From: Nick Kew [mailto:[EMAIL PROTECTED]
Sent: Thursday, June 09, 2005 1:03 AM
To: users@httpd.apache.org
Subject: Re: [EMAIL PROTECTED] ProxyPassReverse in c
While my answer to the other thread about php scripts not running might
not work for that case, it is obvious it applies in yours..
You need to send the string Content-type: text/html
before sending any data, or it fails with error 500.
Google for the exact string.
Miguel - Globalview wrote:
In addition, if this helps, I get this info in suexec.log:
"emerg: failed to setuid (10082: php431)"
Miguel - Globalview wrote:
Hello all!
I am facing a weird thing with running any binary or script of any
language, PHP or Shell script in my Apache.
When I run the .PHP script, error_log show
On 6/9/05, Krist van Besien <[EMAIL PROTECTED]> wrote:
> Hello,
>
> We run a web portal for mobile phones. The problem we have is that
> some phones have buggy web clients, that sometimes sent bursts of 200
> or more of identical requests, that overwhelm the application server
> our webserver for
On 6/8/05, Florian Lindner <[EMAIL PROTECTED]> wrote:
> Hello,
> how can I limit the traffic which certain files generate in a certain time.
> For example: I don't want downloading of the file xyz.iso to generate more
> traffic that 10 GB per month?
> I'm using Apache 2.
There is no easy way to do
Here it goes:
# Initialise an environment variable with some stuff
RewriteCond %{ENV:DN}=""
RewriteRule .* - [E=DN:/A/B/C/D]
# Substitute a / in DN with _ and start over again (N-flag) until there are
no more /
RewriteCond %{ENV:DN}(.*)/
Open the file, save it as another name, and try it again. The header may be
corrupt or something. While many graphics apps overlook that stuff, I do not
think browsers are smart enough to do so. I assume you are sure that it is a
.gif, because if not it could just be a mime issue.
-Origin
Miguel - Globalview wrote:
> "... Premature end of script headers:
> In addition, I created a test shell script testing, that usually works
> fine:
> "#!/bin/sh
> echo " Just for testing purposes...";
This isn't a correct CGI. A Cgi should start by sending back some
'headers', minimal requirements
Jean-Christophe Montigny wrote:
> (be aware, that is an obvious question)
>
> Do you have the line
> #/usr/bin/php
#!/path/to/exe
> (or whatever your path to php is) at its beginning?
>
> As well, you cannot send raw data just like a normal php script.
> Just like any CGI you need to send the
(be aware, that is an obvious question)
Do you have the line
#/usr/bin/php
(or whatever your path to php is) at its beginning?
As well, you cannot send raw data just like a normal php script.
Just like any CGI you need to send the string
Content-type: text/html
there's another line but I cannot
Hello all!
I am facing a weird thing with running any binary or script of any
language, PHP or Shell script in my Apache.
When I run the .PHP script, error_log shows me:
"... Premature end of script headers:
/var/www/owner/any_domain.com/cgi-bin/php431"
Browser shows me:
"Internal Server Er
Anyone have any pointers on getting php scripts to run from the cgi-bin
directory? I can run php scripts fine so long as they are not in the default
cgi-bin folder. Alas, however, a survey program I am trying to test (not
written by me) needs to have its scripts in the cgi-bin folder for some
reaso
Hi,
i have a problem which is seem to be swamped with.
I want to make a substitute on a variable for later use in mod_rewrite.
I have users which are Authorizing themselves via ssl cleint auth
(mod_ssl and +FakeBasicAuth)
These users access all the same url (they are relatively dump
scripts)
Hi,
Thanks for the reply setting the directives did help.
But when we applied the load we are getting the same problem.
On Analysis we find that it turns out to be a segmentation fault.
strace - gives the following output:
[pid 20887] select(0, NULL, NULL, NULL, {1, 0}) = 0 (Timeout)
[pid 20887]
I also think that it is likely that a port is not freed quickly enough...
There are a couple of fixes in Apache 2.0.54 that may be relevant to this
problem: Refer to the changelist for details. I therefore think that it might
be worthwhile to try to reproduce the restart problem with 2.0.54.
Al
Hello,
We run a web portal for mobile phones. The problem we have is that
some phones have buggy web clients, that sometimes sent bursts of 200
or more of identical requests, that overwhelm the application server
our webserver forwards its requests to.
Is there a way to filter these requests out
Plain text please...
To recap, you upgraded from 1.3 to 2 and now you get occassional bus errors.
My guess is that certain requests are triggering a call to a function in an
extension module or library and that the module was compiled for 1.3 and is not
compatible with apache 2.
To find the re
Hi,
I am having an Apache 2 configuration running with Netegrity's (now Computer
Associates) SiteMinder mod_sm20 module and am trying to alter certain outgoing
headers with mod_headers.
However it doesnt seem to work as expect and I suspect that is because
mod_headers is possibly called prior
I am not sure whether you want to redirect any request for a URL path that
starts with /abc, or if only requests for /abc/ or /abc should be redirected. I
assumed the former:
RewriteRule ^/abc/ http://www.mynewsite.com/jsp/services/abc.jsp [R=301,L]
RewriteRule .* http://www.mynewsite.com/
24 matches
Mail list logo