Hey guys,
I am wondering which FastCGI Module is the recommended one to use.
As far as I see it, there are two:
mod_fastcgi and mod_fcgid
I am planning on spawning my php fastcgi backends with php-fpm.
Which module is the way to go right now to connect Apache to those backends?
Regards,
Samy
-
Hey Apache Guys,
Is there any way that I can allow my users to use mod_rewrite without
allowing them to set their own ErrorDocument?
AllowOverride FileInfo is allows both of them. Can I somehow get a finer
grained control over this?
Can I disable setting ErrorDocument while allowing mod_rewrit
e
without "AllowOverride FileInfo" ?
Joshua Slive schrieb:
On 7/30/07, Samuel Vogel <[EMAIL PROTECTED]> wrote:
Hey Apache Guys,
Is there any way that I can allow my users to use mod_rewrite without
allowing them to set their own ErrorDocument?
AllowOverride FileInfo is allows both
What would be the best way to rewrite sub.domain.com to /sub while using
a wildcard?
I know how to do it on a per subdomain basis, but is there a way to do
this for all subdomains (except www) to the folder name ?
Thanks,
Samy
---
I forgot to specify what i want/need.
I want to specifically know how the mod_rewrite solution works, because
I don't see how I can user the subdomain from RewriteCond in the
RewriteRule statement...
Joshua Slive schrieb:
On 8/4/07, Samuel Vogel <[EMAIL PROTECTED]> wrote:
Wh
e appropriate folder.
Regards,
Samy
Joshua Slive schrieb:
On 8/4/07, Samuel Vogel <[EMAIL PROTECTED]> wrote:
I forgot to specify what i want/need.
I want to specifically know how the mod_rewrite solution works, because
I don't see how I can user the subdomain from RewriteCo
right now /shop is appended 10 times
until the maximum redirects is exceeded...
How can I do this?
Joshua Slive schrieb:
On 8/6/07, Samuel Vogel <[EMAIL PROTECTED]> wrote:
Hey, this is my best guess:
RewriteEngine On
RewriteCond %{HTTP_HOST} !^www\.
RewriteCond %{HTTP_HOST} ^([^.]
have many 50+ vHosts. Do I have to add the rewriting
to every vHost or is it also valid if I put the rewriting into the
Directory-clause of the Directory containing the DocRoots of the vHosts?
Regards,
Samy
Joshua Slive schrieb:
On 8/7/07, Samuel Vogel <[EMAIL PROTECTED]> wrote:
Doing
This is how my vHost looks like now:
ServerName samy.newkilu.de
ServerAlias *.samy.newkilu.de
DocumentRoot /data/apache/samy/www
RewriteEngine On
RewriteCond %{HTTP_HOST} !^www\.
RewriteCond %{HTTP_HOST} ^([^.]+)\.samy\.newkilu\.de
Hey,
It will make startup and restarts slower and will increase the memory
usage somewhat. There will also be some effect on run-time
performance, but it probably won't be too big.
What exactly is it about the vhost config that is too complicated for
dynamic vhosts? Some things can be worked aro
Well, my guess is that the performance hit from using mod_cband (which
needs to lock/read/write a text database on every request) is
significantly bigger than the performance hit from simply adding a
vhost section.
Is mod_cband really that big of a performance hit?
ErrorDocument 404 /error
I have to questions regarding Apache:
1. With my setup I will have config files that are as big as 10mb, since
I have complicated vhost config and 5000 vhosts. Will this slow Apache
down significantly or have any other negative impact?
The Problem is that the vhost config is to complicated for
Hey,
I'm just tried to setup my Apache with 2000 vHosts and it was my Idea to
give them seperate access logs.
But Apache complains about opening too many files. I know this is
restriction linux puts on the users, but I don't know how to change this...
[Tue Aug 14 16:37:33 2007] [error] (24)To
I'm running apache with about 4.000 vHosts on a DualCore 2,6 Opteron
with 4GB of memory. I'm wondering why Apache takes up all my CPU time:
top - 12:30:56 up 3 days, 20:42, 1 user, load average: 17.70, 18.06, 17.96
Tasks: 322 total, 22 running, 298 sleeping, 0 stopped, 2 zombie
Cpu(s): 98
(P.S. Sorry, something went wrong with the formating of my last mail!)
I'm running apache with about 4.000 vHosts on a DualCore 2,6 Opteron
with 4GB of memory. I'm wondering why Apache takes up all my CPU time:
top - 12:30:56 up 3 days, 20:42, 1 user, load average: 17.70, 18.06,
17.96
Task
or an indication perhaps.
Any reason that there are three(3) instances of 'apache2' running ?
Cheers,
Cameron
-Original Message-----
From: Samuel Vogel [mailto:[EMAIL PROTECTED]
Sent: Saturday, 25 August 2007 20:35
To: users@httpd.apache.org
Subject: Re: [EMAIL PROTECTED] Apache taking
I tuned the prefork settings and all works well now!
Should have done that before posting here ;)
Vincent Bray schrieb:
On 25/08/07, Samuel Vogel <[EMAIL PROTECTED]> wrote:
Actually there are more than 10 instances running.
This is just the way the prefork MPM works.
Does anybody els
Hey,
I have 3 domains with various subdomains. The domains are kilu.de,
kilu2.de and kilu3.de
I want that all requests to [www.]kilu2.de or [www.]kilu3.de are
redirected to [www.]kilu.de.
Now I'm looking for the best mod_rewrite solution. Here is what I got
right now:
RewriteEngine On
Hey,
Right now on one of my Servers, Apache is taking up most of my CPU time,
and has spawned 6 to 8 processes, that all us between 20 % and 30 % of
my CPU.
My guess is, that a PHP Skript is causing this!
How could I investigate further to find out what file/skript an certain
apache process i
Hey,
The delivery of my sites is getting somewhat sluggish, so I checked top
and it say that 30% of my CPU time is just waiting for i/o.
Is there anything that I can do about this, as in optimizing Apache?
I'm thinking about caching mechnisms, but I have now over 6.000 sites
running, so I'm no
ching, if somes sites
are more requested than others, it might help. Or cache only some urls.
Check if you don't have a database or cgi/php code that make lots of i/o.
--
Bj
On 9/18/07, *Samuel Vogel* < [EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]>> wrote:
Hey,
The d
Hey people,
I would like to know if there is any way to debug what vhost is causing
the high load on my harddrive, that I'm experiencing.
To be more specific:
When I run "top", 80% of my CPU time is in i/o wait. How could I find
out, what vhost is causing this?
Regards,
Samy
---
/*/access_log
It should become obvious very quickly -- unless it's a CGI/PHP script
running a disk-intensive code block.
~BAS
On Sat, 2007-09-29 at 17:08 +0200, Samuel Vogel wrote:
Hey people,
I would like to know if there is any way to debug what vhost is causing
the high load on my hard
Hey guys,
My Apache Server at kilu.de is taking pretty long to answer requests,
even thou the system doesn't seem to have a high load.
Also as soon as I start Apache, every try to start some other process
results in:
# ls
-bash: fork: Cannot allocate memory
The output of top (started before I
You should probably take a look at MySQL Proxy:
http://dev.mysql.com/tech-resources/articles/proxy-gettingstarted.html
It can do exactly what you want and much more ;)
Regards,
Samy
Marc Perkel schrieb:
Hi Everyone,
I'm hosting a lot of domains for a lot of people who have a lot of
MySQL app
Sorry, I have not yet tried it. But I definitely will try it in the
future ;)
Because it has a very interesting set of features.
Regards,
Smay
Marc Perkel schrieb:
Have you actually tried this? Do you have sample scripts? Is there any
one who has tried MySQL Proxy and made it work?
Samuel
Hey guys,
I am running Apache 2.2 and did try out mod_log_mysql to make my logs to
to an mysql table. Unfortunately I do run apache in prefork mode and in
peak times, there are arround 700 processes running.
The bad thing is that mod_log_mysql makes a new mysql connection for
every single thre
Hey guys,
I am running Apache 2.2 and did try out mod_log_mysql to make my logs
to to an mysql table. Unfortunately I do run apache in prefork mode
and in peak times, there are arround 700 processes running.
The bad thing is that mod_log_mysql makes a new mysql connection for
every single thre
Hey guys,
I do experience a weird issue. This has been going on for some time though.
Apache adds 3 weird looking charakters to the top of some HTML pages:

The real file on the command prompt starts like this:
I guess this is an encoding issue. But my config file does contain a
"AddD
Ok, I did think that not saving as UTF8 was the problem:
But is there some on the fly workaround? Since some of my users seem to
be to dumb to do it by there selfs.
Regards,
Samy
Joshua Slive schrieb:
On Nov 8, 2007 2:01 PM, Samuel Vogel <[EMAIL PROTECTED]> wrote:
Hey guys,
Hey guys,
I am wondering why my Server-Status shows the following:
509-0-0/0/53. 0.96197800.00.000.48
::1beta.kilu.deGET / HTTP/1.0
510-0-0/0/52. 0.37196100.00.009.51
::1beta.kilu.deGET / HTTP/1.0
511
Hey guys,
As I'm upgrading my servers (Debian Etch) to apache 2.2.6 I'm wondering
what optimizations can be done at compile time.
I bet there are some aggressive gcc flags or other tricks. Almost
everything that can be a module is a module in the Debian Apache. Since
I only load the modules I
I know that it will also depend on the content Apache servers, but I bet
I can also tweak performance & memory consumption at compile time.
Regards,
Samy
[EMAIL PROTECTED] schrieb:
Actually IIRC memory consumption will depend on your site if it's a
static or dynamic..
I did some tweak on ./co
Hey guys,
I am looking for a way to put my rewrite rule for subdomains outside of
each virtual host into the global config to safe space and simplify my
configuration.
Here is what I tried. We own the domains kilu.de, kilu2.de and
netgag.de. And we give username.kilu.de to our users. Our users
Hey guys,
I have a question about mod_filter. I would like to run an output filter
only if the content is not compressed and it's type is text/html. I have
tried the following:
FilterDeclare addcomment
FilterProvider addcomment LAYOUT resp=Content-Encoding !$gzip
FilterProvider addcomment LAY
Is it really not possible to connect 2 mod_filter matches? Isn't there
some kind of workarround?
Regards,
Samy
Samuel Vogel schrieb:
Hey guys,
I have a question about mod_filter. I would like to run an output
filter only if the content is not compressed and it's type is
text/ht
t this? Or is writing it here on the list already
sufficient?
Regards,
Samy
Samuel Vogel schrieb:
While playing around with mod_filter i tried to do the following to
add a filter to every page that is not gzipped:
FilterProvider addcomment LAYOUT resp=Content-Encoding !$gzip
But that did n
While playing around with mod_filter i tried to do the following to add
a filter to every page that is not gzipped:
FilterProvider addcomment LAYOUT resp=Content-Encoding !$gzip
But that did never apply the filter. On the other hand, applying by
Content-Type works perfectly well:
FilterProvi
How it should work:
FilterProvider foo LAYOUT resp=Content-Encoding !$gzip
FilterProvider addcomment foo resp=Content-Type $text/html
i.e. once you've declared foo, you can chain it by using it
as a provider for your new filter.
The bad news (speaking from memory) is, I don't think that's
full
with this on list, or off-list ?
Regards,
Samy
Nick Kew schrieb:
On Fri, 23 Nov 2007 21:51:50 +0100
Samuel Vogel <[EMAIL PROTECTED]> wrote:
The bad news (speaking from memory) is, I don't think that's
fully implemented as of now (did you try it?). I don't think
I recol
put money
into getting a bug fixed, which does not fix our problem.
Does anybody know?
Regards,
Samy
Samuel Vogel schrieb:
Sounds Great. Problem is, that we are a German free host (kilu.de) and
do not display ads on the user pages. This is why we can not support
any real development efforts.
But
I did file a bug report:
http://issues.apache.org/bugzilla/show_bug.cgi?id=43956
I also tried what you suggested. Inflating the content if it's gzip and
then running mod_layout.
But that did not work:
FilterDeclare removegzip CONTENT_SET
FilterProvider removegzip inflate resp=Content-Encoding
Hey guys,
I just noticed a really bad security problem on my servers!
The following RewriteRule exposes my system directories like /etc and
/var etc. :
RewriteCond %{HTTP_HOST} !^www\.user\.domain\.de
RewriteCond %{HTTP_HOST} ^(www.)?([a-z0-9-]+)\.user\.domain\.de
RewriteRule (.*) /%2/$1 [L]
I guess I would have to mention, that this is inside of the virtual host
definition!
Samuel Vogel schrieb:
Hey guys,
I just noticed a really bad security problem on my servers!
The following RewriteRule exposes my system directories like /etc and
/var etc. :
RewriteCond %{HTTP_HOST} !^www
? Maybe there is some trick I don't know about?
Regards,
Samy
Vincent Bray schrieb:
On 13/12/2007, Samuel Vogel <[EMAIL PROTECTED]> wrote:
I just noticed a really bad security problem on my servers!
The following RewriteRule exposes my system directories like /etc and
/var etc.
Vincent Bray schrieb:
On 13/12/2007, Samuel Vogel <[EMAIL PROTECTED]> wrote:
I did that, but unfortunately it breaks something else, which worked
before. When a page in a subdirectory tried to get an image from an
directory relative to the docroot, that does not work anymore.
This
w-data www-data 0 2007-12-13 20:20 /data/apache/rewrite.log
Does the errorlog snippet already contain enough information? If not so,
then please hint me towards how to obtain the Rewrite log!
Regards,
Samy
Vincent Bray schrieb:
On 13/12/2007, Samuel Vogel <[EMAIL PROTECTED]> wrote:
I don
47 matches
Mail list logo