All you need to do is paste the line provided in the previous email anywhere in
the config. A good spot to place it, so that you know it's right, is say the
line right before NameVirtualHost.
---
Graham Frank
(608) 359-1593
Neoservers LLC -
To edit the config, you could use a program like "nano"
Commands to run:
cd /path/to/apache
nano -w httpd.conf
Now edit the file as described.
To save: ctrl+x
Choose "y" to save
Restart apache.
-------
Graham Frank
(608) 359-1593
N
What commands did you run to see which process is on port 443?
netstat -nlp
If you haven't already, try that. It will show you which process is on which
port.
---
Graham Frank
(608) 359-1593
Neoservers LLC - http://www.neoservers.com/
Founder/
only 45gb has been moved each day.
Anyone have any insight to this?
OS: CentOS 4.0
Pentium 4 2.8ghz system
---
Graham Frank
-
The official User-To-User support forum of the Apache HTTP Server
Order Allow,Deny
Allow from 192
Deny from All
That would return a 403 Forbidden error for anything not connecting from a
192. IP address.
---
Graham Frank
(608) 359-1593
Neoservers LLC (http://www.neoservers.com/)
Founder and Owner
rname and runs httpd:httpd.
Thanks!
-------
Graham Frank
Neoservers LLC (http://www.neoservers.com/)
Founder and Owner
-
The official User-To-User support forum of the Apache HTTP Server Project.
See http://h
Heh, what's funny is that the PHP docs actually suggest that (but using
Directory).
Anyway, I've come up with another solution, so this is resolved.
-Graham Frank
-
The official User-To-User support forum of the A
Did you make sure to add
AddHandler application/x-httpd-php .php
to your httpd.conf? If not, Apache won't read the php.
---
Graham Frank
-Original Message-
From: Matthew Williamson
Date: 2/20/06 3:00 pm
To: users@httpd.apache.org
Subj: [
Check for the file /etc/rc.d./init.d/httpd
If it exists, then go ahead and edit it with any text editor and change the
httpd path. That way, it will start your custom apache instead of the one
which came with your os.
-Graham
-Original Message-
From: Roger <[EMAIL PROTECTED]>
Subj:
hanks again, but what do i edit in that httpd file
On Mon, 2006-03-13 at 02:39 -0600, Graham Frank wrote: Check for the file
/etc/rc.d./init.d/httpd If it exists, then go ahead and edit it with any text
editor and change the httpd path. That way, it will start your custom apache
instead
Hello all,
I am having a very strange issue with mod_rewrite.
I am in the process of preparing a new web server to production, and I
have been testing the various scripts and programs we use to verify
that everything works properly. My major issue is that a specific
rewrite rule that works
Hey all,
Does anyone know information about the "event" MPM and when it might leave the
experimental status? Also, is there any chatter of new MPM's that grow on
worker?
I've been wanting to give event a try, but I can put it into production,
obviously.
Thanks!
-Graham
---
If that message happens for the same reason it happens in linux, then your
httpd.conf is missing the following line:
addtype application/x-httpd-php .php
Restart apache. Your apache install should start reading .php properly.
-Graham
--
ad the line, but had a slight syntax error.
Bob
Graham Frank <[EMAIL PROTECTED]> wrote:
If that message happens for the same reason it happens in linux, then your
httpd.conf is missing the following line:
addtype application/x-httpd-php .php
Restart apache. Your apache install
Another option would be to check the server port:
if ( $_SERVER['SERVER_PORT'] != 443 ) {
header("Location: https://$_SERVER['HTTP_HOST']{$PHP_SELF}");
}
That will force redirection to port 443 if the user accesses via 80. Another
solution is to check against http method, but I cannot remembe
Hey all,
I have been having some strange segfaults come though which I really don't
know how to describe or understand for that matter.
Apr 17 19:22:32 kirika kernel: httpd[15642]: segfault at 002a9ae21274
rip 002a95fccbeb rsp 4d2008a0 error 4
Apr 17 19:22:32 kirika kernel: httpd[
... And the great Graham Frank forgets to include system specs! Argh ... it
has been one of those days.
OS: CentOS 4.3 x86_64 (2.6.9-34-ELsmp)
Graham Frank - (608) 359-1593
Neoservers LLC (http://www.neoservers.com
What about the event MPM? They list it as changed in the core enhancements,
but it is still an experimental MPM. What's keeping it out of the
production circuit?
--Graham
-Original Message-
From: Paul Querna [mailto:[EMAIL PROTECTED]
Sent: Sunday, April 30, 2006 11:09 PM
To: dev@httpd.
aham
From: "William A. Rowe, Jr." <[EMAIL PROTECTED]>
Subj: Re: [EMAIL PROTECTED] Apache HTTP Server 2.2.2 Released
Date: Mon May 1, 2006 6:55 am
Size: 754 bytes
To: users@httpd.apache.org
Graham Frank wrote:
> What about the event MPM? They list it as changed in the core en
I'll check it out tonight I suppose.
--Graham
-Original Message-
From: "William A. Rowe, Jr." <[EMAIL PROTECTED]>
Subj: Re: [EMAIL PROTECTED] Apache HTTP Server 2.2.2 Released
Date: Mon May 1, 2006 7:25 am
Size: 994 bytes
To: users@httpd.apache.org
Graham Frank wr
tes
To: users@httpd.apache.org
On Monday 01 May 2006 13:04, Graham Frank wrote:
> Give it a whirl, ey? Oh how tempting ... Worker peaks at 800 workers in
> the daytime. I could definantly give event a whirl if I were willing to
> place it onto a mission critical web server.
Come to Apa
Hey,
What OS? What version of Apache? Could you show us an output of "free -m"?.
What are the server specs?
--Graham
-Original Message-
From: Bennett Haselton <[EMAIL PROTECTED]>
Subj: [EMAIL PROTECTED] performance prob due to httpd's piling up
Date: Sun May 7, 2006 11:24 pm
Size
's nothing left for them to do, and would it increase
performance if I could make them go away?
-Bennett
At 11:39 PM 5/7/2006 -0500, Graham Frank wrote:
>Hey,
>
>What OS? What version of Apache? Could you show us an output of "free
>-m"?. What are the se
d make them go away?
-Bennett
At 11:39 PM 5/7/2006 -0500, Graham Frank wrote:
>Hey,
>
>What OS? What version of Apache? Could you show us an output of "free
>-m"?. What are the server specs?
>
>--Graham
>
>-Original Message-
>
>From:
sts are successful (and they almost always are),
I'd assume that means the client got back a complete response from the
server, after which the server can close the connection.
-Bennett
At 12:07 AM 5/8/2006 -0500, Graham Frank wrote:
>Eek! Missed the second part of the post.
&
ive were off (no K's).
That's all! Thanks for responses.
--Graham Frank
-
The official User-To-User support forum of the Apache HTTP Server Project.
See http://httpd.apache.org/userslist.html> for more info.
To unsu
A bug you say? Yay! I've contributed. Any way, moving along.
I understand that it does that, but the Apache server-status lists all
threads. Shouldn't that thread be visible as something other than working?
--Graham Frank
-Original Message-
From: [EMAIL PROTECTED] [mai
eable difference: With all of the KeepAlive requests being sent to
the support thread rather than having a worker thread idle, the
server-status is much more clean. This beats having to stare at 300 or so
K's in a row.
--Graham Frank
-Original Message-
From: [EMAIL PROTECTED] [mai
Hello,
It appears that you do not have PHP installed. You can download PHP at
www.php.net and compile it as an apache module using --with-apxs2=/path/to/apxs
--Graham Frank
-Original Message-
From: "Noah" <[EMAIL PROTECTED]>
Subj: [EMAIL PROTECTED] Invalid command
Check if the libphp4.so file is listed in the httpd.conf file in the LoadModule
section.
LoadModule php4_module modules/libphp4.so
tho modules could be libexec or any other directory apache places its modules.
--Graham Frank
-Original Message-
From: "Noah" <[EMAIL PRO
Try looking for just "libphp". I'm not all that great with FreeBSD (I don't
use it), so I can't help you with the ports. If all else fails, you could
try and compile your own PHP from source? This should guarantee the
creation of the libphp4.so file.
--Graham Fra
so that we have time to catch
this before it closes out new connections.
Would this be a nifty bug?
Thanks.
--Graham Frank
-
The official User-To-User support forum of the Apache HTTP Server Project.
See http://httpd.
The requests span a wide range of IP addresses and aren't dropping into
KeepAlive. They are all in the W working state.
The link I included (www.animeforum.com/jakiao/kirika.pdf) is the
server-status output.
--Graham Frank
-Original Message-
From: Brian Rectanus [mailto:[
is exactly because of what server-status
says: It's still reading the request, and that includes the IP.
--Graham Frank
-Original Message-
From: Sergey Tsalkov [mailto:[EMAIL PROTECTED]
Sent: Sunday, May 28, 2006 12:50 PM
To: users@httpd.apache.org
Subject: [EMAIL PROTECTED] need he
Is everyone else being flooded by this guy, or is it just me? Ive gotten
at least 50 in the past few minutes.
--Graham
From: hui xu [mailto:[EMAIL PROTECTED]
Sent: Friday, June 23, 2006 10:34 AM
To: users@httpd.apache.org; [EMAIL PROTECTED]
Cc: users@ht
Hello,
I am having an issue sending mail to the list. For some reason, the message
I've been trying to send is being bounced back due to a high spam score,
which makes no sense. I've never had problems sending before.
Is there any way to prevent this?
Thanks.
--Graham
ent: Saturday, February 17, 2007 10:56 PM
To: users@httpd.apache.org
Subject: Re: [EMAIL PROTECTED] Question for List Admin
Send an exact copy of your bounce (complete headers please!!!) to
[EMAIL PROTECTED] with an indication of the problem.
It seems to be working now, perhaps it was the nature of your
a
Hey,
System Specs:
Apache 2.2.4 using worker MPM
Dual Opteron 270 x86_64
I'm noticing in my access_log the following:
- - [16/Feb/2007:23:27:19 -0500] "CONNECT :25
HTTP/1.0" 200 100482
By the looks of it, it's accepting the request and following through? How
can I block connections like these
ny way to get it to start using the other cores (I
bought these CPU's to utilize the cores, not give them all vacation
time, heh).
Thanks!
--Graham Frank
-
The official User-To-User support forum of the Apache HTTP Ser
Yeah, probably should have mentioned that I'm using Apache 2.2.4.
-
The official User-To-User support forum of the Apache HTTP Server Project.
See http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: [E
ections to port 80.
----
Graham Frank
Neoservers LLC - Founder and Owner
Ph: (608) 359-1593
Member of the Better Business Bureau
- Original Message -
From: "Karri K." <[EMAIL PROTECTED]>
To:
Sent: Saturday, July 21, 2007 5:36 PM
Subject: [EMAIL PROTECTED] Newbie problems,
l
need to get a DNS service running on your PC, setup the nameservers, and
need multiple IP addresses (two).
Check out http://httpd.apache.org/docs/2.2/vhosts/ for VirtualHost help.
----
Graham Frank
Neoservers LLC - Founder and Owner
Ph: (608) 359-1593
Member of the Better Business Bureau
where you purchased your domain will allow you to specify an IP that they
will send it to. If you can do that, then you don't even need to worry
about the DNS.
----
Graham Frank
Neoservers LLC - Founder and Owner
Ph: (608) 359-1593
Member of the Better Business Bureau
-Original Me
The way no-ip works is that they give you a hostname, e.g. you.no-ip.com.
You could host that by setting up a directive in httpd.conf
which uses: "ServerName you.no-ip.com"
----
Graham Frank
Neoservers LLC - Founder and Owner
Ph: (608) 359-1593
Member of the Better Busin
The default location is the one that you specified. If you edit that file
then it SHOULD update on your localhost in your browser.
Look around for any mention of "DocumentRoot" to see if you have anything
else specified that might be what you're actually seeing.
----
Graham Frank
o "All" in httpd.conf
and any .
Graham Frank
Neoservers LLC - Founder and Owner
Ph: (608) 359-1593
Member of the Better Business Bureau
-Original Message-
From: Karri K. [mailto:[EMAIL PROTECTED]
Sent: Sunday, July 22, 2007 2:54 AM
To: users@httpd.apache.org
Subject: [EMA
is correct.
Be sure to remove any other default directives so as to make
sure that you aren't accidently loading from the wrong one.
And it goes without saying, but I'll ask it nonetheless: You are restarting
Apache after editing httpd.conf, correct?
Graham Frank
Neoservers LLC
cify the DNS in the
virtual host config is because Apache is processing both the Apache config
values for ServerName AND the Virtual Host config values for ServerName.
----
Graham Frank
Neoservers LLC - Founder and Owner
Ph: (608) 359-1593
Member of the Better Business Bureau
-Original Me
pache.org
On 7/27/07, Graham Frank <[EMAIL PROTECTED]> wrote:
> It sounds like Apache just can't resolve the hostname. One thing you could
> do is edit the /etc/hosts file and add "127.0.0.1 hostname.com". Since
> resolving a hostname will check /etc/hosts first,
Hey,
That's most likely your issue right there. A fully qualified domain name
takes the format "domain.ext" as in "apache.org". Try changing it to
something like "max.local" or something to that extent.
Graham Frank
Neoservers LLC - Founder and Own
It would error when it was in the VirtualHost because that directive only
applied to the VirtualHost. With it in the main config, it applies globally
to everything.
I hope that answers the question.
Graham Frank
Neoservers LLC - Founder and Owner
Ph: (608) 359-1593
Member of the Better
Hey,
Look for "Port" or "Listen" directives in your httpd.conf file. What do you
see? You should see something line:
Listen 80
Listen 443
Or
Port 80
Port 443
Graham Frank
Neoservers LLC - Founder and Owner
Ph: (608) 359-1593
Member of the Better Business Burea
Hey,
The first question everyone is going to ask is: What version of Apache are
you using, what modules, what OS, and 32 or 64-bit?
Graham Frank
Neoservers LLC - Founder and Owner
Ph: (608) 359-1593
Member of the Better Business Bureau
From: [EMAIL PROTECTED]
[mailto:[EMAIL
Hey,
Try this in .htaccess:
RewriteEngine on
RewriteRule ^.*$ index.html
Basically, anything and everything will land them on index.html.
Graham Frank
Neoservers LLC - Founder and Owner
Ph: (608) 359-1593
Member of the Better Business Bureau
-Original Message-
From: Rob
Note: The overhead for a rule like this is minimal at best. I've used rules
like this in the past on very active websites with no noticeable impact on
the systems load.
Graham Frank
Neoservers LLC - Founder and Owner
Ph: (608) 359-1593
Member of the Better Business Bureau
-Ori
Try adding:
DocumentRoot "C:\WWW"
ServerName phuckersoft.org
ServerAlias <http://www.phuckersoft.org> www.phuckersoft.org
Then restart Apache.
----
Graham Frank
Neoservers LLC - Founder and Owner
Ph: (608) 359-1593
Member of the Better Business Bureau
Yeah, ignore mine. I realized it was erroneous after sending it. Figured
someone would point that out.
Graham Frank
Neoservers LLC - Founder and Owner
Ph: (608) 359-1593
Member of the Better Business Bureau
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED
h,/usr/bin/lynx
Then to execute the commands in Apache, run "/usr/bin/sudo
/path/to/command".
Hopefully this will be acceptable (I'm assuming the configuration scripts
try to execute commands on the server that would require root privs).
Graham Frank
Neoservers LLC - Founde
blem if I don't know what the problem is or any clues hinting to it.
Thanks!
--------
Graham Frank
(608) 359-1593
Neoservers LLC (http://www.neoservers.com
issue, but instead it is just extremely
active.
We've never had these issues before. They just started showing up a few weeks
ago.
I will see about running the access log for a short period of time.
Thanks.
-------
Graham Frank
(608) 359-1593
Neoservers
Yeah, we're in the process of getting a new web server to replace this one.
We didn't change the php configuration or anything like that. We did add a new
caching program to php, but I removed it for five days, and the errors still
popped up.
-------
Gr
You also asked about how the crash works? When the child returns the error,
the Apache parent process dies and Apache goes completely offline. I have to
manually restart Apache.
---
Graham Frank
(608) 359-1593
Neoservers LLC - http://www.neoservers.com/
Founder
Hello,
Have you added the "AddHandler application/x-httpd-php .php" to your Apache
config or .htaccess file? Unless you do that, Apache won't know to process
.php as a PHP file.
----
Graham Frank
Neoservers LLC - Founder and Owner
Ph: (608) 359-1593
Member of the Better
Hey,
Stupid question, but did you restart Apache after making this change?
Graham Frank
Neoservers LLC – Founder and Owner
Ph: (608) 359-1593
Member of the Better Business Bureau
-Original Message-
From: Chris Arnold [mailto:[EMAIL PROTECTED]
Sent: Saturday, December 01, 2007 7
again.
Apache has PHP 5.2.5 compiled in as a DSO module using Apache 2.2.3. The
server is an Intel Xeon 5300 sequence server using the Linux kernel
2.6.18-53.1.4.el5smp.
Can anyone offer up an explanation for this? Thanks.
Graham Frank
Neoservers LLC - Founder and Owner
Ph: (608
Hey,
We actually have the MaxRequestsPerChild set to 1000 and KeepAlive off.
Know of any way that we could find the leak considering the vastness of all
the possibilities?
Thanks.
Graham Frank
Neoservers LLC Founder and Owner
Ph: (608) 359-1593
Member of the Better Business Bureau
impacted by the other procs?
Graham Frank
Neoservers LLC - Founder and Owner
Ph: (608) 359-1593
Member of the Better Business Bureau
-Original Message-
From: Graham Frank [mailto:[EMAIL PROTECTED]
Sent: Thursday, January 10, 2008 8:19 PM
To: users@httpd.apache.org; [EMAIL
Hi,
It looks like that's the case, yes.
Graham Frank
Neoservers LLC - Founder and Owner
Ph: (608) 359-1593
Member of the Better Business Bureau
-Original Message-
From: Eric Covener [mailto:[EMAIL PROTECTED]
Sent: Friday, January 11, 2008 7:15 AM
To: users@httpd.apach
Correct me if I'm wrong, but should RLimitMem help prevent the RSS value
from going insane? I disabled my Perl script on one of the web servers
today, and after 11 hours each process got up to a RSS of 550MB each.
Graham Frank
Neoservers LLC - Founder and Owner
Ph: (608) 359-1593
Memb
Yeah, I read that part. But, I could always hope that the documentation was
wrong. Haha.
This is just mind-numbingly annoying.
Graham Frank
Neoservers LLC Founder and Owner
Ph: (608) 359-1593
Member of the Better Business Bureau
-Original Message-
From: Torsten Foertsch
Hello,
You need to set the permissions on the file to allow Apache to read the
config file. Try setting the permissions on config.inc.php to 0644 or 0755.
Graham Frank
Neoservers LLC - Founder and Owner
Ph: (608) 359-1593
Member of the Better Business Bureau
From: Oteng
care to lend some advice? We're open to anything at this point.
Graham Frank - Neoservers, LLC
Founder and Owner
Accredited Member of the Better Business Bureau
Ph: (608) 359-1593
On the http://httpd.apache.org page, for both of the last releases it has
stated something along the lines of:
"This version of Apache is a major release and the start of a new stable
branch, and represents the best available version of Apache HTTP Server. New
features include Smart Filtering, Imp
73 matches
Mail list logo