RE: [EMAIL PROTECTED] NameVirtualHost question

2007-09-18 Thread Boyle Owen
> -Original Message-
> From: Néstor Boscán [mailto:[EMAIL PROTECTED] 
> Sent: Tuesday, September 18, 2007 8:17 AM
> To: users@httpd.apache.org
> Subject: RE: [EMAIL PROTECTED] NameVirtualHost question
> 
> The ones that comes with OracleAS 10.1.3

Your problem analysis seems to go like this:

1) Set up simple apache config (ie, VirtualHosts)
2) Fold in complicated proxy and DB stuff
3) Test whole thing
4) If doesn't work --> assume problem is in (1)

Why not proceed like this:

1) Set up simple apache config (ie, VirtualHosts with two different 
DocumentRoots)
2) Test that works
3) If doesn't work --> problem is in (1)
4) Fold in complicated proxy and DB stuff
5) Test that works
6) If doesn't work --> problem is in (4)

If you do this, I guess you will get past step 3 with no problem. This will 
give you confidence that the VH mechanism works and then you can focus on the 
real source of the problem.

My wild guess as to the real probelm; possibly the backend server is sending 
back a response that causes the client to make another request that doesn't 
contain a Host header...

Rgds,
Owen Boyle
Disclaimer: Any disclaimer attached to this message may be ignored. 

> 
> Regards,
> 
> Néstor Boscán 
> 
> -Mensaje original-
> De: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] En nombre de 
> Joshua Slive
> Enviado el: Lunes, 17 de Septiembre de 2007 03:20 p.m.
> Para: users@httpd.apache.org
> Asunto: Re: [EMAIL PROTECTED] NameVirtualHost question
> 
> On 9/17/07, Néstor Boscán <[EMAIL PROTECTED]> wrote:
> > Hi
> >
> > Thanks for the quick answer.
> >
> > But it didn't work. Tried that one and:
> >
> > NameVirtualHost *:80
> >
> 
> The one with *:80 in NameVirtualHost AND  is the right
> configuration. Don't screw with anything else.
> 
> The most common cause for requests not mapping to the proper 
> vhost (other
> than misconfiguration) is faulty third-party modules. What 
> modules are you
> using?
> 
> Joshua.
> 
> -
> 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: [EMAIL PROTECTED]
>"   from the digest: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> -
> 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: [EMAIL PROTECTED]
>"   from the digest: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
 
 
This message is for the named person's use only. It may contain confidential, 
proprietary or legally privileged information. No confidentiality or privilege 
is waived or lost by any mistransmission. If you receive this message in error, 
please notify the sender urgently and then immediately delete the message and 
any copies of it from your system. Please also immediately destroy any 
hardcopies of the message. You must not, directly or indirectly, use, disclose, 
distribute, print, or copy any part of this message if you are not the intended 
recipient. The sender's company reserves the right to monitor all e-mail 
communications through their networks. Any views expressed in this message are 
those of the individual sender, except where the message states otherwise and 
the sender is authorised to state them to be the views of the sender's company.

-
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: [EMAIL PROTECTED]
   "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[EMAIL PROTECTED] Question on need to restart Apache after adding/modifying module

2007-09-18 Thread Pravin
Hi,
Following is my understanding, and please correct me if I am wrong
anywere.

As per my understanding Apache uses plug-in architecture to increase
its functionality at runtime. For this, it uses modules
which are in form of  DSO's (Dynamic shared objects) (ie. .so .dll
etc...).
And it uses dlsym() and dlopen() like application programming
interface for dynamic linking loader to activate the DSO's as and when
they are needed.

If this is the way Apache implements its plug-in architecture then
why do we need to restart Apache when we add new module
or update existing module ?

As programming interface for dynamic linking loader allows you to open
new DSO, close existing DSO and reopen it again with newer version,
then is it not possible to update existing modules or load new
modules without restarting Apache ?

Can I know why exactly there is need to restart the Apache for new
module to get activated ?

Can I get pointers to some documentation or code which deals with how
exactly these new DSO's are loaded and how these newly added
modules come to life ? and why there is need for restarting Apache
when we add or modify any module ?

Regards,
Pravin Shinde

-
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: [EMAIL PROTECTED]
   "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [EMAIL PROTECTED] Location of Main configuration file

2007-09-18 Thread William A. Rowe, Jr.
Liao, Kexiao wrote:
> Is there an easy way to find the location of apache main configuration
> file(httpd.conf in most cases) in the Unix file system?

httpd -V (presuming you can find httpd) might be useful.  If relocated
you might need something like apachectl -V

-
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: [EMAIL PROTECTED]
   "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [EMAIL PROTECTED] Cannot rotate error logs in Apache 2.2.4!

2007-09-18 Thread William A. Rowe, Jr.
"Crash" Dummy wrote:
> I have tried the rotatelogs directive, I have tried the cronolog.exe utility, 
> I
> have tried the mod_log_rotate module, all with the same negative result. I can
> rotate the access logs, but I cannot rotate the error logs. Is there a 
> solution,
> or am I doomed to ever growing error logs?

Yes, it was bugged before 2.2.6 - but 2.2.6 in solving it introduces some
possible bugs depending on your mod_perl build, and with some third party
modules like mod_fcgid.

There will likely be a 2.2.6 binary by the end of this week, provided you
don't actually need mod_perl or mod_fcgid.  There's likely to be a brand
new binary after that (might be called 2.2.6 still, or not, with a new
apr library dependency) sometime in the next three weeks that rounds up
all of these bugs, takes them out to pasture and shoots them down.

Bill

-
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: [EMAIL PROTECTED]
   "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [EMAIL PROTECTED] 2000 vHosts and indiviual access logs

2007-09-18 Thread William A. Rowe, Jr.
Sander Temme wrote:
> 
>> Also I would like to know if so opening so many different files will
>> slow Apache down significantly?
> 
> Aside from the fact that it won't work at all on a default kernel (not
> sure where you would tweak this in the kernel source), yes this will
> likely negatively affect performance.

also look at mod_vhost_alias for a simpler configuration of mass quantities
of virtual hosts.  (Sorry some of these replies are so late, I'll try to
avoid dup answers).

You have a pretty massive config that will eat up some substantial resources.
vhost_alias is a lighter-weight approach to the problem.

-
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: [EMAIL PROTECTED]
   "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [EMAIL PROTECTED] Question on need to restart Apache after adding/modifying module

2007-09-18 Thread William A. Rowe, Jr.
Pravin wrote:
> 
> If this is the way Apache implements its plug-in architecture then
> why do we need to restart Apache when we add new module
> or update existing module ?

Three reasons;

  * fork() lets us create, say, 25 or 500 children, each identical, each
with a copy-on-write pointer to the very same configuration and binary
code pages.  Touch the third rail (modify that config in each child)
and the memory consumed 1x now balloons to 25x, or 500x.

  * it's not terribly safe to modify the configuration structures created
by httpd, they really are applied in a serial manner, not as some state
machine the config state.  Most platforms couldn't unlink a module and
replace it with the same (new build) of a module even if you tried in
a running process (why do you suppose you have to reboot after a kernel
patch anyways?)

  * Adding the sorts of features you suggest would substantially bloat
httpd; there's a reason why you must have a GB to run a windows box
anymore as a workstation :)  httpd's optimization is one core mission,
the fastest possible service of individual requests.  Not startup,
not teardown and not reconfiguration.

> Can I get pointers to some documentation or code which deals with how
> exactly these new DSO's are loaded and how these newly added
> modules come to life ? and why there is need for restarting Apache
> when we add or modify any module ?

