Re: [EMAIL PROTECTED] Service Unavailable - Zero size object

2007-04-27 Thread Victor Trac

It is possible that your PHP scripts are running out of memory.  Try
increasing memory_limit in your apache's php.ini.

--Victor Trac

On 4/24/07, thomas Armstrong <[EMAIL PROTECTED]> wrote:

 Hi.

Using Apache 2.0.52 + PHP 4.3.10 on Linux (Fedora Core 2), I get this
error message when accesing my PHP page:
---
Service Unavailable - Zero size object
The server is temporarily unable to service your request. Please try
again later.
Reference #15.21eaaad4.1173400585.294a7ed8
---

Does anybody have any experience with this issue?

Thank you very much.

-
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]





--
http://www.victortrac.com

-
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] Valid users cannot login with authnz_ldap

2007-04-27 Thread Yannick Mercier

try to use something that doesnt start with dc= in your base dn

AuthLDAPURL ldap://silver.abc.co.za/dc=abc,dc=co,dc=za?uid

make it for example :

AuthLDAPURL ldap://silver.abc.co.za/ou=Users,dc=abc,dc=co,dc=za?uid


On 4/26/07, mxc <[EMAIL PROTECTED]> wrote:



Hi all,

We are experiencing a strange problem when trying to get mod-authnz-ldap.
Users that do not exist have the following entry written to the error.log,
which seems correct to me.

[Fri Apr 27 03:14:28 2007] [warn] [client 192.168.12.123] [4161] auth_ldap
authenticate: user ggg authentication failed; URI /asdsd [User not
found][No such object]
[Fri Apr 27 03:14:28 2007] [error] [client 192.168.12.123] user ggg
not
found: /asdsd



Users that do exist but use the incorrect password have the following
written to the error log. This seems correct to.

[Thu Apr 26 22:39:49 2007] [warn] [client 192.168.12.123] [4116] auth_ldap
authenticate: user charles authentication failed; URI /asdsd
[ldap_simple_bind_s() to check user credentials failed][Invalid
credentials]
[Thu Apr 26 22:39:49 2007] [error] [client 192.168.12.123] user mark:
authentication failure for "/asdsd": Password Mismatch


Users with the correct name and password have no entry written to the log
file but they are presented with the login dialog box again. This is what
I
have in my conf file



   AuthType Basic
   AuthName "IT Intranet"
   AuthBasicProvider ldap
   AuthLDAPBindDN uid=binduser,ou=people,dc=abc,dc=co,dc=za
   AuthLDAPBindPassword 
   AuthzLDAPAuthoritative on
   AuthLDAPURL ldap://silver.abc.co.za/dc=abc,dc=co,dc=za?uid
   Require valid-user


I can see the query going through to our openldap server with the
following
response.


Apr 27 03:06:18 silver slapd[30520]: conn=1333 fd=49 ACCEPT from
IP=192.168.12.2:55975 (IP=0.0.0.0:389)
Apr 27 03:06:18 silver slapd[30520]: conn=1333 op=1 BIND
dn="uid=binduser,ou=people,dc=abc,dc=co,dc=za" method=128
Apr 27 03:06:18 silver slapd[30520]: conn=1333 op=1 BIND
dn="uid=binduser,ou=people,dc=abc,dc=co,dc=za" mech=SIMPLE ssf=0
Apr 27 03:06:18 silver slapd[30520]: conn=1333 op=1 RESULT tag=97 err=0
text=
Apr 27 03:06:18 silver slapd[30520]: conn=1333 op=2 SRCH
base="dc=abc,dc=co,dc=za" scope=2 deref=3
filter="(&(objectClass=*)(uid=charles))"
Apr 27 03:06:18 silver slapd[30520]: conn=1333 op=2 SRCH attr=uid
Apr 27 03:06:18 silver slapd[30520]: conn=1333 op=2 SEARCH RESULT tag=101
err=0 nentries=1 text=
Apr 27 03:06:18 silver slapd[30520]: conn=1333 op=3 BIND anonymous
mech=implicit ssf=0
Apr 27 03:06:18 silver slapd[30520]: conn=1333 op=3 BIND
dn="uid=charles,ou=People,dc=abc,dc=co,dc=za" method=128
Apr 27 03:06:18 silver slapd[30520]: conn=1333 op=3 BIND
dn="uid=charles,ou=People,dc=abc,dc=co,dc=za" mech=SIMPLE ssf=0
Apr 27 03:06:18 silver slapd[30520]: conn=1333 op=3 RESULT tag=97 err=0
text=


What am I doing wrong?
--
View this message in context:
http://www.nabble.com/Valid-users-cannot-login-with-authnz_ldap-tf3655263.html#a10211874
Sent from the Apache HTTP Server - Users mailing list archive at
Nabble.com.


-
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] How to install Apache without a root account?

2007-04-27 Thread Hongliang Wang

Dear all,

I am a newbie to apache and encountered a problem when installing it.

I was asked to install Apache 1.3.37 on a Solaris 8 machine with my own 
account, which does not have privilige to write to /usr/local/. So I updated 
the Makefile and made those directories pointing to my own directory. for 
example


prefix = /usr/local/apache

was changed by myself to

prefix = $(HOME)/apache

then I run

$./configure
$make
$make install

The result was good and I saw the success message.

++
| You now have successfully built and installed the  |
| Apache 1.3 HTTP server. To verify that Apache actually |
| works correctly you now should first check the |
| (initially created or preserved) configuration files   |
||
|   /home/hwg300/apache/conf/httpd.conf
||
| and then you should be able to immediately fire up |
| Apache the first time by running:  |
||
|   /home/hwg300/apache/bin/apachectl start
||
| Thanks for using Apache.   The Apache Group|
|http://www.apache.org/  |
++

But when I start the server, an error occured.

$ /home/hwg300/apache/bin/apachectl start
fopen: No such file or directory
httpd: could not open document config file /usr/local/apache/conf/httpd.conf
/home/hwg300/apache/bin/apachectl start: httpd could not be started

Could anybody tell me what I should do ?

Thanks !

_
Express yourself instantly with MSN Messenger! Download today it's FREE! 
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/



-
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] How to install Apache without a root account?

2007-04-27 Thread Ashutosh Mohanty
> $ /home/hwg300/apache/bin/apachectl start
> fopen: No such file or directory
> httpd: could not open document config file
> /usr/local/apache/conf/httpd.conf /home/hwg300/apache/bin/apachectl
> start: httpd could not be started 
> 
> Could anybody tell me what I should do ?

Here apache clearly says he is not getting the "httpd.conf" file so use "-f" 
option to test the configuration, did you set all necessary step as per your 
requirements.

 

Give the full path of the configuration file with "-f" option, also check all  
permissions sets for user and group,

 

Bets Of luck!


Thanks & Regards 
Ashutosh Mohanty 
SynaptiCAD Inc.,  

=
This Communication is for the exclusive use of the intended recipient (s) and 
shall not attach any liability on the originator or SynaptiCAD Inc./its 
Subsidiaries. If you are the addressee, the contents of this email are intended 
for your use only and it shall not be forwarded to any third party, without 
first obtaining written authorization from the originator or SynaptiCAD 
Inc./its Subsidiaries. It may contain information which is confidential and 
legally privileged and the same shall not be used or dealt with by any third 
party in any manner whatsoever without the specific consent of SynaptiCAD 
Inc./its Subsidiaries. The company accepts no liability for any damage caused 
by any virus transmitted by this email.
=


Re: [EMAIL PROTECTED] Apache 2.2.23 with IPV6

2007-04-27 Thread SAVERIO FERRARO

Hi All,

Now I'm using Apache 2.2.4 on windows XP and it doesn't work with IPV6!!!
I have just run the command "httpd -V" but there isn't the flag 
"APR_HAS_IPV6".

So do I have to compile this version of Apache witn the flag ON?

Thanks

Saverio



From: "William A. Rowe, Jr." <[EMAIL PROTECTED]>
Reply-To: users@httpd.apache.org
To: users@httpd.apache.org, Colm MacCarthaigh <[EMAIL PROTECTED]>
Subject: Re: [EMAIL PROTECTED] Apache 2.2.23 with IPV6
Date: Wed, 25 Apr 2007 15:30:19 -0500

Colm MacCarthaigh wrote:
> On Tue, Apr 24, 2007 at 04:42:38AM -0500, William A. Rowe, Jr. wrote:
>> Dunno if anyone else has built httpd/apr for IPv6 as a binary,
>> I haven't (not for distribution, in any case).
>
> I've been building httpd/apr with IPv6 on windows for years, including
> the latest versions of both, and they work fine for me :-)

Just confirming, this is simply with toggling the apr.hw flag APR_HAS_IPV6
right?  No other patches?

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]



_
Chi sarà il prossimo ospite delle interviste di MSN Video VIP? 
http://videovip.it.msn.com/



-
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] RHEL 5 x86_64, Oracle 10g 64 bit, apache 2.2 and DBD:Oracle

2007-04-27 Thread Yanick Quirion
Dear all,

I'm currently experiencing a strange problem with Oracle:DBD and Apache 2.2
on a 64 bit Redhat Enterprise system.

I have a small script:


=
#!/usr/bin/perl

use DBI;

# Environmental variables used by Oracle
$ENV{DBI_USER} = "phone";
$ENV{DBI_PASS} = "123456";
$ENV{DBI_DSN} = "DBI:Oracle:host=oracle.domain.com;sid=db1;port=1522";
$ENV{ORACLE_HOME}  = "/usr/app/oracle/product/10.2.0";

my $dbh = DBI->connect(undef,undef,undef,
   );

my $sql = "select last_name ";
  $sql .= "from phone.phone ";
  # prepare and execute the query
  my $sth = $dbh->prepare($sql);
  $sth->execute();

  # set up variables for each column SELECTed
  my ($last_name);
  $sth->bind_columns(\$last_name);

 print "Content-type: text/html\n\n";

while($sth->fetch()) {
   print "$last_name\n";
} 

=

When I ran it from the command prompt it works great:

[callisto]:/u/Intranet/cgi-bin# ./toto.pl 
Content-type: text/html

Quirion
Beaubien 
Beauchemin
Benakli
Nelson
Bhérer
Champagne
Garg
Berthiaume
Chamblin
...


This tells me that my Oracle configuration is fine and that perl Oracle:DBD
is working also.
The problem appear when I ran the script from a web browser. On my browser,
I enter http://www.domain.com/cgi-bin/toto.pl and I got the following error
into error_log:

ERROR OCIEnvNlsCreate. Check ORACLE_HOME env var, NLS settings, permissions,
etc. at ...

On my script I clearly define all necessary environment variables. To make
sure the environment are correctly set, I create another small script:


=
#!/usr/bin/perl

use DBI;
use DBD::Oracle;

# Environmental variables used by Oracle
$ENV{DBI_USER} = "phone";
$ENV{DBI_PASS} = "123456";
$ENV{DBI_DSN} = "DBI:Oracle:host= oracle.domain.com;sid=db1;port=1522";
$ENV{ORACLE_HOME}  = "/usr/app/oracle/product/10.2.0";

print "Content-type: text/html\n\n"; 
   print "\n"; 
   foreach $key (sort keys(%ENV)) { 
  print "$key = $ENV{$key}"; 
   } 

exit;

=

And the result from my web browser is next:

DBI_DSN = DBI:Oracle:host=oracle.domain.com;sid=db1;port=1522  <---
DBI_PASS = 123456  <---
DBI_USER = phone   <---
DOCUMENT_ROOT = /u/Intranet
GATEWAY_INTERFACE = CGI/1.1
HTTP_ACCEPT = image/gif, image/x-xbitmap, image/jpeg, image/pjpeg,
application/x-shockwave-flash, application/vnd.ms-excel,
application/vnd.ms-powerpoint, application/msword, application/xaml+xml,
application/vnd.ms-xpsdocument, application/x-ms-xbap,
application/x-ms-application, */*
HTTP_ACCEPT_ENCODING = gzip, deflate
HTTP_ACCEPT_LANGUAGE = en-ca
HTTP_CONNECTION = Keep-Alive
HTTP_COOKIE =
GinkgoConfig=autoRefresh:0¤tPage:ms-dactl.php%3Findex%3D1&showHelpIcon:yes¤t
Submenu:SUBFRAME.TPL%3FcurrentSubmenu%3D/hmastor/ms-damnu.php%26index%3D1;
keepusername_db=yanqui%3Aon%3Aswitch
HTTP_HOST = callisto.tranzyme.com
HTTP_UA_CPU = x86
HTTP_USER_AGENT = Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET
CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.04506.30)
ORACLE_HOME = /usr/app/oracle/product/10.2.0 <---
PATH = /sbin:/usr/sbin:/bin:/usr/bin
QUERY_STRING = 
REMOTE_ADDR = 2.2.2.2
REMOTE_HOST = toto.domain.com
REMOTE_PORT = 19895
REQUEST_METHOD = GET
REQUEST_URI = /cgi-bin/toto.pl
SCRIPT_FILENAME = /u/Intranet/cgi-bin/toto.pl
SCRIPT_NAME = /cgi-bin/toto.pl
SERVER_ADDR = 10.32.2.10
SERVER_ADMIN = [EMAIL PROTECTED]
SERVER_NAME = www.domain.com
SERVER_PORT = 80
SERVER_PROTOCOL = HTTP/1.1
SERVER_SIGNATURE = Apache/2.2.3 (Red Hat) Server at www.domain.com Port 80
SERVER_SOFTWARE = Apache/2.2.3 (Red Hat)


==
I highlight all variable that I set from my script using <.

I don't understand why the script doesn't work from a web page. I have a
similar setup on  a EHRL 4 32 bit and it works great. I tried to downgrade
Oracle:DBD but it didn't change anything.

Is somebody can help me with that?

Best Regards,
Yanick Quirion




smime.p7s
Description: S/MIME cryptographic signature


Re: [EMAIL PROTECTED] Apache 2.2.23 with IPV6

2007-04-27 Thread William A. Rowe, Jr.
SAVERIO FERRARO wrote:
> Hi All,
> 
> Now I'm using Apache 2.2.4 on windows XP and it doesn't work with IPV6!!!
> I have just run the command "httpd -V" but there isn't the flag
> "APR_HAS_IPV6".
> So do I have to compile this version of Apache witn the flag ON?

See srclib/apr/include/apr.hw, and simply toggle it from 0 to 1.

(this file is used to create apr.h)

-
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] How to install Apache without a root account?

2007-04-27 Thread Victor Trac

Also be sure to configure your vhosts to listen to a port > 1024 if
you aren't running as root.

--Victor

On 4/27/07, Ashutosh Mohanty <[EMAIL PROTECTED]> wrote:



> $ /home/hwg300/apache/bin/apachectl start
> fopen: No such file or directory
> httpd: could not open document config file
> /usr/local/apache/conf/httpd.conf
/home/hwg300/apache/bin/apachectl
> start: httpd could not be started
>
> Could anybody tell me what I should do ?


Here apache clearly says he is not getting the "httpd.conf" file so use "-f"
option to test the configuration, did you set all necessary step as per your
requirements.



Give the full path of the configuration file with "-f" option, also check
all  permissions sets for user and group,



Bets Of luck!





Thanks & Regards
Ashutosh Mohanty


SynaptiCAD Inc.,

=
This Communication is for the exclusive use of the intended recipient (s)
and shall not attach any liability on the originator or SynaptiCAD Inc./its
Subsidiaries. If you are the addressee, the contents of this email are
intended for your use only and it shall not be forwarded to any third party,
without first obtaining written authorization from the originator or
SynaptiCAD Inc./its Subsidiaries. It may contain information which is
confidential and legally privileged and the same shall not be used or dealt
with by any third party in any manner whatsoever without the specific
consent of SynaptiCAD Inc./its Subsidiaries. The company accepts no
liability for any damage caused by any virus transmitted by this email.
=



--
http://www.victortrac.com

-
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] Overloaded rewrite handler?

2007-04-27 Thread Joshua Slive

On 4/26/07, Aaron Macks <[EMAIL PROTECTED]> wrote:

First a bit of background, the server is a SunFire 440, 4 proc, 8gig of
ram, running httpd 1.3.34 due to the needs of out closed-source CMS

We have been trying something that requites a huge number of redirects,
and it seems that the rewrite engine is running out of memory.

Here is the memory usage line out of 'top' while the rewrite config was
in use:


Memory: 8192M real, 4675M free, 5972M swap in use, 431M swap free

and here are some snippets of the error log

[Thu Apr 26 21:45:29 2007] [error] (12)Not enough space: fork: Unable to
fork new process
[Thu Apr 26 21:45:40 2007] [info] server seems busy, (you may need to
increase StartServers, or Min/MaxSpareServers), spawning 16 children,
there are 0 idle, and 7 total children


Is there a way to increase the memory available to the rewrite engine,
or is it using as much as there is already?


I'm not sure why you came to the conclusion that mod_rewrite is at
fault. I find that unlikely. You system is running out of resources to
fork new children with only 7 children active. That is tiny. What else
is going on on this box? How big is each apache child process?

I'm not a sun expert, but one things that looks problematic is your
lack of swap space. It is typical to configure at least as much swap
space as you have physical RAM.

If mod_rewrite is at fault, then the first thing to do is to run the
RewriteLog to check and see if it is looping someplace.

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]



Re: [EMAIL PROTECTED] Mod rewrite F flag

2007-04-27 Thread Joshua Slive

On 4/27/07, Erez Segal <[EMAIL PROTECTED]> wrote:


In my server, I want to reject access to files that exist. (to some php
files that are allways included via other files, and never needs to be
accessed directly).
I use:
RewriteRule ^(.*)$ - [F]
The trouble is it sends 403 - forbidden.
I want it to send 404 - file not found.
how can this be done?


You can try replacing [F] with [R=404]. I believe that works in some
recent versions of apache, but I'm not sure. Otherwise, you can get
rid of the [F] and simply point the RewriteRule at a non-existing
file. And finally, you can use
ErrorDocument 403 /path/to/errorscript.cgi
where errorscript.cgi sends Status: 404.

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]



Re: [EMAIL PROTECTED] internal rewrite puzzle

2007-04-27 Thread Joshua Slive

On 4/27/07, Eric S. Johansson <[EMAIL PROTECTED]> wrote:

I'm trying to hide a cgi url behind a pretty one.  from what I've found in the
archives, it may or may not be possible.

my rules are very simple and they satisfy my first requirement

 RewriteCond %{REQUEST_FILENAME} !-f
 RewriteRule /(.*) /cgi-bin/akasha.cgi

and yes, I am redirecting to the cgi if a file does not exist for the given uri.
  the 404 handler does not work since it appears to lose all form data.

The problem is that the rules reveal the rewritten url.  looking at the wire
level traffic, I see that the response contains a Location header with the
rewritten url.  injecting a new location header causes apache to fail with some
sort of internal redirection error.  I'll reconstruct if it seems important.

any ideas on how to fix this problem?


Try replacing /cgi-bin/akasha.cgi with the full file-system path to
the cgi (ie /usr/local/apache2/cgi-bin/akasha.cgi). This will avoid
conflicts with mod_alias and prevent some possible redirect loops.

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]



Re: [EMAIL PROTECTED] RHEL 5 x86_64, Oracle 10g 64 bit, apache 2.2 and DBD:Oracle

2007-04-27 Thread Joshua Slive

On 4/27/07, Yanick Quirion <[EMAIL PROTECTED]> wrote:


This tells me that my Oracle configuration is fine and that perl Oracle:DBD
is working also.
The problem appear when I ran the script from a web browser. On my browser,
I enter http://www.domain.com/cgi-bin/toto.pl and I got the following error
into error_log:

ERROR OCIEnvNlsCreate. Check ORACLE_HOME env var, NLS settings, permissions,
etc. at ...


I'd guess that it isn't going to work to set those variable inside the
perl script, since the oracle stuff gets initialized before the
variables are set.

Instead, you should try setting them in the environment that apache is
run under. An easy way to do that is to add them to the envvars script
in the apache binary directory (assuming a standard install).

Joshua.




On my script I clearly define all necessary environment variables. To make
sure the environment are correctly set, I create another small script:


=
#!/usr/bin/perl

use DBI;
use DBD::Oracle;

# Environmental variables used by Oracle
$ENV{DBI_USER} = "phone";
$ENV{DBI_PASS} = "123456";
$ENV{DBI_DSN} = "DBI:Oracle:host= oracle.domain.com;sid=db1;port=1522";
$ENV{ORACLE_HOME}  = "/usr/app/oracle/product/10.2.0";

print "Content-type: text/html\n\n";
   print "\n";
   foreach $key (sort keys(%ENV)) {
  print "$key = $ENV{$key}";
   }

exit;

=

And the result from my web browser is next:

DBI_DSN = DBI:Oracle:host=oracle.domain.com;sid=db1;port=1522  <---
DBI_PASS = 123456  <---
DBI_USER = phone   <---
DOCUMENT_ROOT = /u/Intranet
GATEWAY_INTERFACE = CGI/1.1
HTTP_ACCEPT = image/gif, image/x-xbitmap, image/jpeg, image/pjpeg,
application/x-shockwave-flash, application/vnd.ms-excel,
application/vnd.ms-powerpoint, application/msword, application/xaml+xml,
application/vnd.ms-xpsdocument, application/x-ms-xbap,
application/x-ms-application, */*
HTTP_ACCEPT_ENCODING = gzip, deflate
HTTP_ACCEPT_LANGUAGE = en-ca
HTTP_CONNECTION = Keep-Alive
HTTP_COOKIE =
GinkgoConfig=autoRefresh:0¤tPage:ms-dactl.php%3Findex%3D1&showHelpIcon:yes¤t
Submenu:SUBFRAME.TPL%3FcurrentSubmenu%3D/hmastor/ms-damnu.php%26index%3D1;
keepusername_db=yanqui%3Aon%3Aswitch
HTTP_HOST = callisto.tranzyme.com
HTTP_UA_CPU = x86
HTTP_USER_AGENT = Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET
CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.04506.30)
ORACLE_HOME = /usr/app/oracle/product/10.2.0 <---
PATH = /sbin:/usr/sbin:/bin:/usr/bin
QUERY_STRING =
REMOTE_ADDR = 2.2.2.2
REMOTE_HOST = toto.domain.com
REMOTE_PORT = 19895
REQUEST_METHOD = GET
REQUEST_URI = /cgi-bin/toto.pl
SCRIPT_FILENAME = /u/Intranet/cgi-bin/toto.pl
SCRIPT_NAME = /cgi-bin/toto.pl
SERVER_ADDR = 10.32.2.10
SERVER_ADMIN = [EMAIL PROTECTED]
SERVER_NAME = www.domain.com
SERVER_PORT = 80
SERVER_PROTOCOL = HTTP/1.1
SERVER_SIGNATURE = Apache/2.2.3 (Red Hat) Server at www.domain.com Port 80
SERVER_SOFTWARE = Apache/2.2.3 (Red Hat)