Use the Source, Luke.  server/*.c and modules/mappers/mod_so.c should
be interesting to you.

-
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: [EMAIL PROTECTED]
   "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [EMAIL PROTECTED] Question on need to restart Apache after adding/modifying module

2007-09-18 Thread Pravin
>   * it's not terribly safe to modify the configuration structures created
> by httpd, they really are applied in a serial manner, not as some state
> machine the config state.  Most platforms couldn't unlink a module and
> replace it with the same (new build) of a module even if you tried in
> a running process (why do you suppose you have to reboot after a kernel
> patch anyways?)

I got this idea from kernel only...
if you compile any part of kernel as module, then you can insert, remove
or modify it and then re-insert the kernel-module without restarting
machine atall :-)
and Its not that memory expensive in case of kernel...

But as we are now talking about user-space process, things do change
I am not sure, but I think that it should be possible to do the same with
userspace processes also

>
>   * Adding the sorts of features you suggest would substantially bloat
> httpd; there's a reason why you must have a GB to run a windows box
> anymore as a workstation :)  httpd's optimization is one core mission,
> the fastest possible service of individual requests.  Not startup,
> not teardown and not reconfiguration.
>
I am not very clear about this trade off involved between speed/memory
and flexibility.
First I would like to be clear on whether its possible or not to have
kernel like modules
in userspace.

> > Can I get pointers to some documentation or code which deals with how
> > exactly these new DSO's are loaded and how these newly added
> > modules come to life ? and why there is need for restarting Apache
> > when we add or modify any module ?
>
> Use the Source, Luke.  server/*.c and modules/mappers/mod_so.c should
> be interesting to you.
Thanx,
I will surely go through them to see how it is done currently.


-- 
Regards,
Pravin Shinde

-
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: [EMAIL PROTECTED]
   "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [EMAIL PROTECTED] filters and handlers?

2007-09-18 Thread William A. Rowe, Jr.
Joshua Slive wrote:
> On 8/19/07, Per Jessen <[EMAIL PROTECTED]> wrote:
>> I've been re-reading the manual to try to gain a better understanding of
>> filters and handlers, specifically the difference between the two.
>>
>> The reason being -
>>
>> by default, the PHP interpreter is called as a handler (a typical
>> config: "AddHandler application/x-httpd-php .phtml".  By implementation
>> INCLUDES is a filter which is enabled using e.g.
>> "AddOutputFilter INCLUDES shtml".
>>
>> I'd like to have my files processed first by the INCLUDES filter, then
>> by the PHP handler.  The "AddOutputFilter" option clearly supports this
>> type of sequence.
>>
>> But back to my initial question - what is the functional difference
>> between a handler and a filter?
> 
> Handlers must originate the content themselves, whereas filters can
> deal with content passed down from someplace else.
> 
> PHP is only a handler, due to zend's requirement that it deal with the
> php file on disk and not in memory. (This was the argument at the
> time, anyway. I'm not sure if things in php land have evolved since
> that decision was made.) Therefore PHP must originate the content and
> can't act on content passed from someplace else like mod_include.

Substantially.  Thanks to John and I, and improvements in the Zend2
engine, it's quite a respectable filter now.

People are simply used to treating php as a handler.

That said; there can be only 1:1 handler for a request.  You can stack
many filters on top of that.

It's trivial to make a handler that is essentially printf("hello world!");

It's another thing to make a filter that decorates whatever comes up from
the core handler (e.g. "hello world!") and decorate it by processing it
in a scripting language or transforming it (e.g. into "hello world!"
or "HELLO WORLD!").

In a perfect world, there will be only a handful of handlers soon, such
as a filesystem handler, a database content record handler, etc.  Almost
everything else add-in modules do can be described as filtering, and once
they are a proper filter, things are much more pluggable.

-
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: [EMAIL PROTECTED]
   "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [EMAIL PROTECTED] Configuration issue with Apache HTPP Server

2007-09-18 Thread Uma Kalluru
Hi All,

I resolved the problem by un-installing PHP and did a manual installation of
PHP 5 and every thing went smoothly.

Thanks to all for your responses.

Regards,
Uma

On 9/17/07, Bj <[EMAIL PROTECTED]> wrote:
>
> I known that there's some issues with php and multithreaded httpd process.
> Maybe you can look this way.
>
> Try without alias and using the default directory. If it still don't work,
> it may comes from your apache installation.
> I can't help you on windows.
>
>
> --
> Bj
>
>
>
> On 9/17/07, Uma Kalluru <[EMAIL PROTECTED]> wrote:
> >
> > Hi Bj,
> >
> > Now I don't get any error in the logs. Below is the log stack trace. The
> > problem now I face is that the Apache server crashes. Stops by itself and
> > starts (but the icon doesn't show as started). I get Windows XP error
> > reporting tool pop up asking me to report the problem to Microsoft. Any
> > ideas?
> >
> > [Thu Sep 13 14:50:18 2007] [notice] Apache/2.0.59 (Win32) PHP/5.2.4
> > configured -- resuming normal operations
> > [Thu Sep 13 14:50:18 2007] [notice] Server built: Jul 27 2006 15:55:03
> > [Thu Sep 13 14:50:18 2007] [notice] Parent: Created child process 2928
> > [Thu Sep 13 14:50:19 2007] [notice] Child 2928: Child process is running
> > [Thu Sep 13 14:50:19 2007] [notice] Child 2928: Acquired the start
> > mutex.
> > [Thu Sep 13 14:50:19 2007] [notice] Child 2928: Starting 250 worker
> > threads.
> > [Thu Sep 13 14:53:34 2007] [error] [client 127.0.0.1] File does not
> > exist: E:/Software/ApacheHTTP/Apache2/htdocs/forum
> > [Thu Sep 13 14:55:25 2007] [notice] Parent: child process exited with
> > status 3221225477 -- Restarting.
> >
> > [Mon Sep 17 15:17:45 2007] [notice] Apache/2.0.59 (Win32) PHP/5.2.4
> > configured -- resuming normal operations
> > [Mon Sep 17 15:17:45 2007] [notice] Server built: Jul 27 2006 15:55:03
> > [Mon Sep 17 15:17:45 2007] [notice] Parent: Created child process 400
> > [Mon Sep 17 15:17:46 2007] [notice] Child 400: Child process is running
> > [Mon Sep 17 15:17:46 2007] [notice] Child 400: Acquired the start mutex.
> > [Mon Sep 17 15:17:46 2007] [notice] Child 400: Starting 250 worker
> > threads.
> > [Mon Sep 17 15:18:14 2007] [notice] Parent: child process exited with
> > status 3221225477 -- Restarting.
> > [Mon Sep 17 15:21:21 2007] [notice] Apache/2.0.59 (Win32) PHP/5.2.4
> > configured -- resuming normal operations
> > [Mon Sep 17 15:21:21 2007] [notice] Server built: Jul 27 2006 15:55:03
> > [Mon Sep 17 15:21:21 2007] [notice] Parent: Created child process 5156
> > [Mon Sep 17 15:21:22 2007] [notice] Child 5156: Child process is running
> > [Mon Sep 17 15:21:22 2007] [notice] Child 5156: Acquired the start
> > mutex.
> > [Mon Sep 17 15:21:22 2007] [notice] Child 5156: Starting 250 worker
> > threads.
> >
> >
> > http://localhost/forum/images/smiles/icon_cool.gif shows me the image in
> > the browser.
> >
> > Regards,
> > Uma
> >
> >
> > On 9/17/07, Bj < [EMAIL PROTECTED]> wrote:
> > >
> > > Do you really need all theses directives  ?
> > > try that :
> > >
> > > Alias /forum/ "E:/Software/Tomcat5.0/webapps/test2/forum/"
> > > 
> > >AllowOverride None
> > >Options FollowSymLinks
> > >Order allow,deny
> > >Allow from all
> > > 
> > >
> > > What's happen when you try to get directly an image ?
> > > http://your.site.com/forum/images/myimage.gif ?
> > >
> > > --
> > > Bj
> > >
> > >
> > >
> > >
> > > On 9/17/07, Uma Kalluru <[EMAIL PROTECTED] > wrote:
> > > >
> > > > Hi Bj,
> > > >
> > > > No, I haven't used virtual hosts or rewrite rules or redirect rules
> > > > or any other configuration.
> > > >
> > > > This was a fresh installation of Apache HTTP Server and I just added
> > > > the below mentioned lines to httpd.conf file.
> > > >
> > > > I am a newbie to Apache HTTP Server.
> > > >
> > > > Regards,
> > > > Uma
> > > >
> > > > On 9/17/07, Bj < [EMAIL PROTECTED]> wrote:
> > > > >
> > > > > do you use virtual hosts ? rewrite rules ? redirect rules ? other
> > > > > directory directives ?
> > > > >
> > > > > --
> > > > > Bj
> > > > >
> > > > >
> > > > > On 9/17/07, Uma Kalluru < [EMAIL PROTECTED]> wrote:
> > > > > >
> > > > > > Hi Krithi Narayan,
> > > > > >
> > > > > > The same source code is deployed to hosting server 
> > > > > > (http://javagalaxy.com/forum/index.php
> > > > > > ) and it works over there. I dont know what settings are done at
> > > > > > the hosting server as the configuration was done by the hosting 
> > > > > > provider.
> > > > > >
> > > > > > I wanted to replicate the same in my local box and it gives me
> > > > > > these problems. And this is not only the problem I am getting, when 
> > > > > > I click
> > > > > > on any other link in index.php, I get this error
> > > > > >
> > > > > > [Thu Sep 13 14:53:34 2007] [error] [client 127.0.0.1] File does
> > > > > > not exist: E:/Software/ApacheHTTP/Apache2/htdocs/forum
> > > > > >
> > > > > > This doesn't look to me a code problem but I am missing some
> > > > > > configuration somewhere that I am not

Re: [EMAIL PROTECTED] Which file to edit

2007-09-18 Thread William A. Rowe, Jr.
Evan Platt wrote:
> I believe default, but simple way:

extras actually, just as on unix.  default are the files you were given
so you can go back to them if you break it.

> Make a change. Restart service. See if change is made. :)

:)

> At 07:05 PM 8/21/2007, Matthew Smith wrote:
>> I'm not sure which httpd-vhosts.conf to edit.  The one in:
>> C:\Program Files\Apache Software Foundation\Apache2.2\conf\default
>> Or the one in
>> C:\Program Files\Apache Software Foundation\Apache2.2\conf\extra
>>
>> Which one affects the server?

Whichever one is 'Include'd by

C:\Program Files\Apache Software Foundation\Apache2.2\conf\httpd.conf

is the real answer.  Probably neither until you uncomment that #Include
line by removing the '#'.

-
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: [EMAIL PROTECTED]
   "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [EMAIL PROTECTED] Help with Apache 2 problem on AIX 5.3

2007-09-18 Thread William A. Rowe, Jr.
Yes - for crazyness' sake, rename the file you wish to update and drop
a replacement file in it's place.  See if the filesystem acknowledges
you are serving a different file.

You might also look at EnableMMAP off which can sometimes have very
similar symptoms to EnableSendfile.

Bill

Coulter, Ryan wrote:
> I spoke too soon about "EnableSendfile off" not working. Upon creating a new
> file to request, and having set the NBC back to it original size, the new
> file is not exhibiting the problem, and it would appear that it is not being
> added to the network buffer cache. The old file is still cached somehow, and
> I will have to address that problem when necessary (a server reboot at the
> very least, should resolve it).
> 
> So, Apache 2 on AIX 5.3 seems to require the "EnableSendfile off" directive,
> and this should be done during the initial configuration, prior to starting
> Apache the first time.
> 
> Does anyone have anything else to add?
> 
> Thanks again,
> Ryan
> 
> 
>> From: "Coulter, Ryan" <[EMAIL PROTECTED]>
>> Reply-To: 
>> Date: Mon, 27 Aug 2007 12:03:45 -0500
>> To: 
>> Conversation: [EMAIL PROTECTED] Help with Apache 2 problem on AIX 5.3
>> Subject: Re: [EMAIL PROTECTED] Help with Apache 2 problem on AIX 5.3
>>
>> Thank you, Eric. I had tried this in my experiments as well, without much
>> luck. However, your comment led me to a page
>> (http://publib.boulder.ibm.com/httpserv/ihsdiag/questions.html) which
>> described the network buffer cache in AIX and its association with AIX's
>> send_file routine. What is baffling me now is that setting "EnableSendfile
>> off" does nothing to alleviate the problem, but if I set the network buffer
>> cache size to 0 (no -o nbc_limit=0), the problem goes away. I consequently
>> tried setting it to 0, setting "EnableSendfile off", restarting Apache and
>> then setting nbc_limit back to its previous setting. The problem returned,
>> even with EnableSendfile turned off. As long as the network buffer cache is
>> set to 0, I don't have any problems.
>>
>> So, at least I now know what seems to be the general source of the problem,
>> but does anyone know how to correct the behavior of EnableSendfile?
>> According to the page referenced above for IHS, this directive should
>> prevent Apache from using send_file and consequently prevent any static file
>> from being added to the network buffer cache. But that doesn't seem to be
>> the case in my experience today.
>>
>> Any other thoughts?
>>
>> Ryan Coulter
>>
>>
>>> From: Eric Covener <[EMAIL PROTECTED]>
>>> Reply-To: 
>>> Date: Mon, 27 Aug 2007 11:41:27 -0400
>>> To: 
>>> Subject: Re: [EMAIL PROTECTED] Help with Apache 2 problem on AIX 5.3
>>>
>>> On 8/27/07, Coulter, Ryan <[EMAIL PROTECTED]> wrote:
  (My apologies for sending this earlier with no subject.)

  Hello. I am stumped by a problem I'm having with Apache 2 and IHS 2 on AIX
  5.3. I have tried this scenario with both a custom compiled Apache 2.2.4 
 as
  well as IHS 2.0.47. In both cases, the behavior is identical. Using Apache
  1.3, I don't have the problem. I have been researching the problem for
  several days, but can not find any issue that describes the behavior I'm
  seeing. The problem is as follows:

  I request index.html from the webserver and receive it properly in my
  browser. I then log onto the server, edit the file with vi, save it and
  exit. Then I return to my browser and request index.html again and it
  appears as though nothing has changed. My edit does not show up. 
 Sometimes,
  after making an edit, I try to open the page in my browser and receive a
  message that the browser couldn't reach the server.
>>> Try disabling sendfile (EnableSendfile off) or asking AIX support what
>>> it takes (apar-wise) to get AIX to recognize a change in the
>>> filesystem when sendfile is enabled.
>>>
>>> -- 
>>> Eric Covener
>>> [EMAIL PROTECTED]
>>>
>>> -
>>> 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: [EMAIL PROTECTED]
>>>"   from the digest: [EMAIL PROTECTED]
>>> For additional commands, e-mail: [EMAIL PROTECTED]
>>>
>>
>>
>> The information included in this e-mail message, including any attachments, 
>> is
>> intended only for the person or organization to which it is addressed. This
>> e-mail message may contain information that is privileged or confidential. If
>> you receive this e-mail message and are not the intended recipient or
>> responsible for delivering the message to the intended recipient, you may not
>> use, disseminate, distribute or copy the information included in this e-mail
>> and any attachments. If you received this e-mail message by mistake, please
>> reply by e-mail and destroy all copies of this message and any attachments.
>> Thank you.
>>
>> ---

Re: [EMAIL PROTECTED] Load balancing question

2007-09-18 Thread Bj
Your jk_status seems to be ok but :
 1) your perf mon tells that you are heavy loaded. If your cpu are
hyperthread (HT) and if you have more than 50% of global cpu usage you can
considere that you are not far from your max. Your loadaverage shows that
you have lot of (too much ?) processes to handle per cpu.
 2) how many simultaneous connections can handle your apache ? check your
ThreadsPerChild. Default is about 250 i think.
 3) Do you use keepalive in your worker ? It would reduce number of opened
socket on your servers. worker.tomcat6.socket_keepalive=1

Did you try to load from your LAN ? Just to check if your internet link is
the bottleneck.
You can also try to load only one tomcat on port 8080 to check how many
requests per second it can handle.
Are your tomcats in cluster ? do you use session replication ?

If your webapp is not working well ,I suggest you to monitor it  (through
jmx or in activating logs ). Look at old and young
garbage collections (frequency and duration).

--
Bj


Re: [EMAIL PROTECTED] Syntax error on line 1 of http.conf: invalid command \xff\xfe#

2007-09-18 Thread William A. Rowe, Jr.
You edited it in utf-8.  I hacked this long ago to ignore the leading
bytes but it looks like you might have corrupted them (it's supposed to
be a three byte sequence, and somehow you'd truncated it to two bytes?)

Mark A. Craig wrote:
> I have a rather bizarre httpd.conf error with Apache 2.2 on Windows
> 2000; I attempted to make some rather simple edits to the logfile
> portion of it, and now when I test, start,or restart the server I get
> the following error displayed in the console (DOS) window:
> 
> Syntax error on line 1 of C:/Program Files/Apache Software
> Foundation/Apache2.2/conf/httpd.conf:
> Invalid command '\xff\xfe#', perhaps misspelled or defined by a module
> not included in the server configuration
> 
> What the heck is going on?  Not only did I not edit the first line, all
> it contains is the standard comment line that has been there all along.
> 
> Mark Craig
> 
> -
> 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: [EMAIL PROTECTED]
>   "   from the digest: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 


-
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: [EMAIL PROTECTED]
   "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [EMAIL PROTECTED] Apache 2.2, rotatelogs.exe, and Windows

2007-09-18 Thread William A. Rowe, Jr.
Norman Peelman wrote:
> 
>  I am unsure of what would be causing your Unicode issues, sorry. That
> being said.. i've heard/read that there are issues with rotatelogs on
> W32 platforms. I have successfully used rotatelogs on my old XP box
> after alot of hassle. What I found for me was that I had to use the full
> path like so:
> 
> ErrorLog "|G:/mydir/apache2/bin/rotatelogs.exe
> G:/mydir/apache2/logs/my-error_log(%m-%d-%Y_%H-%M-%S).log 86400"

That would have worked for 2.0, not under 2.2.  Actually 2.2.6 gets this
right but was flawed in a different way, 2.2.7 will have all the ducks
in a row at last.

-
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: [EMAIL PROTECTED]
   "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [EMAIL PROTECTED] Apache aspx

2007-09-18 Thread William A. Rowe, Jr.
Chris Howell wrote:
> Is it possible to get Apache to serve out ASPX files ?

http://mod-aspdotnet.sourceforge.net/

-
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: [EMAIL PROTECTED]
   "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[EMAIL PROTECTED] Apache 2.2.6 installation problem / libtool

2007-09-18 Thread Felix Dreher

Hello,

I'm currently running Apache 2.2.3 and would like to upgrade to 2.2.6. 
However, when I use the same configure options (shown below) as with 
2.2.3, "make" terminates with the following error:


/bin/sh: /usr/build-1/libtool: No such file or directory
make[3]: *** [maketables.lo] Error 127

So it seems to search for libtool at the wrong place, as it is actually 
at /usr/bin.


Does anybody know a solution to this?

Thanks + regards,
Felix


These are the configure options:

#! /bin/sh
#
# Created by configure

"./configure" \
"--prefix=/xyz/var/httpd" \
"--enable-proxy" \
"--enable-ssl" \
"--enable-rewrite" \
"--enable-vhost-alias" \
"--with-ssl" \
"--enable-cgi" \
"$@"




-
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: [EMAIL PROTECTED]
  "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[EMAIL PROTECTED] AuthnProviderAlias and require ldap-group

2007-09-18 Thread Mika Hiekkamäki
If I use multiple ldap providers with mod_authn_alias can I still use
"require ldap-group cn=xxx" syntax? All examples I have seen use only
"require valid-user" syntax, but I need ldap-groups for authorization. If it
is possible to use
ldap-groups for authorization (with AuthnProviderAlias) I would like to know
how.

Here is the basic syntax I am talking about.

LoadModule authn_alias_module modules/mod_authn_alias.so


AuthLDAPBindDN cn=youruser,o=ctx
AuthLDAPBindPassword yourpassword
AuthLDAPURL ldap://ldap.host/o=ctx



AuthLDAPBindDN cn=yourotheruser,o=dev
AuthLDAPBindPassword yourotherpassword
AuthLDAPURL ldap://other.ldap.host/o=dev?cn


Alias /secure /webpages/secure

Order deny,allow
Allow from all

AuthBasicProvider ldap-other-alias ldap-alias1

AuthType Basic
AuthName LDAP_Protected_Place
AuthzLDAPAuthoritative off
Require valid-user


Can anyone help me?
Regards

Mika Hiekkamäki


[EMAIL PROTECTED] httpd seems to "forget" ServerAliases

2007-09-18 Thread Mark
Hello,

I have a weird problem on one of my servers:
I have different domains using different VirtualHost directives. The virtual 
hosts have a ServerName and a ServerAlias directive.

It seems like after the server has been running for a while, calling some of 
the domains in the ServerAlias for a VirtualHost end up
on the default domain, rather than going the the intended VirtualHost.
Restarting the httpd daemon will fix the problem for a while (usually a few 
days), until at some point it "forgets" the mapping
again.

Does anybody have an idea what the problemm could be?
I have not figured out yet how to reproduce this problem (meaning how to 
trigger the "forgetting" of the ServerAlias).

Thanks,

MARK


-
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: [EMAIL PROTECTED]
   "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [EMAIL PROTECTED] Apache 2.2, rotatelogs.exe, and Windows

2007-09-18 Thread Mark A. Craig
So this leads me to ask again, what are all of you successful 2.2.4 admins using 
to rotate your logs?  If the piping mechanism is broken, at least in the Windows 
binary, then what other technique(s) are people using?  Task Scheduler with a 
batch or CMD file?


So far I've been manually rotating the logs, but I'd understandably like to 
automate it.


Mark

 Original Message  
Subject: Re: [EMAIL PROTECTED] Apache 2.2, rotatelogs.exe, and Windows
From: William A. Rowe, Jr. <[EMAIL PROTECTED]>
To: users@httpd.apache.org
Date: Tuesday, September 18, 2007 08:37:29 AM


Norman Peelman wrote:

 I am unsure of what would be causing your Unicode issues, sorry. That
being said.. i've heard/read that there are issues with rotatelogs on
W32 platforms. I have successfully used rotatelogs on my old XP box
after alot of hassle. What I found for me was that I had to use the full
path like so:

ErrorLog "|G:/mydir/apache2/bin/rotatelogs.exe
G:/mydir/apache2/logs/my-error_log(%m-%d-%Y_%H-%M-%S).log 86400"


That would have worked for 2.0, not under 2.2.  Actually 2.2.6 gets this
right but was flawed in a different way, 2.2.7 will have all the ducks
in a row at last.



-
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: [EMAIL PROTECTED]
  "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[EMAIL PROTECTED] Apache waiting for i/o -> optimizing

2007-09-18 Thread Samuel Vogel

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 not expecting caching to be useful. Am I wrong on this?


Since getting an addional server is not possible right now, is there any 
way to ease the situation?


Regards,
Samy

-
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: [EMAIL PROTECTED]
  "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [EMAIL PROTECTED] Syntax error on line 1 of http.conf: invalid command \xff\xfe#

2007-09-18 Thread Mark A. Craig
I keep telling everyone, NO, I didn't!  The error was SOLELY caused by the 
presence of the piped Customlog directives using rotatelogs.exe.  When I comment 
those out, regardless what editor I use, the problem goes away.  I only began 
having this problem AFTER I first tried to add those directives, and it 
continues until after I comment them out.


Mark

 Original Message  
Subject: Re: [EMAIL PROTECTED] Syntax error on line 1 of http.conf: invalid command 
\xff\xfe#

From: William A. Rowe, Jr. <[EMAIL PROTECTED]>
To: users@httpd.apache.org
Date: Tuesday, September 18, 2007 08:10:52 AM


You edited it in utf-8.  I hacked this long ago to ignore the leading
bytes but it looks like you might have corrupted them (it's supposed to
be a three byte sequence, and somehow you'd truncated it to two bytes?)

Mark A. Craig wrote:

I have a rather bizarre httpd.conf error with Apache 2.2 on Windows
2000; I attempted to make some rather simple edits to the logfile
portion of it, and now when I test, start,or restart the server I get
the following error displayed in the console (DOS) window:

Syntax error on line 1 of C:/Program Files/Apache Software
Foundation/Apache2.2/conf/httpd.conf:
Invalid command '\xff\xfe#', perhaps misspelled or defined by a module
not included in the server configuration

What the heck is going on?  Not only did I not edit the first line, all
it contains is the standard comment line that has been there all along.

Mark Craig


-
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: [EMAIL PROTECTED]
  "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [EMAIL PROTECTED] Apache 2.2, rotatelogs.exe, and Windows

2007-09-18 Thread Dragon

Mark A. Craig wrote:
So this leads me to ask again, what are all of you successful 2.2.4 
admins using to rotate your logs?  If the piping mechanism is 
broken, at least in the Windows binary, then what other technique(s) 
are people using?  Task Scheduler with a batch or CMD file?


So far I've been manually rotating the logs, but I'd understandably 
like to automate it.

 End original message. -

I think you will find that the vast majority of people using Apache 
are not doing so on the Windows platform. Most people who have 
committed to the Windows platform have also committed to IIS. Apache 
dominates the Linux environment and is used frequently on BSD and 
similar Unix-based platforms. Apache holds only a tiny share of 
Windows servers.


I believe that those few who are using Apache on Windows tend to be 
hobbyists or developers using it to serve their own stuff or to do 
development off-line. I am willing to bet there are very few people 
using it in a production environment under Windows.


So it is entirely possible that there may be nobody on this list who 
has an answer for you. The set of people using it in the same manner 
you are is small to begin with and there may not be many of them 
subscribed to this list.


Repeatedly posting demanding

Dragon

~~~
 Venimus, Saltavimus, Bibimus (et naribus canium capti sumus)
~~~


-
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: [EMAIL PROTECTED]
  "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[EMAIL PROTECTED] Blocking crawling of CGIs

2007-09-18 Thread Tony Rice \(trice\)
We've had some instances where crawlers have stumbled onto a cgi script
which refers to itself and start pounding the server with requests to
that cgi.

There are so many CGI scripts on this server that I don't want to
maintain a huge robots.txt file.  Any suggestions on other techniques to
keep crawlers away from cgi scripts?  Check the browser with
BrowserMatch and then do something creative with "deny from env="?

-
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: [EMAIL PROTECTED]
   "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: [EMAIL PROTECTED] Apache 2.2, rotatelogs.exe, and Windows

2007-09-18 Thread Phillip Hamilton
I wholeheartedly disagree with this statement:
Apache holds only a tiny share of 
Windows servers.

Apache holds a very large share of Windows server market, hence the
pre-made binary. 

Back on topic, I rotate via a bat file with a quick re-start on my windows
boxes ;)

-Original Message-
From: Dragon [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, September 18, 2007 1:02 PM
To: users@httpd.apache.org
Subject: Re: [EMAIL PROTECTED] Apache 2.2, rotatelogs.exe, and Windows

Mark A. Craig wrote:
>So this leads me to ask again, what are all of you successful 2.2.4 
>admins using to rotate your logs?  If the piping mechanism is 
>broken, at least in the Windows binary, then what other technique(s) 
>are people using?  Task Scheduler with a batch or CMD file?
>
>So far I've been manually rotating the logs, but I'd understandably 
>like to automate it.
 End original message. -

I think you will find that the vast majority of people using Apache 
are not doing so on the Windows platform. Most people who have 
committed to the Windows platform have also committed to IIS. Apache 
dominates the Linux environment and is used frequently on BSD and 
similar Unix-based platforms. Apache holds only a tiny share of 
Windows servers.

I believe that those few who are using Apache on Windows tend to be 
hobbyists or developers using it to serve their own stuff or to do 
development off-line. I am willing to bet there are very few people 
using it in a production environment under Windows.

So it is entirely possible that there may be nobody on this list who 
has an answer for you. The set of people using it in the same manner 
you are is small to begin with and there may not be many of them 
subscribed to this list.

Repeatedly posting demanding

Dragon

~~~
  Venimus, Saltavimus, Bibimus (et naribus canium capti sumus)
~~~


-
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: [EMAIL PROTECTED]
   "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



-
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: [EMAIL PROTECTED]
   "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [EMAIL PROTECTED] Blocking crawling of CGIs

2007-09-18 Thread Mark A. Craig
There's no guarantee that crawlers will be polite and honor robots.txt 
directives; the search-engine ones probably do, but the spammers' ones 
definitely don't and in fact probably pay special attention to what's excluded. 
  (I have a honeypot entry in my robots.txt designed to catch and then block 
the malicious robots.)  OTOH, since the user-agent data is also only as reliable 
as the intent of whoever sets the crawler up, filtering based on that may not be 
much help either.  I seem to recall having read somewhere that it's possible to 
configure Apache to recognize "executables" independent of the OS and file 
extensions and associations?  If that's true, perhaps that might lead to some 
solution to your problem.


Mark

 Original Message  
Subject: [EMAIL PROTECTED] Blocking crawling of CGIs
From: Tony Rice (trice) <[EMAIL PROTECTED]>
To: users@httpd.apache.org
Date: Tuesday, September 18, 2007 11:24:20 AM


We've had some instances where crawlers have stumbled onto a cgi script
which refers to itself and start pounding the server with requests to
that cgi.

There are so many CGI scripts on this server that I don't want to
maintain a huge robots.txt file.  Any suggestions on other techniques to
keep crawlers away from cgi scripts?  Check the browser with
BrowserMatch and then do something creative with "deny from env="?




-
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: [EMAIL PROTECTED]
  "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: [EMAIL PROTECTED] httpd seems to "forget" ServerAliases

2007-09-18 Thread Phillip Hamilton
Whats your configuration?
What other programs/modules do you have installed?

-Original Message-
From: Mark [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, September 18, 2007 12:04 PM
To: users@httpd.apache.org
Subject: [EMAIL PROTECTED] httpd seems to "forget" ServerAliases

Hello,

I have a weird problem on one of my servers:
I have different domains using different VirtualHost directives. The virtual
hosts have a ServerName and a ServerAlias directive.

It seems like after the server has been running for a while, calling some of
the domains in the ServerAlias for a VirtualHost end up
on the default domain, rather than going the the intended VirtualHost.
Restarting the httpd daemon will fix the problem for a while (usually a few
days), until at some point it "forgets" the mapping
again.

Does anybody have an idea what the problemm could be?
I have not figured out yet how to reproduce this problem (meaning how to
trigger the "forgetting" of the ServerAlias).

Thanks,

MARK


-
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: [EMAIL PROTECTED]
   "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



-
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: [EMAIL PROTECTED]
   "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [EMAIL PROTECTED] Apache 2.2, rotatelogs.exe, and Windows

2007-09-18 Thread Mark A. Craig
Philip, do you use a scheduled CMD file to gracefully kill the server, rotate 
the logs, and then restart the server?  Given that rumor has it that piping is 
broken in 2.2.4, it seems something like that is the only way to do it right 
now, eh?  If what you're using contains no trade secrets, I'd be very curious to 
see exactly what you're using, so I can use it as boilerplate for my own 
solution.  I wonder if it could also be accomplished via a WSH file instead, and 
whether that would provide extra flexibility or benefits?


Mark

 Original Message  
Subject: Re: [EMAIL PROTECTED] Apache 2.2, rotatelogs.exe, and Windows
From: Phillip Hamilton <[EMAIL PROTECTED]>
To: users@httpd.apache.org
Date: Tuesday, September 18, 2007 11:50:08 AM


I wholeheartedly disagree with this statement:
Apache holds only a tiny share of 
Windows servers.


Apache holds a very large share of Windows server market, hence the
pre-made binary. 


Back on topic, I rotate via a bat file with a quick re-start on my windows
boxes ;)

-Original Message-
From: Dragon [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, September 18, 2007 1:02 PM

To: users@httpd.apache.org
Subject: Re: [EMAIL PROTECTED] Apache 2.2, rotatelogs.exe, and Windows

Mark A. Craig wrote:
So this leads me to ask again, what are all of you successful 2.2.4 
admins using to rotate your logs?  If the piping mechanism is 
broken, at least in the Windows binary, then what other technique(s) 
are people using?  Task Scheduler with a batch or CMD file?


So far I've been manually rotating the logs, but I'd understandably 
like to automate it.

 End original message. -

I think you will find that the vast majority of people using Apache 
are not doing so on the Windows platform. Most people who have 
committed to the Windows platform have also committed to IIS. Apache 
dominates the Linux environment and is used frequently on BSD and 
similar Unix-based platforms. Apache holds only a tiny share of 
Windows servers.


I believe that those few who are using Apache on Windows tend to be 
hobbyists or developers using it to serve their own stuff or to do 
development off-line. I am willing to bet there are very few people 
using it in a production environment under Windows.


So it is entirely possible that there may be nobody on this list who 
has an answer for you. The set of people using it in the same manner 
you are is small to begin with and there may not be many of them 
subscribed to this list.


Repeatedly posting demanding

Dragon

~~~
  Venimus, Saltavimus, Bibimus (et naribus canium capti sumus)
~~~


-
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: [EMAIL PROTECTED]
   "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



-
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: [EMAIL PROTECTED]
   "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




-
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: [EMAIL PROTECTED]
  "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: [EMAIL PROTECTED] httpd seems to "forget" ServerAliases

2007-09-18 Thread Mark
I have pretty much a plain-vanilla httpd configuration that came with Fedora 
Core 3 ("Apache/2.0.53 (Fedora) Server").
No extra modules, and the only "special" module I use is mod_rewrite to link in 
tomcat, because I always had problems getting
mod_jk[2] to work, for whatever reason.

--
My httpd.conf has:

...
NameVirtualHost *:80
NameVirtualHost *:443
...

--
Then I have a _default_.domains.conf in conf.d like this:


Options FollowSymLinks
DocumentRoot /var/www/html
ErrorLog logs/default-error_log
CustomLog logs/default-access_log combined


--

In addition, I have different files (one per domain) in the conf.d directory 
that have this pattern:

...
DocumentRoot .
ServerName .
ServerAlias .
...


...
DocumentRoot .
ServerName .
ServerAlias .   
...


Each of these files have a different IP in the https VirtualHost directive for 
obvious reasons.
Some of them do not have ServerAlias directives.


I used to have configurations on other servers where a "service httpd 
configtest" warned me of VirtualHost configurations that were
conflicting and therefore creating "unpredictable results" (actually using some 
other wording I can not remember right now), but
this server does not have that. "service httpd configtest" comes back with a 
plain "Syntax OK".

Thanks,

MARK
 

> -Original Message-
> From: Phillip Hamilton [mailto:[EMAIL PROTECTED] 
> Sent: Tuesday, September 18, 2007 11:38 AM
> To: users@httpd.apache.org
> Subject: RE: [EMAIL PROTECTED] httpd seems to "forget" ServerAliases
> 
> Whats your configuration?
> What other programs/modules do you have installed?
> 
> -Original Message-
> From: Mark [mailto:[EMAIL PROTECTED] 
> Sent: Tuesday, September 18, 2007 12:04 PM
> To: users@httpd.apache.org
> Subject: [EMAIL PROTECTED] httpd seems to "forget" ServerAliases
> 
> Hello,
> 
> I have a weird problem on one of my servers:
> I have different domains using different VirtualHost 
> directives. The virtual
> hosts have a ServerName and a ServerAlias directive.
> 
> It seems like after the server has been running for a while, 
> calling some of
> the domains in the ServerAlias for a VirtualHost end up
> on the default domain, rather than going the the intended VirtualHost.
> Restarting the httpd daemon will fix the problem for a while 
> (usually a few
> days), until at some point it "forgets" the mapping
> again.
> 
> Does anybody have an idea what the problemm could be?
> I have not figured out yet how to reproduce this problem 
> (meaning how to
> trigger the "forgetting" of the ServerAlias).
> 
> Thanks,
> 
> MARK
> 
> 
> -
> 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: [EMAIL PROTECTED]
>"   from the digest: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 
> -
> 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: [EMAIL PROTECTED]
>"   from the digest: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 


-
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: [EMAIL PROTECTED]
   "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[EMAIL PROTECTED] Deny after X number of connections

2007-09-18 Thread James Sherwood

Hello,


I have a couple of questions on this:
1: Is there a way to deny users once apache reaches X number of connections.
2: If so can you do a custom page said users see?
3: If so can you get specific to deny connections based on virtual hosts?

Thanks in advance,

James 



-
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: [EMAIL PROTECTED]
  "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [EMAIL PROTECTED] Apache 2.2.6 installation problem / libtool

2007-09-18 Thread Res

What OS, version.

On Tue, 18 Sep 2007, Felix Dreher wrote:


Hello,

I'm currently running Apache 2.2.3 and would like to upgrade to 2.2.6. 
However, when I use the same configure options (shown below) as with 2.2.3, 
"make" terminates with the following error:


/bin/sh: /usr/build-1/libtool: No such file or directory
make[3]: *** [maketables.lo] Error 127

So it seems to search for libtool at the wrong place, as it is actually at 
/usr/bin.


Does anybody know a solution to this?

Thanks + regards,
Felix


These are the configure options:

#! /bin/sh
#
# Created by configure

"./configure" \
"--prefix=/xyz/var/httpd" \
"--enable-proxy" \
"--enable-ssl" \
"--enable-rewrite" \
"--enable-vhost-alias" \
"--with-ssl" \
"--enable-cgi" \
"$@"




-
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: [EMAIL PROTECTED]
 "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



--

Cheers
Res


-
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: [EMAIL PROTECTED]
  "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: [EMAIL PROTECTED] NameVirtualHost question

2007-09-18 Thread Néstor Boscán
No, my problem analysis goes like this:

1) Set up proxy without virtual host -> it works.
2) Set up proxy with virtual host -> it doesn't work

I assume the problem is number 2

Regards,

Néstor Boscán 

-Mensaje original-
De: Boyle Owen [mailto:[EMAIL PROTECTED] 
Enviado el: Martes, 18 de Septiembre de 2007 03:27 a.m.
Para: users@httpd.apache.org
Asunto: RE: [EMAIL PROTECTED] NameVirtualHost question

> -Original Message-
> From: Néstor Boscán [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, September 18, 2007 8:17 AM
> To: users@httpd.apache.org
> Subject: RE: [EMAIL PROTECTED] NameVirtualHost question
> 
> The ones that comes with OracleAS 10.1.3

Your problem analysis seems to go like this:

1) Set up simple apache config (ie, VirtualHosts)
2) Fold in complicated proxy and DB stuff
3) Test whole thing
4) If doesn't work --> assume problem is in (1)

Why not proceed like this:

1) Set up simple apache config (ie, VirtualHosts with two different
DocumentRoots)
2) Test that works
3) If doesn't work --> problem is in (1)
4) Fold in complicated proxy and DB stuff
5) Test that works
6) If doesn't work --> problem is in (4)

If you do this, I guess you will get past step 3 with no problem. This will
give you confidence that the VH mechanism works and then you can focus on
the real source of the problem.

My wild guess as to the real probelm; possibly the backend server is sending
back a response that causes the client to make another request that doesn't
contain a Host header...

Rgds,
Owen Boyle
Disclaimer: Any disclaimer attached to this message may be ignored. 

> 
> Regards,
> 
> Néstor Boscán
> 
> -Mensaje original-
> De: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] En nombre de Joshua 
> Slive Enviado el: Lunes, 17 de Septiembre de 2007 03:20 p.m.
> Para: users@httpd.apache.org
> Asunto: Re: [EMAIL PROTECTED] NameVirtualHost question
> 
> On 9/17/07, Néstor Boscán <[EMAIL PROTECTED]> wrote:
> > Hi
> >
> > Thanks for the quick answer.
> >
> > But it didn't work. Tried that one and:
> >
> > NameVirtualHost *:80
> >
> 
> The one with *:80 in NameVirtualHost AND  is the right 
> configuration. Don't screw with anything else.
> 
> The most common cause for requests not mapping to the proper vhost 
> (other than misconfiguration) is faulty third-party modules. What 
> modules are you using?
> 
> Joshua.
> 
> -
> 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: [EMAIL PROTECTED]
>"   from the digest: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> -
> 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: [EMAIL PROTECTED]
>"   from the digest: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
 
 
This message is for the named person's use only. It may contain
confidential, proprietary or legally privileged information. No
confidentiality or privilege is waived or lost by any mistransmission. If
you receive this message in error, please notify the sender urgently and
then immediately delete the message and any copies of it from your system.
Please also immediately destroy any hardcopies of the message. You must not,
directly or indirectly, use, disclose, distribute, print, or copy any part
of this message if you are not the intended recipient. The sender's company
reserves the right to monitor all e-mail communications through their
networks. Any views expressed in this message are those of the individual
sender, except where the message states otherwise and the sender is
authorised to state them to be the views of the sender's company.

-
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: [EMAIL PROTECTED]
   "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
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: [EMAIL PROTECTED]
   "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[EMAIL PROTECTED] [module] how do I compile a module?

2007-09-18 Thread Andrew WC Brown
Hi, I'm new to this mailing list (waves).

I'm running OS X.4.10 with Apache 2.2.6

When I installed apache I was sure to --enable-module=shared so I could load
DSOs.

I let apache2 install to /usr/local/apache2. When I run apache it works.

I didn't specify any additional modules on compilation so my modules
directory is emptied.

I'm going to be using virtual hosting so I want to compile mod_vhost_alias.c

I've navigated to the directory in my source folder: httpd-2.2.6
/modules/mappers/

I've tired to compile using: sudo apxs -c mod_vhost_alias.c

I get the following error:

gcc -DDARWIN -DUSE_HSREGEX -DUSE_EXPAT -I../lib/expat-lite -g -Os -pipe
-DHARD_SERVER_LIMIT=2048 -DEAPI -DSHARED_MODULE -I/usr/include/httpd  -c
mod_vhost_alias.c
mod_vhost_alias.c:36:17: error: apr.h: No such file or directory
mod_vhost_alias.c:37:25: error: apr_strings.h: No such file or directory
mod_vhost_alias.c:38:23: error: apr_hooks.h: No such file or directory
mod_vhost_alias.c:39:21: error: apr_lib.h: No such file or directory
mod_vhost_alias.c:42:22: error: apr_want.h: No such file or directory
In file included from /usr/include/httpd/ap_config.h:1129,
 from /usr/include/httpd/httpd.h:29,
 from mod_vhost_alias.c:44:
/usr/include/httpd/hsregex.h:22:1: warning: "ap_private_extern" redefined
In file included from /usr/include/httpd/httpd.h:29,
 from mod_vhost_alias.c:44:
/usr/include/httpd/ap_config.h:1025:1: warning: this is the location of the
previous definition
mod_vhost_alias.c:50: error: parse error before 'vhost_alias_module'
mod_vhost_alias.c:50: warning: data definition has no type or storage class
mod_vhost_alias.c:72: error: parse error before '*' token
mod_vhost_alias.c: In function 'mva_create_server_config':
mod_vhost_alias.c:76: error: 'p' undeclared (first use in this function)
mod_vhost_alias.c:76: error: (Each undeclared identifier is reported only
once
mod_vhost_alias.c:76: error: for each function it appears in.)
mod_vhost_alias.c: At top level:
mod_vhost_alias.c:84: error: parse error before '*' token
mod_vhost_alias.c: In function 'mva_merge_server_config':
mod_vhost_alias.c:86: error: 'parentv' undeclared (first use in this
function)
mod_vhost_alias.c:87: error: 'childv' undeclared (first use in this
function)
mod_vhost_alias.c:90: error: 'p' undeclared (first use in this function)
mod_vhost_alias.c: In function 'vhost_alias_set':
mod_vhost_alias.c:127: error: request for member 'module_index' in something
not a structure or union
mod_vhost_alias.c:154: warning: passing argument 1 of
'ap_os_is_path_absolute' from incompatible pointer type
mod_vhost_alias.c:154: error: too many arguments to function
'ap_os_is_path_absolute'
mod_vhost_alias.c: At top level:
mod_vhost_alias.c:219: error: initializer element is not constant
mod_vhost_alias.c:219: error: (near initialization for
'mva_commands[0].name')
mod_vhost_alias.c:222: error: initializer element is not constant
mod_vhost_alias.c:222: error: (near initialization for
'mva_commands[0].func')
mod_vhost_alias.c:225: error: initializer element is not constant
mod_vhost_alias.c:225: error: (near initialization for
'mva_commands[0].cmd_data')
mod_vhost_alias.c:228: error: initializer element is not constant
mod_vhost_alias.c:228: error: (near initialization for
'mva_commands[0].req_override')
mod_vhost_alias.c:229: warning: braces around scalar initializer
mod_vhost_alias.c:229: warning: (near initialization for
'mva_commands[0].args_how')
mod_vhost_alias.c:229: error: incompatible types in initialization
mod_vhost_alias.c:237: error: syntax error before 'void'
mod_vhost_alias.c: In function 'vhost_alias_checkspace':
mod_vhost_alias.c:244: warning: assignment makes pointer from integer
without a cast
mod_vhost_alias.c:247: warning: assignment makes pointer from integer
without a cast
mod_vhost_alias.c: In function 'vhost_alias_interpolate':
mod_vhost_alias.c:376: warning: assignment makes pointer from integer
without a cast
mod_vhost_alias.c:379: warning: assignment makes pointer from integer
without a cast
mod_vhost_alias.c: In function 'mva_translate':
mod_vhost_alias.c:390: error: request for member 'module_index' in something
not a structure or union
mod_vhost_alias.c:390: error: array subscript is not an integer
mod_vhost_alias.c:428: error: 'struct request_rec' has no member named
'canonical_filename'
mod_vhost_alias.c: At top level:
mod_vhost_alias.c:440: error: parse error before '*' token
mod_vhost_alias.c: In function 'register_hooks':
mod_vhost_alias.c:444: error: 'APR_HOOK_MIDDLE' undeclared (first use in
this function)
mod_vhost_alias.c: At top level:
mod_vhost_alias.c:447: error: parse error before 'vhost_alias_module'
mod_vhost_alias.c:449: error: 'STANDARD20_MODULE_STUFF' undeclared here (not
in a function)
mod_vhost_alias.c:450: warning: excess elements in scalar initializer
mod_vhost_alias.c:450: warning: (near initialization for
'vhost_alias_module')
mod_vhost_alias.c:451: warning: excess elem

Re: [EMAIL PROTECTED] [module] how do I compile a module?

2007-09-18 Thread Dragon

On Tue, September 18, 2007 18:27, Andrew WC Brown wrote:
> Hi, I'm new to this mailing list (waves).
>
> I'm running OS X.4.10 with Apache 2.2.6
>
> When I installed apache I was sure to --enable-module=shared so I could
> load
> DSOs.
>
> I let apache2 install to /usr/local/apache2. When I run apache it works.
>
> I didn't specify any additional modules on compilation so my modules
> directory is emptied.
>
> I'm going to be using virtual hosting so I want to compile
> mod_vhost_alias.c
>
> I've navigated to the directory in my source folder: httpd-2.2.6
> /modules/mappers/
>
> I've tired to compile using: sudo apxs -c mod_vhost_alias.c
>
> I get the following error:
>
> gcc -DDARWIN -DUSE_HSREGEX -DUSE_EXPAT -I../lib/expat-lite -g -Os -pipe
> -DHARD_SERVER_LIMIT=2048 -DEAPI -DSHARED_MODULE -I/usr/include/httpd  -c
> mod_vhost_alias.c
> mod_vhost_alias.c:36:17: error: apr.h: No such file or directory
> mod_vhost_alias.c:37:25: error: apr_strings.h: No such file or directory
> mod_vhost_alias.c:38:23: error: apr_hooks.h: No such file or directory
> mod_vhost_alias.c:39:21: error: apr_lib.h: No such file or directory
> mod_vhost_alias.c:42:22: error: apr_want.h: No such file or directory
> In file included from /usr/include/httpd/ap_config.h:1129,
>  from /usr/include/httpd/httpd.h:29,
>  from mod_vhost_alias.c:44:


The section of the errors I have kept above tell you where the problem is.

The header files that apxs expects to find in the include directory
specified on the command line with the -I option do not exist where you
are telling apxs they should be.

You need to locate where those files are and change the -I option on the
command line to point to the right place. I don't know if there needs to
be a space between the option specifier and the include path, but if you
do have those files in the specified directory, I would put a space in
there and try again.

Hopefully, that is all you will need to do.

-- 
~~~
  Venimus, Saltavimus, Bibimus (et naribus canium capti sumus)
~~~


-
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: [EMAIL PROTECTED]
   "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [EMAIL PROTECTED] [module] how do I compile a module?

2007-09-18 Thread Andrew WC Brown
I've tired to add the include directory but appears to ignore the one I gave
it:

apple:/volumes/scratch/dump/httpd-2.2.6/modules/mappers owner$ sudo apxs -c
mod_vhost_alias.c -I/usr/local/apache2/include

results in:

gcc -DDARWIN -DUSE_HSREGEX -DUSE_EXPAT -I../lib/expat-lite -g -Os -pipe
-DHARD_SERVER_LIMIT=2048 -DEAPI -DSHARED_MODULE -I/usr/include/httpd  -c
mod_vhost_alias.c
mod_vhost_alias.c:36:17: error: apr.h: No such file or directory
mod_vhost_alias.c:37:25: error: apr_strings.h: No such file or directory
mod_vhost_alias.c:38:23: error: apr_hooks.h: No such file or directory
mod_vhost_alias.c:39:21: error: apr_lib.h: No such file or directory
mod_vhost_alias.c:42:22: error: apr_want.h: No such file or directory
...

On 9/18/07, Dragon <[EMAIL PROTECTED]> wrote:
>
>
> On Tue, September 18, 2007 18:27, Andrew WC Brown wrote:
> > Hi, I'm new to this mailing list (waves).
> >
> > I'm running OS X.4.10 with Apache 2.2.6
> >
> > When I installed apache I was sure to --enable-module=shared so I could
> > load
> > DSOs.
> >
> > I let apache2 install to /usr/local/apache2. When I run apache it works.
> >
> > I didn't specify any additional modules on compilation so my modules
> > directory is emptied.
> >
> > I'm going to be using virtual hosting so I want to compile
> > mod_vhost_alias.c
> >
> > I've navigated to the directory in my source folder: httpd-2.2.6
> > /modules/mappers/
> >
> > I've tired to compile using: sudo apxs -c mod_vhost_alias.c
> >
> > I get the following error:
> >
> > gcc -DDARWIN -DUSE_HSREGEX -DUSE_EXPAT -I../lib/expat-lite -g -Os -pipe
> > -DHARD_SERVER_LIMIT=2048 -DEAPI -DSHARED_MODULE -I/usr/include/httpd  -c
> > mod_vhost_alias.c
> > mod_vhost_alias.c:36:17: error: apr.h: No such file or directory
> > mod_vhost_alias.c:37:25: error: apr_strings.h: No such file or directory
> > mod_vhost_alias.c:38:23: error: apr_hooks.h: No such file or directory
> > mod_vhost_alias.c:39:21: error: apr_lib.h: No such file or directory
> > mod_vhost_alias.c:42:22: error: apr_want.h: No such file or directory
> > In file included from /usr/include/httpd/ap_config.h:1129,
> >  from /usr/include/httpd/httpd.h:29,
> >  from mod_vhost_alias.c:44:
>
>
> The section of the errors I have kept above tell you where the problem is.
>
> The header files that apxs expects to find in the include directory
> specified on the command line with the -I option do not exist where you
> are telling apxs they should be.
>
> You need to locate where those files are and change the -I option on the
> command line to point to the right place. I don't know if there needs to
> be a space between the option specifier and the include path, but if you
> do have those files in the specified directory, I would put a space in
> there and try again.
>
> Hopefully, that is all you will need to do.
>
> --
> ~~~
>   Venimus, Saltavimus, Bibimus (et naribus canium capti sumus)
> ~~~
>
>
> -
> 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: [EMAIL PROTECTED]
>"   from the digest: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


RE: [EMAIL PROTECTED] Apache 2.2, rotatelogs.exe, and Windows

2007-09-18 Thread Phillip Hamilton
I'll be back at my post on Monday, from there I'll be able to access the
files
and I'd be happy to share it.

It's very simple if you're familiar with batch files.

1. Stop apache (using net stop)
2. Move logs to new folder (xcopy)
3. Restart apache (net start)
4. Rar the logs up with Winrar (smaller files than Winzip, RAR.EXE -m file).

Lather, rinse, repeat every 12 hours. The server is only down a split second
so no one even notices. The file move (since it's not a copy) is almost
instant.

If you come up with something snazzy with WSH I'd be interested in taking a
peek
if you feel like sharing. 






-Original Message-
From: Mark A. Craig [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, September 18, 2007 2:01 PM
To: users@httpd.apache.org
Subject: Re: [EMAIL PROTECTED] Apache 2.2, rotatelogs.exe, and Windows

Philip, do you use a scheduled CMD file to gracefully kill the server,
rotate 
the logs, and then restart the server?  Given that rumor has it that piping
is 
broken in 2.2.4, it seems something like that is the only way to do it right

now, eh?  If what you're using contains no trade secrets, I'd be very
curious to 
see exactly what you're using, so I can use it as boilerplate for my own 
solution.  I wonder if it could also be accomplished via a WSH file instead,
and 
whether that would provide extra flexibility or benefits?

Mark

 Original Message  
Subject: Re: [EMAIL PROTECTED] Apache 2.2, rotatelogs.exe, and Windows
From: Phillip Hamilton <[EMAIL PROTECTED]>
To: users@httpd.apache.org
Date: Tuesday, September 18, 2007 11:50:08 AM

> I wholeheartedly disagree with this statement:
> Apache holds only a tiny share of 
> Windows servers.
> 
> Apache holds a very large share of Windows server market, hence the
> pre-made binary. 
> 
> Back on topic, I rotate via a bat file with a quick re-start on my windows
> boxes ;)
> 
> -Original Message-
> From: Dragon [mailto:[EMAIL PROTECTED] 
> Sent: Tuesday, September 18, 2007 1:02 PM
> To: users@httpd.apache.org
> Subject: Re: [EMAIL PROTECTED] Apache 2.2, rotatelogs.exe, and Windows
> 
> Mark A. Craig wrote:
>> So this leads me to ask again, what are all of you successful 2.2.4 
>> admins using to rotate your logs?  If the piping mechanism is 
>> broken, at least in the Windows binary, then what other technique(s) 
>> are people using?  Task Scheduler with a batch or CMD file?
>>
>> So far I've been manually rotating the logs, but I'd understandably 
>> like to automate it.
>  End original message. -
> 
> I think you will find that the vast majority of people using Apache 
> are not doing so on the Windows platform. Most people who have 
> committed to the Windows platform have also committed to IIS. Apache 
> dominates the Linux environment and is used frequently on BSD and 
> similar Unix-based platforms. Apache holds only a tiny share of 
> Windows servers.
> 
> I believe that those few who are using Apache on Windows tend to be 
> hobbyists or developers using it to serve their own stuff or to do 
> development off-line. I am willing to bet there are very few people 
> using it in a production environment under Windows.
> 
> So it is entirely possible that there may be nobody on this list who 
> has an answer for you. The set of people using it in the same manner 
> you are is small to begin with and there may not be many of them 
> subscribed to this list.
> 
> Repeatedly posting demanding
> 
> Dragon
> 
> ~~~
>   Venimus, Saltavimus, Bibimus (et naribus canium capti sumus)
> ~~~
> 
> 
> -
> 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: [EMAIL PROTECTED]
>"   from the digest: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 
> -
> 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: [EMAIL PROTECTED]
>"   from the digest: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 

-
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: [EMAIL PROTECTED]
   "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



-
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: [EMAIL PROTECTED]

Re: [EMAIL PROTECTED] [module] how do I compile a module?

2007-09-18 Thread J. Greenlees
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Andrew WC Brown wrote:
> I've tired to add the include directory but appears to ignore the one I gave
> it:
> 
> apple:/volumes/scratch/dump/httpd-2.2.6/modules/mappers owner$ sudo apxs -c
> mod_vhost_alias.c -I/usr/local/apache2/include

try:
apple:/volumes/scratch/dump/httpd-2.2.6/modules/mappers owner$ sudo apxs
- -c mod_vhost_alias.ca -I /usr/local/apache2/include

the space between the -I and path is required by the compiler.
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.7 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFG8JccylMakk+oQ1oRAqEuAJ9r8SmCUKQn26KH+pdTRWfP6iyO3gCeP3jJ
YEjs+Q6dRsfqi9hylt7RXvM=
=5Lly
-END PGP SIGNATURE-

-
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: [EMAIL PROTECTED]
   "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [EMAIL PROTECTED] [module] how do I compile a module?

2007-09-18 Thread Andrew WC Brown
I receive the same results, also --c doesn't work, only with single hyphen

On 9/18/07, J. Greenlees <[EMAIL PROTECTED]> wrote:
>
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> Andrew WC Brown wrote:
> > I've tired to add the include directory but appears to ignore the one I
> gave
> > it:
> >
> > apple:/volumes/scratch/dump/httpd-2.2.6/modules/mappers owner$ sudo apxs
> -c
> > mod_vhost_alias.c -I/usr/local/apache2/include
>
> try:
> apple:/volumes/scratch/dump/httpd-2.2.6/modules/mappers owner$ sudo apxs
> - -c mod_vhost_alias.ca -I /usr/local/apache2/include
>
> the space between the -I and path is required by the compiler.
> -BEGIN PGP SIGNATURE-
> Version: GnuPG v1.4.7 (GNU/Linux)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
>
> iD8DBQFG8JccylMakk+oQ1oRAqEuAJ9r8SmCUKQn26KH+pdTRWfP6iyO3gCeP3jJ
> YEjs+Q6dRsfqi9hylt7RXvM=
> =5Lly
> -END PGP SIGNATURE-
>
> -
> 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: [EMAIL PROTECTED]
>"   from the digest: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


-- 
Monsterbox Productions
putting small businesses on-line

1319 Victoria Avenue East
Thunder Bay, Ontario P7C 1C3
Canada

Andrew WC Brown
web-developer and owner
[EMAIL PROTECTED]
P: 807-626-9009
F: 807-624-2705


Re: [EMAIL PROTECTED] [module] how do I compile a module?

2007-09-18 Thread J. Greenlees
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Andrew WC Brown wrote:
> I receive the same results, also --c doesn't work, only with single hyphen
> 

Then the include path is not right. The error messages say that the
files are not where it's looking for them.

Jaqui



-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.7 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFG8KBEylMakk+oQ1oRAqWjAJ9kntKf2g3ccPT+FRdggk0L5IabbQCeJ1B/
sOHwcKxXuZ3tfhC25H537go=
=WB2R
-END PGP SIGNATURE-

-
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: [EMAIL PROTECTED]
   "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [EMAIL PROTECTED] [module] how do I compile a module?

2007-09-18 Thread Andrew WC Brown
As per my image: http://img48.imageshack.us/img48/1457/apacheincludetu5.jpg
It shows that the files are where I specified.

On 9/19/07, J. Greenlees <[EMAIL PROTECTED]> wrote:
>
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> Andrew WC Brown wrote:
> > I receive the same results, also --c doesn't work, only with single
> hyphen
> >
>
> Then the include path is not right. The error messages say that the
> files are not where it's looking for them.
>
> Jaqui
>
>
>
> -BEGIN PGP SIGNATURE-
> Version: GnuPG v1.4.7 (GNU/Linux)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
>
> iD8DBQFG8KBEylMakk+oQ1oRAqWjAJ9kntKf2g3ccPT+FRdggk0L5IabbQCeJ1B/
> sOHwcKxXuZ3tfhC25H537go=
> =WB2R
> -END PGP SIGNATURE-
>
> -
> 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: [EMAIL PROTECTED]
>"   from the digest: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


Re: [EMAIL PROTECTED] [module] how do I compile a module?

2007-09-18 Thread J. Greenlees
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Andrew WC Brown wrote:
> As per my image: http://img48.imageshack.us/img48/1457/apacheincludetu5.jpg
> It shows that the files are where I specified.
> 

Then it could be that the access permissions are not allowing the user
account to read them.

Jaqui


-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.7 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFG8KvKylMakk+oQ1oRAnMdAJ0afAMIj+i6K2tZZAyV7Itj7w5v+wCfZCGV
OZWjMz2WjRfaPBCiNN5ENZ0=
=ha6u
-END PGP SIGNATURE-

-
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: [EMAIL PROTECTED]
   "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]