==
I highlight all variable that I set from my script using <.

I don't understand why the script doesn't work from a web page. I have a
similar setup on  a EHRL 4 32 bit and it works great. I tried to downgrade
Oracle:DBD but it didn't change anything.

Is somebody can help me with that?

Best Regards,
Yanick Quirion






-
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] Virtual Host

2007-04-27 Thread Alejandro Decchi

Thz for the configuration file.
I have debian and apache2. I have a line in apache2.conf that said something
like:

# Include the virtual host configurations:
Include /etc/apache2/sites-enabled/

There in  /etc/apache2/sites-enabled/  I have a file called 000-default that
said


NameVirtualHost *

   ServerAdmin [EMAIL PROTECTED]

   DocumentRoot /var/www/
   
   Options FollowSymLinks
   AllowOverride None
   
   
   Options Indexes FollowSymLinks MultiViews
   AllowOverride None
   Order allow,deny
   allow from all
   # This directive allows us to have apache2's default start
page
   # in /apache2-default/, but still have / go to the right
place
   #RedirectMatch ^/$ /apache2-default/
   

   ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/
   
   AllowOverride None

Options ExecCGI -MultiViews +SymLinksIfOwnerMatch
   Order allow,deny
   Allow from all
   

   ErrorLog /var/log/apache2/error.log

   # Possible values include: debug, info, notice, warn, error, crit,
   # alert, emerg.
   LogLevel warn

   CustomLog /var/log/apache2/access.log combined
   ServerSignature On

   Alias /doc/ "/usr/share/doc/"
   
   Options Indexes MultiViews FollowSymLinks
   AllowOverride None
   Order deny,allow
   Deny from all
   Allow from 127.0.0.0/255.0.0.0 ::1/128
   


Here in this file i include the configuration like :


   ServerAdmin [EMAIL PROTECTED]
   DocumentRoot /etc/apache2/htdocs/
   ServerName www.juan.com
   ServerAlias juan.com 
   ErrorLog /etc/apache2/logs/error_log
   CustomLog /etc/apache2/logs/error_log common



   ServerAdmin [EMAIL PROTECTED]
   DocumentRoot /etc/apache2/htdocs/
   ServerName www.juantere.com
   ServerAlias juantere.com 
   ErrorLog /etc/apache2/logs/error_log
   CustomLog /etc/apache2/logs/error_log common




then i try to enter to my differen site that are alocated in my server and
allways my server open the some webpage for old

The i put diferen virtual host for each domain in site-enable and i contunue
with the some trouble

Someone can Help me ??


On 4/26/07, Piyush Jamkhandi <[EMAIL PROTECTED]> wrote:


Alejandro,
 The following is my setup for vhosts in apache2. There is a file under
apache2/conf/extra/httpd-vhosts.conf where I put this file.


ServerAdmin [EMAIL PROTECTED]
DocumentRoot /etc/apache2/htdocs/
ServerName www.domain.com
ServerAlias domain.com
ErrorLog /etc/apache2/logs/error_log
CustomLog /etc/apache2/logs/error_log common



ServerAdmin [EMAIL PROTECTED]
DocumentRoot /etc/apache2/htdocs/blog/
ServerName www.blog.domain.com
ServerAlias blog.domain.com
ErrorLog /etc/apache2/logs/error_log
CustomLog /etc/apache2/logs/access_error_log common



ServerAdmin [EMAIL PROTECTED]
DocumentRoot /etc/apache2/htdocs/teampage/
ServerName www.teampage.domain.com
ServerAlias teampage.domain.com
ErrorLog /etc/apache2/logserror_log
CustomLog /etc/apache2/logs/error_log common


--Piyush


On 4/26/07, Alejandro Decchi <[EMAIL PROTECTED]> wrote:
>
>
> Someone can send a file of configuration of a virtual host where several
> authorities or web pages are hosting.
> I have apache2 and in this services i had two web pages
>
> Thz
>



--
---
Ask yourself how you can change to help your future.
http://www.vibudh.com
http://blog.vibudh.com
---


Re: [EMAIL PROTECTED] Apache 2.2.23 with IPV6

2007-04-27 Thread SAVERIO FERRARO

Excuse me,
but i have found only apr.h.
I have toggled APR_HAS_IPV6 from 0 to 1.
But nothing!

Thanks



From: "William A. Rowe, Jr." <[EMAIL PROTECTED]>
Reply-To: users@httpd.apache.org
To: users@httpd.apache.org
Subject: Re: [EMAIL PROTECTED] Apache 2.2.23 with IPV6
Date: Fri, 27 Apr 2007 07:58:15 -0500

SAVERIO FERRARO wrote:
> Hi All,
>
> Now I'm using Apache 2.2.4 on windows XP and it doesn't work with 
IPV6!!!

> I have just run the command "httpd -V" but there isn't the flag
> "APR_HAS_IPV6".
> So do I have to compile this version of Apache witn the flag ON?

See srclib/apr/include/apr.hw, and simply toggle it from 0 to 1.

(this file is used to create apr.h)

-
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]



_
Chi sarà il prossimo ospite delle interviste di MSN Video VIP? 
http://videovip.it.msn.com/



-
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 Http Server Authentication/Authorisation

2007-04-27 Thread FORAMITTI Laurent
Hi,

 

I have a Apache Http Server, this apache is my front end and protects
some resource on my AppServer.

 

To protect I use .htaccess and mod_auth..

 

So I would like to know how is it possible to configure Apache to send
some informations about the authenticated user to my AppServer ?

 

Is it possible to add some values to the http header before that the
mod_jk or mod_wl forward the request to my AppServer ?

 

Thanks



RE: [EMAIL PROTECTED] RHEL 5 x86_64, Oracle 10g 64 bit, apache 2.2 and DBD:Oracle

2007-04-27 Thread Yanick Quirion
Hi!

I found the problem and I would like to share it with you.

For an unknown reason it seems that Oracle 10g (10.2.0) has not set read
access for "other" group. I tried to run my apache server as "oracle" user
and it works. Then after, I put back defaulr user for apache, but add this
user (apache) to the oinstall group and it also works.

I don't know what is the file that was unreadable before. If somebody knows
I will be happy to know this folder/filename.

Thank you again for your help.

Regards,

_
Yanick Quirion
Network & System Administrator
Tranzyme Pharma Inc.
 
(819) 820-6840 (phone)
(819) 820-6855 (direct)
(819) 820-6841 (fax)
(819) 570-6855 (mobile)
 
[EMAIL PROTECTED]
www.tranzyme.com
 

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Joshua Slive
Sent: 27 April, 2007 09:23
To: users@httpd.apache.org
Subject: Re: [EMAIL PROTECTED] RHEL 5 x86_64, Oracle 10g 64 bit, apache 2.2 and
DBD:Oracle

On 4/27/07, Yanick Quirion <[EMAIL PROTECTED]> wrote:

> This tells me that my Oracle configuration is fine and that perl
Oracle:DBD
> is working also.
> The problem appear when I ran the script from a web browser. On my
browser,
> I enter http://www.domain.com/cgi-bin/toto.pl and I got the following
error
> into error_log:
>
> ERROR OCIEnvNlsCreate. Check ORACLE_HOME env var, NLS settings,
permissions,
> etc. at ...

I'd guess that it isn't going to work to set those variable inside the
perl script, since the oracle stuff gets initialized before the
variables are set.

Instead, you should try setting them in the environment that apache is
run under. An easy way to do that is to add them to the envvars script
in the apache binary directory (assuming a standard install).

Joshua.


>
> On my script I clearly define all necessary environment variables. To make
> sure the environment are correctly set, I create another small script:
>
>

> =
> #!/usr/bin/perl
>
> use DBI;
> use DBD::Oracle;
>
> # Environmental variables used by Oracle
> $ENV{DBI_USER} = "phone";
> $ENV{DBI_PASS} = "123456";
> $ENV{DBI_DSN} = "DBI:Oracle:host= oracle.domain.com;sid=db1;port=1522";
> $ENV{ORACLE_HOME}  = "/usr/app/oracle/product/10.2.0";
>
> print "Content-type: text/html\n\n";
>print "\n";
>foreach $key (sort keys(%ENV)) {
>   print "$key = $ENV{$key}";
>}
>
> exit;
>

> =
>
> And the result from my web browser is next:
>
> DBI_DSN = DBI:Oracle:host=oracle.domain.com;sid=db1;port=1522  <---
> DBI_PASS = 123456  <---
> DBI_USER = phone   <---
> DOCUMENT_ROOT = /u/Intranet
> GATEWAY_INTERFACE = CGI/1.1
> HTTP_ACCEPT = image/gif, image/x-xbitmap, image/jpeg, image/pjpeg,
> application/x-shockwave-flash, application/vnd.ms-excel,
> application/vnd.ms-powerpoint, application/msword, application/xaml+xml,
> application/vnd.ms-xpsdocument, application/x-ms-xbap,
> application/x-ms-application, */*
> HTTP_ACCEPT_ENCODING = gzip, deflate
> HTTP_ACCEPT_LANGUAGE = en-ca
> HTTP_CONNECTION = Keep-Alive
> HTTP_COOKIE =
>
GinkgoConfig=autoRefresh:0¤tPage:ms-dactl.php%3Findex%3D1&showHelpIcon:yes¤t
> Submenu:SUBFRAME.TPL%3FcurrentSubmenu%3D/hmastor/ms-damnu.php%26index%3D1;
> keepusername_db=yanqui%3Aon%3Aswitch
> HTTP_HOST = callisto.tranzyme.com
> HTTP_UA_CPU = x86
> HTTP_USER_AGENT = Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET
> CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.04506.30)
> ORACLE_HOME = /usr/app/oracle/product/10.2.0 <---
> PATH = /sbin:/usr/sbin:/bin:/usr/bin
> QUERY_STRING =
> REMOTE_ADDR = 2.2.2.2
> REMOTE_HOST = toto.domain.com
> REMOTE_PORT = 19895
> REQUEST_METHOD = GET
> REQUEST_URI = /cgi-bin/toto.pl
> SCRIPT_FILENAME = /u/Intranet/cgi-bin/toto.pl
> SCRIPT_NAME = /cgi-bin/toto.pl
> SERVER_ADDR = 10.32.2.10
> SERVER_ADMIN = [EMAIL PROTECTED]
> SERVER_NAME = www.domain.com
> SERVER_PORT = 80
> SERVER_PROTOCOL = HTTP/1.1
> SERVER_SIGNATURE = Apache/2.2.3 (Red Hat) Server at www.domain.com Port 80
> SERVER_SOFTWARE = Apache/2.2.3 (Red Hat)
>
>

> ==
> I highlight all variable that I set from my script using <.
>
> I don't understand why the script doesn't work from a web page. I have a
> similar setup on  a EHRL 4 32 bit and it works great. I tried to downgrade
> Oracle:DBD but it didn't change anything.
>
> Is somebody can help me with that?
>
> Best Regards,
> Yanick Quirion
>
>
>
>

-
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]



smime.p7s
Description: S/MIME cryptog

Re: [EMAIL PROTECTED] Overloaded rewrite handler?

2007-04-27 Thread Aaron Macks
I was blaming mod_rewrite because the server was running fine, serving 
up pages with approx 180 children, until I added in a slew of new 
redirects(approx 6k).  I want to believe that there are no loops in the 
rules, as they are all pretty simple and distinct

Aaron

Joshua Slive wrote:

On 4/26/07, Aaron Macks <[EMAIL PROTECTED]> wrote:

First a bit of background, the server is a SunFire 440, 4 proc, 8gig of
ram, running httpd 1.3.34 due to the needs of out closed-source CMS

We have been trying something that requites a huge number of redirects,
and it seems that the rewrite engine is running out of memory.

Here is the memory usage line out of 'top' while the rewrite config was
in use:


Memory: 8192M real, 4675M free, 5972M swap in use, 431M swap free

and here are some snippets of the error log

[Thu Apr 26 21:45:29 2007] [error] (12)Not enough space: fork: Unable to
fork new process
[Thu Apr 26 21:45:40 2007] [info] server seems busy, (you may need to
increase StartServers, or Min/MaxSpareServers), spawning 16 children,
there are 0 idle, and 7 total children


Is there a way to increase the memory available to the rewrite engine,
or is it using as much as there is already?


I'm not sure why you came to the conclusion that mod_rewrite is at
fault. I find that unlikely. You system is running out of resources to
fork new children with only 7 children active. That is tiny. What else
is going on on this box? How big is each apache child process?

I'm not a sun expert, but one things that looks problematic is your
lack of swap space. It is typical to configure at least as much swap
space as you have physical RAM.

If mod_rewrite is at fault, then the first thing to do is to run the
RewriteLog to check and see if it is looping someplace.

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]



--

Aaron Macks [EMAIL PROTECTED]
TechTarget  PGP keyid: FBE946C5
117 Kendrick St, Suite 800  Phone: (781) 657-1519
Needham, MA 02494   Fax:  (781) 657-1100

-
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] Valid users cannot login with authnz_ldap

2007-04-27 Thread mxc

Thanks for the reply. I tried that and I still get the same results :(


Yannick Mercier wrote:
> 
> try to use something that doesnt start with dc= in your base dn
> 
> AuthLDAPURL ldap://silver.abc.co.za/dc=abc,dc=co,dc=za?uid
> 
> make it for example :
> 
> AuthLDAPURL ldap://silver.abc.co.za/ou=Users,dc=abc,dc=co,dc=za?uid
> 
> 
> On 4/26/07, mxc <[EMAIL PROTECTED]> wrote:
>>
>>
>> Hi all,
>>
>> We are experiencing a strange problem when trying to get mod-authnz-ldap.
>> Users that do not exist have the following entry written to the
>> error.log,
>> which seems correct to me.
>>
>> [Fri Apr 27 03:14:28 2007] [warn] [client 192.168.12.123] [4161]
>> auth_ldap
>> authenticate: user ggg authentication failed; URI /asdsd [User not
>> found][No such object]
>> [Fri Apr 27 03:14:28 2007] [error] [client 192.168.12.123] user ggg
>> not
>> found: /asdsd
>>
>>
>>
>> Users that do exist but use the incorrect password have the following
>> written to the error log. This seems correct to.
>>
>> [Thu Apr 26 22:39:49 2007] [warn] [client 192.168.12.123] [4116]
>> auth_ldap
>> authenticate: user charles authentication failed; URI /asdsd
>> [ldap_simple_bind_s() to check user credentials failed][Invalid
>> credentials]
>> [Thu Apr 26 22:39:49 2007] [error] [client 192.168.12.123] user mark:
>> authentication failure for "/asdsd": Password Mismatch
>>
>>
>> Users with the correct name and password have no entry written to the log
>> file but they are presented with the login dialog box again. This is what
>> I
>> have in my conf file
>>
>>
>> 
>>AuthType Basic
>>AuthName "IT Intranet"
>>AuthBasicProvider ldap
>>AuthLDAPBindDN uid=binduser,ou=people,dc=abc,dc=co,dc=za
>>AuthLDAPBindPassword 
>>AuthzLDAPAuthoritative on
>>AuthLDAPURL ldap://silver.abc.co.za/dc=abc,dc=co,dc=za?uid
>>Require valid-user
>> 
>>
>> I can see the query going through to our openldap server with the
>> following
>> response.
>>
>>
>> Apr 27 03:06:18 silver slapd[30520]: conn=1333 fd=49 ACCEPT from
>> IP=192.168.12.2:55975 (IP=0.0.0.0:389)
>> Apr 27 03:06:18 silver slapd[30520]: conn=1333 op=1 BIND
>> dn="uid=binduser,ou=people,dc=abc,dc=co,dc=za" method=128
>> Apr 27 03:06:18 silver slapd[30520]: conn=1333 op=1 BIND
>> dn="uid=binduser,ou=people,dc=abc,dc=co,dc=za" mech=SIMPLE ssf=0
>> Apr 27 03:06:18 silver slapd[30520]: conn=1333 op=1 RESULT tag=97 err=0
>> text=
>> Apr 27 03:06:18 silver slapd[30520]: conn=1333 op=2 SRCH
>> base="dc=abc,dc=co,dc=za" scope=2 deref=3
>> filter="(&(objectClass=*)(uid=charles))"
>> Apr 27 03:06:18 silver slapd[30520]: conn=1333 op=2 SRCH attr=uid
>> Apr 27 03:06:18 silver slapd[30520]: conn=1333 op=2 SEARCH RESULT tag=101
>> err=0 nentries=1 text=
>> Apr 27 03:06:18 silver slapd[30520]: conn=1333 op=3 BIND anonymous
>> mech=implicit ssf=0
>> Apr 27 03:06:18 silver slapd[30520]: conn=1333 op=3 BIND
>> dn="uid=charles,ou=People,dc=abc,dc=co,dc=za" method=128
>> Apr 27 03:06:18 silver slapd[30520]: conn=1333 op=3 BIND
>> dn="uid=charles,ou=People,dc=abc,dc=co,dc=za" mech=SIMPLE ssf=0
>> Apr 27 03:06:18 silver slapd[30520]: conn=1333 op=3 RESULT tag=97 err=0
>> text=
>>
>>
>> What am I doing wrong?
>> --
>> View this message in context:
>> http://www.nabble.com/Valid-users-cannot-login-with-authnz_ldap-tf3655263.html#a10211874
>> Sent from the Apache HTTP Server - Users mailing list archive at
>> Nabble.com.
>>
>>
>> -
>> 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]
>>
>>
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Valid-users-cannot-login-with-authnz_ldap-tf3655263.html#a10220161
Sent from the Apache HTTP Server - Users mailing list archive at Nabble.com.


-
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] Denise E Wickenhauser is out of the office.

2007-04-27 Thread Denise E Wickenhauser

I will be out of the office starting  04/27/2007 and will not return until
04/30/2007.

Thank you for your email.  I will be out of the office Friday, April 27th.
I will respond to your email when I return.  Thanks!

-
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] Overloaded rewrite handler?

2007-04-27 Thread Joshua Slive

On 4/27/07, Aaron Macks <[EMAIL PROTECTED]> wrote:

I was blaming mod_rewrite because the server was running fine, serving
up pages with approx 180 children, until I added in a slew of new
redirects(approx 6k).  I want to believe that there are no loops in the
rules, as they are all pretty simple and distinct


Did you read my other questions and comments?

Anyway, 6000 RewriteRules is not a good idea. Such a huge config will
increase apache memory requirements and also will significantly affect
response time since each of those redirects is checked for every
request. Instead, you should use a dbm-based RewriteMap to track the
redirects.

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]



[EMAIL PROTECTED] mod_proxy request buffering

2007-04-27 Thread wi

Hi all

Could anyone say to what degree mod_proxy buffers a request prior to passing
it on? For long running requests (users on slower connections doing uploads)
we would prefer the proxy to read the request in its entirety before passing
it on to the backend. That way we don't have to commit significant server
resources to a slow request.

Thanks
Wayne

--
2X7 -> %A-3+ -> %K-7+ -> %9-?+ -> %Q-8 -> ?9-?9+


[EMAIL PROTECTED] virtualhost via proxy on apache 2.0.40 problem

2007-04-27 Thread Roberto Tortolero

Hi

I have problem with proxys on apache, i have two servers and i want to use
one as a firewall an the other as web page server. i've all ready doned,
but, the thing is that apache always returned the same carpet all the time,
no matter what address i put, always redirect me to the first virtual host.
what should a do???


[EMAIL PROTECTED] Re: virtualhost via proxy on apache 2.0.40 problem

2007-04-27 Thread Roberto Tortolero

Hi
I have problem with proxys on apache, i have two servers and i want to use
one as a firewall an the other as web page server. i've all ready doned,
but, the thing is that apache always returned the same carpet all the time,
no matter what address i put, always redirect me to the first virtual host.
what should a do???

In the proxy server i have this on the httpd.conf:

#el vhost para direccionar al otro servidor

#ProxyPreserveHost on
ProxyPass / http://xxx.xxx.xxx.12/
ProxyPassReverse / http://xxx.xxx.xxx.12/

ServerName www.site1.com



#ProxyRequests On
#ProxyVia On

#ProxyPreserveHost on
ProxyPass / http://xxx.xxx.xxx.12/
ProxyPassReverse / http://xxx.xxx.xxx.12/

ServerName www.site2.com



and in the other server, the one that contains all the pages, have this
config:


VirtualDocumentRoot /usr/local/apache2/htdocs/site1/
ServerName www.site1.com

allow from all
Options +Indexes





VirtualDocumentRoot /usr/local/apache2/htdocs/site2/
ServerName www.site2.com

allow from all
Options +Indexes



and no matter what address i put it always return me the first site on the
second server, that one with the pages, the first viartualhost on the secand
server.


Re: [EMAIL PROTECTED] Re: virtualhost via proxy on apache 2.0.40 problem

2007-04-27 Thread Joshua Slive

On 4/27/07, Roberto Tortolero <[EMAIL PROTECTED]> wrote:

Hi
I have problem with proxys on apache, i have two servers and i want to use
one as a firewall an the other as web page server. i've all ready doned,
but, the thing is that apache always returned the same carpet all the time,
no matter what address i put, always redirect me to the first virtual host.
what should a do???

In the proxy server i have this on the httpd.conf:

#el vhost para direccionar al otro servidor

#ProxyPreserveHost on
ProxyPass / http://xxx.xxx.xxx.12/
ProxyPassReverse / http://xxx.xxx.xxx.12/

ServerName www.site1.com



#ProxyRequests On
#ProxyVia On

#ProxyPreserveHost on
ProxyPass / http://xxx.xxx.xxx.12/
ProxyPassReverse / http://xxx.xxx.xxx.12/

ServerName www.site2.com



and in the other server, the one that contains all the pages, have this
config:


VirtualDocumentRoot /usr/local/apache2/htdocs/site1/
ServerName www.site1.com

allow from all
Options +Indexes





VirtualDocumentRoot /usr/local/apache2/htdocs/site2/
ServerName www.site2.com

allow from all
Options +Indexes



and no matter what address i put it always return me the first site on the
second server, that one with the pages, the first viartualhost on the secand
server.


-1. Your apache version is obsolete. You should try something more modern.

0. Did you read http://httpd.apache.org/docs/2.0/vhosts/name-based.html ?

1. You need the NameVirtualHost directive in both configs.

2. You'll need to uncomment those ProxyPreserveHost directives;
otherwise, the back-end host has no way to differentiate among the
requests for the two different vhosts.

3. You want the DocumentRoot directive, not VirtualDocumentRoot.

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]



[EMAIL PROTECTED] date when file was last modified

2007-04-27 Thread Richard Dunne
Can anyone tell me what would prevent apache2 server from updating its last 
modified by file index.  I am running apache2 and the last modified date is not 
updating, even when I restart the server. 

Richard

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

-
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] problem with the DocumentRoot directive

2007-04-27 Thread Ighal Joel Micha
Hello,
Would you tell me why am I getting the next error?

Configuration file:

ServerName xxx.xxx.xxx.xxx
ServerAlias xx
DocumentRoot /home/library-base

Options Indexes MultiViews FollowSymLinks
AllowOverride None
Order allow,deny
Allow from all
 
 
Options Indexes MultiViews FollowSymLinks
AllowOverride None
Order allow,deny
Allow from all




[EMAIL PROTECTED] home]# /etc/init.d/httpd restart
Stopping httpd:[  OK  ]
Starting httpd: Warning: DocumentRoot [/home/library-base] does not
exist
   [  OK  ]



but, THAT DIRECTORY EXISTS! 
[EMAIL PROTECTED] home]# pwd
/home
[EMAIL PROTECTED] home]# ls -al
total 64
drwxr-xr-x   8 root   root   4096 Apr 27 09:24 .
drwxr-xr-x  25 root   root   4096 Apr 27 10:38 ..
drwx--   3 etagwerker etagwerker 4096 Apr 23 14:23 etagwerker
drwxr-xr-x  11 root   root   4096 Nov  1  2005 ezshowaf
drwxr-xr-x   4 apache apache 4096 Apr 25 09:11 fmsconsole
drwx--   3 imicha imicha 4096 Apr 27 09:33 imicha
drwxr-xr-x  62 root   root   4096 Apr 27 09:16 library-base
drwxr-xr-x  11 root   root   4096 Apr 26 20:09 upload-base
[EMAIL PROTECTED] home]#


I am running a:
[EMAIL PROTECTED] home]# cat /etc/redhat-release
Red Hat Enterprise Linux ES release 4 (Nahant Update 4)

I will appreciate a lot your help!

- Ighal


Re: [EMAIL PROTECTED] problem with the DocumentRoot directive

2007-04-27 Thread Joshua Slive

On 4/27/07, Ighal Joel Micha <[EMAIL PROTECTED]> wrote:


 Hello,
 Would you tell me why am I getting the next error?



 Starting httpd: Warning: DocumentRoot [/home/library-base] does not exist



 but, THAT DIRECTORY EXISTS! 


Try starting apache directly under strace to see what syscall is
failing and what the error code is.
http://httpd.apache.org/dev/debugging.html#truss

(One guess would be SELinux config problems.)

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]



Re: [EMAIL PROTECTED] Re: virtualhost via proxy on apache 2.0.40 problem

2007-04-27 Thread Roberto Tortolero

well, thank you joshua, but aparently, the problem was in on directive in
the second server, the directive is DirectoryIndex wish it come in one
conditional, and it seems that always pass away that directive. Now
everithing, by the moment, is working very well...
And my version of apache works perfectly, right now i don`t need more, but
thanks for the recommendation...

Thanks a lot


On 4/27/07, Joshua Slive <[EMAIL PROTECTED]> wrote:


On 4/27/07, Roberto Tortolero <[EMAIL PROTECTED]> wrote:
> Hi
> I have problem with proxys on apache, i have two servers and i want to
use
> one as a firewall an the other as web page server. i've all ready doned,
> but, the thing is that apache always returned the same carpet all the
time,
> no matter what address i put, always redirect me to the first virtual
host.
> what should a do???
>
> In the proxy server i have this on the httpd.conf:
>
> #el vhost para direccionar al otro servidor
> 
> #ProxyPreserveHost on
> ProxyPass / http://xxx.xxx.xxx.12/
> ProxyPassReverse / http://xxx.xxx.xxx.12/
>
> ServerName www.site1.com
> 
>
> 
> #ProxyRequests On
> #ProxyVia On
>
> #ProxyPreserveHost on
> ProxyPass / http://xxx.xxx.xxx.12/
> ProxyPassReverse / http://xxx.xxx.xxx.12/
>
> ServerName www.site2.com
> 
>
>
> and in the other server, the one that contains all the pages, have this
> config:
>
> 
> VirtualDocumentRoot /usr/local/apache2/htdocs/site1/
> ServerName www.site1.com
> 
> allow from all
> Options +Indexes
> 
> 
>
>
> 
> VirtualDocumentRoot /usr/local/apache2/htdocs/site2/
> ServerName www.site2.com
> 
> allow from all
> Options +Indexes
> 
> 
>
> and no matter what address i put it always return me the first site on
the
> second server, that one with the pages, the first viartualhost on the
secand
> server.

-1. Your apache version is obsolete. You should try something more modern.

0. Did you read http://httpd.apache.org/docs/2.0/vhosts/name-based.html ?

1. You need the NameVirtualHost directive in both configs.

2. You'll need to uncomment those ProxyPreserveHost directives;
otherwise, the back-end host has no way to differentiate among the
requests for the two different vhosts.

3. You want the DocumentRoot directive, not VirtualDocumentRoot.

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]




Re: [EMAIL PROTECTED] date when file was last modified

2007-04-27 Thread Joshua Slive

On 4/27/07, Robert T Wyatt <[EMAIL PROTECTED]> wrote:

Richard Dunne wrote:
> Can anyone tell me what would prevent apache2 server from updating its last 
modified by file index.  I am running apache2 and the last modified date is not 
updating, even when I restart the server.
>
> Richard

Do you mean the index page generated when there is no index.html
present? Those file dates are from the system. Which system are you on?


I have no problem with people repeating a question if they can't get
it solved on the first try. But I find it quite rude to do so without
referencing the earlier request or at least filling in all the details
that were identified as important. You just waste everybody's time.

Anyway, if you'd like to help Richard, start by reading through the
earlier thread that starts here:
http://mail-archives.apache.org/mod_mbox/httpd-users/200704.mbox/[EMAIL 
PROTECTED]

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]



Re: [EMAIL PROTECTED] problem with the DocumentRoot directive

2007-04-27 Thread Ighal Joel Micha
As the strace returned no errors from the stat syscall when the apache
was trying to "stat" the directory, yes, you were right, the SELinux was
enabled, Thanks!


- Ighal


On Fri, 2007-04-27 at 13:46 -0400, Joshua Slive wrote:
> On 4/27/07, Ighal Joel Micha <[EMAIL PROTECTED]> wrote:
> >
> >  Hello,
> >  Would you tell me why am I getting the next error?
> 
> >  Starting httpd: Warning: DocumentRoot [/home/library-base] does not exist
> 
> >  but, THAT DIRECTORY EXISTS! 
> 
> Try starting apache directly under strace to see what syscall is
> failing and what the error code is.
> http://httpd.apache.org/dev/debugging.html#truss
> 
> (One guess would be SELinux config problems.)
> 
> 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]



[EMAIL PROTECTED] problem displaying applet

2007-04-27 Thread Rick Lloyd

Hello,

I'm having a problem displaying a very simple applet.

System Info:

httpd -v
Server version: Apache/1.3.33 (Darwin)
Server built:   Mar 20 2005 15:08:27

MacOSX 10.4.9

Firefox 2.0.0.3
Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.8.1.3) 
Gecko/20070309 Firefox/2.0.0.3


The problem also appears using the Safari browser that ships with OSX.

Symptom:

Very simple applet, SimpleApplet.class from SimpleApplet.java (attached) 
called from SimpleApplet.html (attached).


On my local machine, which is running httpd-1.3.33, hitting the URL 
http://mymachine.fully.qualified.address/~rickl/SimpleApplet.html fails 
to load.  I get a diagnostic that reads:


java.lang.ClassNotFoundException: SimpleApplet.class
   several lines of detail
Caused by: java.io.IOException: open HTTP connection failed
   at sun.applet.AppletClassLoader.getBytes(AppletClassLoader.java:271)
   more lines of detail.

However, when I hit the URL http://localhost/~rickl/SimpleApplet.html 
everything works fine.
Also, if I hit the fully qualified  address from any other machine, the 
applet works fine.


This behavior only happens in a browser running on the machine that is 
hosting the page/applet.


Any thoughts?
Rick
import java.applet.Applet;
import java.awt.Graphics;
import java.awt.Color;

public class SimpleApplet extends Applet{

  String text = "I'm a simple applet";

  public void init() {
text = "I'm a simple applet";
setBackground(Color.cyan);
  }
  public void start() {
System.out.println("starting...");
  }
  public void stop() {
System.out.println("stopping...");
  }
  public void destroy() {
System.out.println("preparing to unload...");
  }
  public void paint(Graphics g){
System.out.println("Paint");
g.setColor(Color.blue);
g.drawRect(0, 0,
   getSize().width -1,
   getSize().height -1);
g.setColor(Color.red);
g.drawString(text, 15, 25);
  }
}








-
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] date when file was last modified

2007-04-27 Thread Robert T Wyatt
Richard Dunne wrote:
> Can anyone tell me what would prevent apache2 server from updating its last 
> modified by file index.  I am running apache2 and the last modified date is 
> not updating, even when I restart the server. 
> 
> Richard

Do you mean the index page generated when there is no index.html
present? Those file dates are from the system. Which system are you on?

-
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] date when file was last modified

2007-04-27 Thread Richard Dunne
Yes the index page where the files are listed http://localhost/index.php.  I am 
using Editplus on XP.  I thought, and I may be wrong, that the last date 
modified in windows and apache should be the same, as long as the apache server 
is restarted after any changes are made.  If I am wrong, where is apache 
getting its dates from?  When files are saved in windows, it gets a date stamp. 
 I thought apache uses the files current date stamp.  It obviously isnt in my 
case!

- Original Message 
From: Joshua Slive <[EMAIL PROTECTED]>
To: users@httpd.apache.org; [EMAIL PROTECTED]
Sent: Friday, April 27, 2007 7:17:58 PM
Subject: Re: [EMAIL PROTECTED] date when file was last modified


On 4/27/07, Robert T Wyatt <[EMAIL PROTECTED]> wrote:
> Richard Dunne wrote:
> > Can anyone tell me what would prevent apache2 server from updating its last 
> > modified by file index.  I am running apache2 and the last modified date is 
> > not updating, even when I restart the server.
> >
> > Richard
>
> Do you mean the index page generated when there is no index.html
> present? Those file dates are from the system. Which system are you on?

I have no problem with people repeating a question if they can't get
it solved on the first try. But I find it quite rude to do so without
referencing the earlier request or at least filling in all the details
that were identified as important. You just waste everybody's time.

Anyway, if you'd like to help Richard, start by reading through the
earlier thread that starts here:
http://mail-archives.apache.org/mod_mbox/httpd-users/200704.mbox/[EMAIL 
PROTECTED]

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]

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

-
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] date when file was last modified

2007-04-27 Thread Robert T Wyatt
Unfortunately I'm non-php-savvy. Nevertheless, it would seem
reasonable to ask exactly how (and when) index.php is generated.

Good luck,
Robert

Richard Dunne wrote:
> Yes the index page where the files are listed http://localhost/index.php.  I 
> am using Editplus on XP.  I thought, and I may be wrong, that the last date 
> modified in windows and apache should be the same, as long as the apache 
> server is restarted after any changes are made.  If I am wrong, where is 
> apache getting its dates from?  When files are saved in windows, it gets a 
> date stamp.  I thought apache uses the files current date stamp.  It 
> obviously isnt in my case!

-
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] date when file was last modified

2007-04-27 Thread Richard Dunne
Neither am I admittedly, learning as I go!
I have php webpages in my context folder and they are listed when I start the 
server and go to http://localhost/ProjectFolder  If I last saved a file 
yesterday I would expect to see yesterday date beside the file.  If I then 
chaged the file and saved it today and restart apache, I would hope to see 
todays date beside the file so I am working with the current version.  I am 
still seeing 21st April beside a file I changed today after restarting apache.  
Can anyone offer any theories. 


Robert T Wyatt <[EMAIL PROTECTED]>
To: users@httpd.apache.org
Sent: Friday, April 27, 2007 8:23:45 PM
Subject: Re: [EMAIL PROTECTED] date when file was last modified


Unfortunately I'm non-php-savvy. Nevertheless, it would seem
reasonable to ask exactly how (and when) index.php is generated.

Good luck,
Robert

Richard Dunne wrote:
> Yes the index page where the files are listed http://localhost/index.php.  I 
> am using Editplus on XP.  I thought, and I may be wrong, that the last date 
> modified in windows and apache should be the same, as long as the apache 
> server is restarted after any changes are made.  If I am wrong, where is 
> apache getting its dates from?  When files are saved in windows, it gets a 
> date stamp.  I thought apache uses the files current date stamp.  It 
> obviously isnt in my case!

-
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]

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

-
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] date when file was last modified

2007-04-27 Thread Richard Dunne
Figured out the problem, silly, silly, silly me.  Don't ask!

- Original Message 
From: Robert T Wyatt <[EMAIL PROTECTED]>
To: users@httpd.apache.org
Sent: Friday, April 27, 2007 8:23:45 PM
Subject: Re: [EMAIL PROTECTED] date when file was last modified


Unfortunately I'm non-php-savvy. Nevertheless, it would seem
reasonable to ask exactly how (and when) index.php is generated.

Good luck,
Robert

Richard Dunne wrote:
> Yes the index page where the files are listed http://localhost/index.php.  I 
> am using Editplus on XP.  I thought, and I may be wrong, that the last date 
> modified in windows and apache should be the same, as long as the apache 
> server is restarted after any changes are made.  If I am wrong, where is 
> apache getting its dates from?  When files are saved in windows, it gets a 
> date stamp.  I thought apache uses the files current date stamp.  It 
> obviously isnt in my case!

-
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]

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

-
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] Directory list - mod_autoindex

2007-04-27 Thread Sławomir Młynarek
Hello
I've got problem.
I have many folders with files. I want to display only one file per folder, 
file name for example 'my_file' (it can exist or not, rest files should be 
hidden and not accessible).
My idea was use mod autoindex but isn't work correctly.
I tried use directory directive with "deny from all" and next file 
directive with "allow from all" like

IndexOptions FancyIndexing HTMLTable VersionSort SuppressColumnSorting 
SuppressLastModified SuppressDescription  IgnoreClient
   
Options +Indexes
   
Order deny,allow
   
Deny from all


  
Order deny,allow
  
Allow from all
   

but I received 403 message (not access)

Is it some method to achieve this ?

Regards
-- 
MaGazynieR


-
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] date when file was last modified

2007-04-27 Thread Dragon

Richard Dunne wrote:

Figured out the problem, silly, silly, silly me.  Don't ask!

 End original message. -

Actually, after the number of times you have posted to the list about 
this, I think it would be rude to not tell us what the issue was.


So what was it?

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]



Re: [EMAIL PROTECTED] date when file was last modified

2007-04-27 Thread Scott Wilcox
I think he was using the file creation time, rather than the file
modification time.

Just a guess :p

Dragon wrote:
> Richard Dunne wrote:
>> Figured out the problem, silly, silly, silly me.  Don't ask!
>  End original message. -
>
> Actually, after the number of times you have posted to the list about
> this, I think it would be rude to not tell us what the issue was.
>
> So what was it?
>
> 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]
>
>


Re: [EMAIL PROTECTED] date when file was last modified

2007-04-27 Thread Richard Dunne
Hanging my head in shame, I was editing the file copy at c:\Project\file.php, 
when I should of course have been editing
c:\Program Files\Apache Group\Apache2\htdocs\Project\file.php
If you can't laugh at yourself for making a silly mistake, even one as silly as 
this!

Richard.

- Original Message 
From: Dragon <[EMAIL PROTECTED]>
To: users@httpd.apache.org
Sent: Friday, April 27, 2007 9:06:18 PM
Subject: Re: [EMAIL PROTECTED] date when file was last modified


Richard Dunne wrote:
>Figured out the problem, silly, silly, silly me.  Don't ask!
 End original message. -

Actually, after the number of times you have posted to the list about 
this, I think it would be rude to not tell us what the issue was.

So what was it?

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]

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

-
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] date when file was last modified

2007-04-27 Thread Dragon

Richard Dunne wrote:
Hanging my head in shame, I was editing the file copy at 
c:\Project\file.php, when I should of course have been editing

c:\Program Files\Apache Group\Apache2\htdocs\Project\file.php
If you can't laugh at yourself for making a silly mistake, even one 
as silly as this!

 End original message. -

Fair enough, we all make mistakes, even silly ones.

But just for future reference, when posting to a list like this, 
having as much information as possible about what you are doing, what 
the error was and anything else that is relevant will make things a 
lot easier on everyone.


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]



Re: [EMAIL PROTECTED] date when file was last modified

2007-04-27 Thread Joshua Slive

On 4/27/07, Richard Dunne <[EMAIL PROTECTED]> wrote:

Hanging my head in shame, I was editing the file copy at c:\Project\file.php, 
when I should of course have been editing
c:\Program Files\Apache Group\Apache2\htdocs\Project\file.php
If you can't laugh at yourself for making a silly mistake, even one as silly as 
this!


I think this is one rare circumstance were I'll let myself say "I told
you so." In particular, quoting from the first thread you posted on
this problem, I said:


There is no obvious explanation for this, so that probably means you
are making some very simple mistake someplace. For example, perhaps
apache is not pointing to the directory that you think it is pointing
to.


Anyway, glad you found the problem.

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]



Re: [EMAIL PROTECTED] Valid users cannot login with authnz_ldap

2007-04-27 Thread mxc

It appears that this guy had the same problem but no solution was given :(

http://groups.google.co.za/group/comp.infosystems.www.servers.unix/browse_thread/thread/3d8fe8963efe23a8/8fc4ea5a2a2aa339?lnk=st&q=+apache2+ldap+authentication+%5BUser+not+found%5D%5BNo+such+object%5D+%5BInvalid+credentials%5D&rnum=1&hl=en#8fc4ea5a2a2aa339
-- 
View this message in context: 
http://www.nabble.com/Valid-users-cannot-login-with-authnz_ldap-tf3655263.html#a10226918
Sent from the Apache HTTP Server - Users mailing list archive at Nabble.com.


-
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] date when file was last modified

2007-04-27 Thread Richard Dunne
Ok I deserved that.

- Original Message 
From: Joshua Slive <[EMAIL PROTECTED]>
To: users@httpd.apache.org
Sent: Friday, April 27, 2007 10:33:49 PM
Subject: Re: [EMAIL PROTECTED] date when file was last modified


On 4/27/07, Richard Dunne <[EMAIL PROTECTED]> wrote:
> Hanging my head in shame, I was editing the file copy at c:\Project\file.php, 
> when I should of course have been editing
> c:\Program Files\Apache Group\Apache2\htdocs\Project\file.php
> If you can't laugh at yourself for making a silly mistake, even one as silly 
> as this!

I think this is one rare circumstance were I'll let myself say "I told
you so." In particular, quoting from the first thread you posted on
this problem, I said:


There is no obvious explanation for this, so that probably means you
are making some very simple mistake someplace. For example, perhaps
apache is not pointing to the directory that you think it is pointing
to.


Anyway, glad you found the problem.

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]

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

-
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] intermittent problems with mod_deflate compression

2007-04-27 Thread Michael Benner
Hi.  I'm having some intermittent issues with the Apache mod_deflate 
compression.  When I have compression turned on (please see my configuration 
snippet below), my pages load fairly slowly and I occassionally receive a popup 
prompt to save the page because it's been returned as type 
"application/octet-stream".  When I turn off the compression, everything is 
fast and perfectly normal.

It appears, although I'm not 100% certain (and I hope this isn't a red 
herring), that it may be related to situations in which Apache returns an HTTP 
Response Code 304 for javascript or CSS files.  It seems that the 'text/html' 
content is coming back fine, but JavaScript and CSS have troubles.

I'm using Apache version 2.0.59 on Linux Red Hat and Firefox 1.5.0.11 on 
Windows.  Has anyone else experienced anything like this?  I haven't been able 
to find an answer to this problem yet.  thanks!



SetOutputFilter DEFLATE

# Can be set 1-9 (just like gzip)
DeflateCompressionLevel 2

# Netscape 4.x has some problems...
BrowserMatch ^Mozilla/4 gzip-only-text/html

# Netscape 4.06-4.08 have some more problems
BrowserMatch ^Mozilla/4\.0[678] no-gzip

# MSIE masquerades as Netscape, but it is fine
BrowserMatch \bMSIE !no-gzip !gzip-only-text/html

# NOTE: Due to a bug in mod_setenvif up to Apache 2.0.48
# the above regex won't work. You can use the following
# workaround to get the desired effect:
BrowserMatch \bMSI[E] !no-gzip !gzip-only-text/html

# Don't compress images
SetEnvIfNoCase Request_URI \
\.(?:gif|jpe?g|png|zip|gz|swf|vcs|ico)$ no-gzip dont-vary

# Make sure proxies don't deliver the wrong content
Header append Vary User-Agent env=!dont-vary




Michael Benner | gifts.com
8833 Sunset Blvd, 3rd Floor, West Hollywood, CA 90069



-
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] Re: internal rewrite puzzle

2007-04-27 Thread Eric S. Johansson

Joshua Slive wrote:

Try replacing /cgi-bin/akasha.cgi with the full file-system path to
the cgi (ie /usr/local/apache2/cgi-bin/akasha.cgi). This will avoid
conflicts with mod_alias and prevent some possible redirect loops.


it was not the solution but it lead me to one.  I consider this a win!  thanks 
for the much appreciated help.



-
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] Query on StartServers and ListenBackLog

2007-04-27 Thread Arnab Ganguly

Hi All,
I have some queries on the StartServers param.As it says "The
StartServersdirective sets the number of child server processes
created on startup. As
the number of processes is dynamically controlled depending on the load,
there is usually little reason to adjust this parameter" from the Apache
page.I wanted to know suppose I make the StartServers as 1.During the
startup time only one active child process gets created.But after running it
for a day or two a new daemon process gets launched apart from the other
existing one.It would be nice if you can tell me as what point due to the
load does Apache spawns another daemon?The value of ServerLimit I kept is
one but still the behavior is same.

One more question I have is about the ListenBackLog.Is the request is always
read from this queue or the queue comes into the picture only when the Idle
thread count is zero?Suppose the ListenBackLog is full what would happen to
the request received by Apache?

If Idle thread count is zero do still this ListenBackLog gets filled for the
requests are coming and the request are read from this queue
only.Lookingforward for response.

Thanks and regards
-A


[EMAIL PROTECTED] mod_proxy request buffering

2007-04-27 Thread wi

Hi all

Could anyone say to what degree mod_proxy buffers a request prior to passing
it on? For long running requests (users on slower connections doing uploads)
we would prefer the proxy to read the request in its entirety before passing
it on to the backend. That way we don't have to commit significant server
resources to a slow request.

Thanks
Wayne

--
2X7 -> %A-3+ -> %K-7+ -> %9-?+ -> %Q-8 -> ?9-?9+

--
2X7 -> %A-3+ -> %K-7+ -> %9-?+ -> %Q-8 -> ?9-?9+