RE: [EMAIL PROTECTED] Errors using ldap

2005-08-30 Thread pamela.kalle
Hi Bill

Thank you for the answer but I found the problem already.

I forgot to include the line : LoadModule ldap_module
modules/util_ldap.so 

Thanks anyway


Greetings

Pamela


-Oorspronkelijk bericht-
Van: William A. Rowe, Jr. [mailto:[EMAIL PROTECTED] 
Verzonden: maandag 29 augustus 2005 16:37
Aan: users@httpd.apache.org
Onderwerp: Re: [EMAIL PROTECTED] Errors using ldap

[EMAIL PROTECTED] wrote:
 Hi list-members,
  
 for a while I'm looking for a way to use ldap on my apache 2.0.54. My 
 OS is a Windows 2000 server.
 I've first tried it with the built-in .so module. I've put the 
 LoadModule code in my httpd.conf file.
 Result: during a restart the apache server won't start anymore. The 
 errormessage in my Windows event viewer:
  
 * Can't locate API module structure ldap_auth_module in file 
 C:/Program Files/../modules/mod_auth_ldap.so
 * Syntax error on line 145 (the line where the LoadModule is situated)

That's because mod_auth_ldap.so uses some functions inside of the
mod_ldap.so, so you have to load mod_ldap, and then mod_auth_ldap.

 *service terminated with server specific error 1 (this means port 80 
 is already in use)
  
 Does someone know what I can do about this?

Yes, make sure Apache is not running already (the task manager would
show 'Apache' or 'httpd' running), and if not, then you will have to
disable IIS.

If you want IIS and Apache both running, you need to change either
Apache or IIS to run on a different port.  If you want to run them on
two different adapters using the same port number, you have to set up
IIS to start after Apache, because IIS does something really horrid and
tries to listen on 0.0.0.0:{port} before it finally settles on listening
to the configured n.n.n.n:port you configure.

Bill

-
The official User-To-User support forum of the Apache HTTP Server
Project.
See URL: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 URL: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] environment variable lost via location (mod_rewrite)

2005-08-30 Thread allan

hi,

[apache 2.0.54]

i'm trying to forward an ssl client cert environment variable via a 
requestheader to a backend reversed proxied machine.
it works fine, but i'm only interested in forwarding it if the client 
request comes in at a certain url.



therefore i thought i'd use the location match like this:

location login/
SSLVerifyClient require SSLVerifyDepth  5
/location


then the client woukld indeed only be promted for the certificate at 
the location /login, however then the environemt variable is 
completety lost.

i have tried to move the Location directive around in ssl-conf to no avail.


so my question is: how can i get hold of the ssl environment varibles 
(that i need in my RewiteCond) but only in the case where a client hits 
a uri underneatch /login



# this doesn't work
#location login/
#   SSLVerifyClient require #   SSLVerifyDepth  5
#/location

# this works but on *all* URLS
SSLVerifyClient require SSLVerifyDepth  5

RewriteEngine On
RewriteMap canonicalize int:escape
RewriteCond  %{SSL:SSL_CLIENT_CERT} ^.+ [NC]
RewriteRule ^/login - [E=FORWARD_CERT:${canonicalize:%1}]
RequestHeader set MY_HEADER %{FORWARD_CERT}e env=FORWARD_CERT
RewriteRule ^/login  http://localhost:8080/backend [P,L]


./allan





-
The official User-To-User support forum of the Apache HTTP Server Project.
See URL: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] Bug or Feature : global SSLVerifyClient in VirtualHost overrides the same in Location?

2005-08-30 Thread Yefym Dmukh

SSLVerifyClient
is documented as working in directory context, so it should also work in
Location context. The manual page for mod_ssl does explicitly
say that a SSL renegotiation is triggered if a request for the location
is received.
 

Then this is a bug, because it doesn't work for Location


Simple test scenario is :
1. access document root location - SSLVerifyClient
optional , cance certificate choice window.
2. access location Location /auth
with SSLVerifyClient require - no triggered SSL negotiation
- access without certificate granted.

So the answer to the question : 
Bug or Feature : global SSLVerifyClient in VirtualHost
overrides the same in Location? 
it is a bug : )
















Axel-Stéphane SMORGRAV
[EMAIL PROTECTED] 
29.08.2005 17:06



Please respond to
users@httpd.apache.org





To
users@httpd.apache.org


cc



Subject
RE: [EMAIL PROTECTED] Bug or Feature : global
SSLVerifyClient in VirtualHost overrides the same in Location?








SSLVerifyClient is documented as working in directory
context, so it should also work in Location context. The manual
page for mod_ssl does explicitly say that a SSL renegotiation is triggered
if a request for the location is received.
 
http://httpd.apache.org/docs/2.0/mod/mod_ssl.html#sslverifyclient
 
-ascs



From: Yefym Dmukh [mailto:[EMAIL PROTECTED] 
Sent: Monday, August 29, 2005 3:54 PM
To: users@httpd.apache.org
Subject: [EMAIL PROTECTED] Bug or Feature : global SSLVerifyClient in VirtualHost
overrides the same in Location?



Hi guys , 
please point me if it possible to the docu, cannot find anything related
to the topic. 


here is an example: 



VirtualHost 
SSLVerifyClient optional 

Alias /auth  /htdocs/authorisation 
Location /auth 
SSLVerifyClient require 
SSLOptions +ExportCertData +StdEnvVars 
SSLVerifyDepth 5 
Options None 
/Location 

/VirtualHost 


Best Regards , 
Yefym

-
The official User-To-User support forum of the Apache HTTP Server Project.
See URL: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 1.33 chunked Transfer-Encoding forbidden error

2005-08-30 Thread Root
Здравствуйте, users.

Hi all.
I have some problem with my Apache server.
When some user try open php script using mobile fone  some chat
program I get this errors on my log file:

[Mon Aug 29 18:37:39 2005] [error] [client 127.0.0.1] chunked Transfer-Encoding 
forbidden: /chat/index.php
[Mon Aug 29 18:40:46 2005] [error] [client 127.0.0.1] chunked Transfer-Encoding 
forbidden: /chat/index.php
[Mon Aug 29 19:04:55 2005] [error] [client 127.0.0.1] chunked Transfer-Encoding 
forbidden: /chat/index.php
[Mon Aug 29 19:16:01 2005] [error] [client 127.0.0.1] chunked Transfer-Encoding 
forbidden: /chat/index.php
[Mon Aug 29 21:08:17 2005] [error] [client 127.0.0.1] chunked Transfer-Encoding 
forbidden: /chat/index.php
[Mon Aug 29 21:18:56 2005] [error] [client 127.0.0.1] chunked Transfer-Encoding 
forbidden: /chat/index.php

How i can solve this problem?

-- 
С уважением,
 Root  mailto:[EMAIL PROTECTED]


-
The official User-To-User support forum of the Apache HTTP Server Project.
See URL: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] Warning: DocumentRoot [htdocs] does not exist

2005-08-30 Thread jagadish gowda
Hi all, 
  I am using Apache 2.0.54 in windows.
Whenever I run Apache. it is saying
Warning: DocumentRoot [htdocs] does not exist
Does anybody know the solution.
I have tried with the full path,
 DocumentRoot C:/apache/htdocs
  also 
 DocumentRoot htdocs
where serverroot is C:/apache.

Please let me know if anoybody knows the solution to
this.

Thanks
Jagadish




__
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 URL: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] Apache2 ProxyPass

2005-08-30 Thread Administrator
Hi,

I'm new to this list, although I've been using Apache2 for several years.

I am using Apache2 as a proxy server for a number of services running on the
same server, using localhost with specific ports for the services to provide
their web pages.  One of these is zope.  I am testing the setup and want to
get it right before building the serious sites.

I am (and have been) using ProxyPass (along with the VirtualHostMonster in
zope) as it is the simplest of the 3 alternatives (Rewrite rules and PCGI
are the others).  I may change this at some time in the future, but it has
worked for now.

I have the following as the Apache2 site definition (under Linux Debian
3.1):


#
## Definition file for testing instance of zope (port 3456)
#

#Location /zope/
Location /zope
Order Allow,Deny
Deny from 192.168.0.1 gateway gateway.NETWORK
Allow from 192.168.0 127.0.0 NETWORK localhost

SSLRequireSSL

ProxyPass
http://localhost:3456/VirtualHostBase/https/SERVER.NETWORK:443/VirtualHostRo
ot/_vh_zope/

/Location

## End of zope testing definition


The problem I have is that with the first Location directive (/zope/) some
pages served by the instance don't work as zope doesn't add the trailing /
to the directory name it serves (i.e. it says /zope not /zope/).

The second works (Location /zope) but seems to me to have a flaw.  If I have
sites fred-1 ... fred-9 they should work OK.  fred-10 wouldn't work as it
would be caught by the fred-1 location and redirected there, where it would
fail.

Is there a workaround for this?  I prefer the first Location statement (to
/zope/) but I can't find out how to get the /zope locations to work.  I've
tried several sets of rules for rewriting /zope to /zope/, and they were
all either rejected as syntax errors, or just didn't work.  Help.

Thanks in advance,
David



-
The official User-To-User support forum of the Apache HTTP Server Project.
See URL: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] Apache2 ProxyPass

2005-08-30 Thread Neil A. Hillard

Hi,


Is there a workaround for this?  I prefer the first Location statement (to
/zope/) but I can't find out how to get the /zope locations to work.  I've
tried several sets of rules for rewriting /zope to /zope/, and they were
all either rejected as syntax errors, or just didn't work.  Help.


You could try redirecting the client to the correct location (it works 
for me but never tried it with zope):


RewriteRule  ^/zope$ /zope/ [R]


HTH,


Neil.

--
Neil Hillard[EMAIL PROTECTED]
Westland Helicopters Ltd.   http://www.whl.co.uk/

Disclaimer: This message does not necessarily reflect the
views of Westland Helicopters Ltd.

-
The official User-To-User support forum of the Apache HTTP Server Project.
See URL: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] Apache2 ProxyPass

2005-08-30 Thread Administrator
Hi Neil,

Thanks - I tried that, and I get a 404 from it.  I had:

RewriteEngine On
RewriteRule  ^/zope$ /zope/ [R]

At the start of the set of rules I posted (before the 'Location /zope/'
statement).

Am I not understanding?
Do I need to wrap it with something?

Thanks
David

| -Original Message-
| From: Neil A. Hillard [mailto:[EMAIL PROTECTED]
| Sent: Tuesday, August 30, 2005 12:59 PM
| To: users@httpd.apache.org
| Subject: Re: [EMAIL PROTECTED] Apache2  ProxyPass
|
| Hi,
|
|  Is there a workaround for this?  I prefer the first
| Location statement
|  (to
|  /zope/) but I can't find out how to get the /zope
| locations to work.
|  I've tried several sets of rules for rewriting /zope to /zope/,
|  and they were all either rejected as syntax errors, or just
| didn't work.  Help.
|
| You could try redirecting the client to the correct location
| (it works for me but never tried it with zope):
|
| RewriteRule  ^/zope$ /zope/ [R]
|
|
| HTH,
|
|
|   Neil.
|
| --
| Neil Hillard[EMAIL PROTECTED]
| Westland Helicopters Ltd.   http://www.whl.co.uk/
|
| Disclaimer: This message does not necessarily reflect the
|  views of Westland Helicopters Ltd.
|
| -
| The official User-To-User support forum of the Apache HTTP
| Server Project.
| See URL: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 URL: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] .htaccess MOD REWRITING

2005-08-30 Thread Arne Heizmann



   RewriteRule ^item-([0-9]+).html+ index.php?itemid=$1


should probably be:

RewriteRule ^/item-([0-9]+).html /index.php?itemid=$1

What was the purpose of the + you added after html?


**
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.

**


-
The official User-To-User support forum of the Apache HTTP Server Project.
See URL: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] Some kind of domain pointers using URL rewrite

2005-08-30 Thread Cristian Bichis




Hello,

I am trying to use exactly the same source files code for 2 websites 
hosted into 2 hosting user accounts (let's say domain1.com and 
domain2.com), i am on Direct Admin platform.

So, when i want to load  http://www.domain2.com/somecode.php   i want to 
be used  somecode.php file  from the  domain1.com hosting accoun but the 
URL in the browser to be http://www.domain2.com/somecode.php  not  
http://www.domain1.com/somecode.php

So, local paths there are

domain1.com with local path  
/usr/home/domain1/domains/domain1\.com/public_html/

domain2.com with local path  
/usr/home/domain2/domains/domain2\.com/public_html/


My rule is:


RewriteEngine on

RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d

RewriteRule ^/usr/home/domain1/domains/domain1\.com/public_html/(.*)$ 
/usr/home/domain2/domains/domain2\.com/public_html/$1



Any ideea why it's not working or how it should be ?

Thanks,
Cristian




Re: [EMAIL PROTECTED] Some kind of domain pointers using URL rewrite

2005-08-30 Thread Cristian Bichis
Can't set httpd.conf because it's not my server, and i don't have access 
to httpd.conf


Thanks,
Cristian


Cristian Bichis wrote:



RewriteRule ^/usr/home/domain1/domains/domain1\.com/public_html/(.*)$ 
/usr/home/domain2/domains/domain2\.com/public_html/$1



RewriteRules apply to URLs, not local file names.

Perhaps you should instead set your domain1.com's httpd.conf's 
DocumentRoot to /usr/home/domain2/domains/domain2.com/public_html/.




-
The official User-To-User support forum of the Apache HTTP Server Project.
See URL: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: File i/o permission question

2005-08-30 Thread Joshua Slive
On 8/29/05, Gio Pugliese [EMAIL PROTECTED] wrote:
 I was finally able to track down the problem.  Unfortunately being a new
 developer with a new development server which I set up for development it
 appears I did not have the development server set up correctly.  Apache was
 not loading as the apache user, group which is configurable in the
 httpd.conf, thus the process obviously did not have the rights to write to
 the system.  I kept thinking there was a coding error when the it was a
 configuration issue.  Sorry for the newbie mistake.  :)

In the future, you might want to note that there is an apache module
developers mailing list here:
http://modules.apache.org/subscribe

Joshua.

-
The official User-To-User support forum of the Apache HTTP Server Project.
See URL: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 Content-Length header

2005-08-30 Thread Anatoly Pugachev
Hi.
submitted a bug today and received resolution already.
you can see it on
http://issues.apache.org/bugzilla/show_bug.cgi?id=36417
still having a simple question.
Is it really not acceptable to change filesize variable to unsigned long,
since filesize cannot be negative.
My question raised by distributing dvd iso images of linux, for example fc4 or
suse-9.3 is available on dvd, so apache 1.3.33 doesn't return this header and
1.3.29 version is reporting negative value for it.
Thanks in reply (if any)
-- 
Anatoly Pugachev


pgpjboR5shHfx.pgp
Description: PGP signature


Re: [EMAIL PROTECTED] Bug or Feature : global SSLVerifyClient in VirtualHost overrides the same in Location?

2005-08-30 Thread Joe Orton
On Tue, Aug 30, 2005 at 10:23:16AM +0200, Yefym Dmukh wrote:
 SSLVerifyClient is documented as working in directory context, so it 
 should also work in Location context. The manual page for mod_ssl does 
 explicitly say that a SSL renegotiation is triggered if a request for the 
 location is received.
  
 
 Then this is a bug, because it doesn't work for Location 
 
 Simple test scenario is :
 1. access document root location - SSLVerifyClient optional ,  cance 
 certificate choice window.
 2. access location Location /auth with  SSLVerifyClient require - no 
 triggered SSL negotiation - access without certificate granted.

That should not happen, it would be a serious security issue if it did.  
I'd suspect you're seeing a cached session being reused if you're seeing 
access granted to a location with SSLVerifyClient require.

Please can you confirm this: add %{SSL_CLIENT_S_DN}x to some CustomLog 
line so that you can log whether the client cert is actually being 
picked up or not for access to the protected location.

If this isn't working properly it's something we need to get fixed, but 
I can't reproduce any problems here.

Regards,

joe

-
The official User-To-User support forum of the Apache HTTP Server Project.
See URL: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 Content-Length header

2005-08-30 Thread Nick Kew
On Tuesday 30 August 2005 14:48, Anatoly Pugachev wrote:
 Hi.
 submitted a bug today and received resolution already.
 you can see it on
 http://issues.apache.org/bugzilla/show_bug.cgi?id=36417
 still having a simple question.
 Is it really not acceptable to change filesize variable to unsigned long,
 since filesize cannot be negative.

At the time of Apache 1.3, 2Gb was a reasonable size for a hard disc,
and filesystems supporting larger files were exotic.  Feel free to patch it,
but the world has moved on in the years since 1.3 became obsolete.

-- 
Nick Kew

-
The official User-To-User support forum of the Apache HTTP Server Project.
See URL: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] Apache2: Transfer finishing prematurely

2005-08-30 Thread Nick Kew
On Tuesday 30 August 2005 14:50, André-John Mas wrote:
 Does anyone have any ideas about or whether there is a better forum
 fro the question?

No idea what you're talking about.


  I recently installed Gallery 2

Maybe gallery 2 (whatever that is) has a support forum of some kind?

  to serve up pictures from my old Mac 
  G4 466MHz computer. To support it I have installed Apache 2.0.50,
  with PHP, using the binary install

the binary install?
And what's the role of PHP in all this?  It introduces a lot of issues, but
nothing you've said helps determine whether they might be relevant.

  (I tried the source install of 
  2.0.54, but ran into too many compilation issues).

That suggests to me a machine that was broken before you tried to install.

  Along the way I 
  found that if I go to another computer the pictures do not always
  come through in one piece.

The usual reason for that concerns EnableSendfile - see the FAQ.  But in your 
case there are too many strands to your story to say that's really likely.

  So after a bit of tinkering with the 
  config file gave up an installed Apache 1. Although still slow, the
  images arrive complete.

So what's your problem, apart from moving to an obsolete product?

  I have tested the issue with an MP3 and I 
  have the same issue, but not if I am browsing from the computer on
  which the server is running.
 
  Small files seem ok, but once they start going beyond 200K I start
  seeing the issues.

Erm, that's heavy overloading of the word issues jsut after you said it 
works.  Does it work or not?

 
  My network consists of two Macs and a Belkin wireless router. I
  have set the MTU to be 1454.

If any of that is relevant, it's way out of apache's control.

  I am  using dyndns.org and have been 

Not suitable for server apps - but unlikely to be relevant if the
problem has anything at all to do with apache.


-- 
Nick Kew

-
The official User-To-User support forum of the Apache HTTP Server Project.
See URL: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] Redirections in Apache

2005-08-30 Thread Joshua Slive
On 8/30/05, James, Denise [EMAIL PROTECTED] wrote:
 I would like to know how to complete a request to redirect a website that is
 currently virtually hosted so that the virtual host will now point to a URL
 not on our network? 

 They now want this to point to a new URL,
 http://hauss.freac.fsu.edu/webworld 
 
 Would I put a statement under the redirect section of httpd.conf as shown
 below?  Would I also get rid of the virtual host definition or does that
 have to remain in place? 

No.  Put the redirect inside the VirtualHost block.  It should look like:
Redirect / http://auss.freac.fsu.edu/webworld/

Joshua.

-
The official User-To-User support forum of the Apache HTTP Server Project.
See URL: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] Warning: DocumentRoot [htdocs] does not exist

2005-08-30 Thread Joshua Slive
On 8/30/05, jagadish gowda [EMAIL PROTECTED] wrote:
 Hi all,
   I am using Apache 2.0.54 in windows.
 Whenever I run Apache. it is saying
 Warning: DocumentRoot [htdocs] does not exist
 Does anybody know the solution.
 I have tried with the full path,
  DocumentRoot C:/apache/htdocs
   also
  DocumentRoot htdocs
 where serverroot is C:/apache.

Use the full path.

Does the user running the apache service have rights to access this folder?

Joshua.

-
The official User-To-User support forum of the Apache HTTP Server Project.
See URL: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] Directory Index (autoindex) cannot be disabled with Options -Indexes

2005-08-30 Thread Joshua Slive
On 8/29/05, Andreas Damek [EMAIL PROTECTED] wrote:
 Help!
 
 I am trying to disable the automatic display of files in a directory
 when there is no index file (like index.htm) defined by DirectoryIndex.
 
 When I use Options -Indexes it still displays some directories. The
 displayed directories are not systematical; i.e. sometimes only a
 subdirectory, sometimes the accessed directory itself and even more
 curious: if a subdirectory is displayed in the directory listing and I
 then access the subdirectoy directly from the browser it always gives
 me a 403 (not allowed).

I would start here:
http://httpd.apache.org/docs/1.3/misc/FAQ.html#options

If that doesn't answer your question, then post a simple configuration
excerpt that shows the problem, along with the relevant entries from
the error log.

Joshua.

-
The official User-To-User support forum of the Apache HTTP Server Project.
See URL: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.0.54 compatibility with tomcat 3.2.3

2005-08-30 Thread jagadish gowda
Hi all,
  I am using tomcat 3.2.3 and Apache 1.3, and I am
upgarding apache to 2.0.54 version. As for as I see it
is working fine. Please could any body tell me if
these are having any compatibility issues.

Thanks,
Jagadish

__
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 URL: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 occasional 403 error

2005-08-30 Thread Joshua Slive
On 8/30/05, Dominique Fober [EMAIL PROTECTED] wrote:
  Here is some additional information:
 
  - the server and system version numbers:
  Apache-AdvancedExtranetServer/2.0.50 (Mandrakelinux/7.3.101mdk)
  mod_perl/1.99_16 Perl/v5.8.5 mod_ssl/2.0.50 OpenSSL/0.9.7d PHP/4.3.8
  Linux 2.6.8.1-12mdksmp #1 SMP Fri Oct 1 11:24:45 CEST 2004 i686
  Intel(R) Pentium(R) 4 CPU 2.80GHz (official Mandrake 10.1)
 
  Oooo.  I get scarded whenever I see that AdvancedExtranet stuff.
  That means a version of apache with random extra hacks added.  Who
  knows what it will do.
 
 the apache server is as provided with the official mandrake 10.1
 distribution + some updates

Yes, I know.  But that could be quite different than the version
coming from httpd.apache.org.

 
 
 
  - some reports from error_log:
  [Thu Aug 25 11:15:09 2005] [error] [client 81.199.84.124] Directory
  index forbidden by rule: /home/www/html/Creation/Residences/Giroudon/
  [Mon Aug 29 17:57:14 2005] [error] [client 194.5.49.22] Directory
  index
  forbidden by rule: /home/www/html/
  errors are on any folder, access rights have been controled
 
 
  - an excerpt of the commonhttpd.conf
  Directory /home/www/html
   Options -Indexes Includes FollowSymLinks -MultiViews
 
  Well, you do have indexes turned off (although your Options line
  doesn't make a lot of sense -- see the docs for Options).  Do you have
  a file in those directories that matches the DirectoryIndex directive?
 
 yes, there is one (index.html) and the server can find and use it
 almost each time, apart these 'occasional' errors...

I would try running in single-process mode (httpd -X) under strace and
possibly under a debugger to try to figure out exactly why apache
can't find the index.html.

Joshua.

-
The official User-To-User support forum of the Apache HTTP Server Project.
See URL: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] Warning: DocumentRoot [htdocs] does not exist

2005-08-30 Thread jagadish gowda
Hi, 
   Sorry,
   DocumentRoot C:/Apache/htdocs.
   When I give C:/Apache/htdocs111.
   Then it will say, the directoryRoot must be a
directory. I am working on Windows Platform.
Actually I have taken the binary zip file.extracted
it, and running it.

Thanks,
Jagadeesha T


--- Joshua Slive [EMAIL PROTECTED] wrote:

 On 8/30/05, jagadish gowda [EMAIL PROTECTED]
 wrote:
  Hi,
 Thanks for the response.
 I tried with the full path as given below.
 DocumentRoot C:/apahce/htdocs.
 
 You have a typo here.
 
  
 I have logged in as a Administrator.
 I am starting Apache from the Commnadpromt. Is
  there any way I can run debug so that I would know
  what is the document root it is taking.
 
 The error message given on the command prompt (or in
 the error log)
 should show the exact plath that apache is trying.
 
 Joshua.
 

-
 The official User-To-User support forum of the
 Apache HTTP Server Project.
 See URL: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 URL: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] Problems with Apache2 Rewrite after upgrade

2005-08-30 Thread KEVIN ZEMBOWER
Axel-Stephane, sorry to take so long to thank you. Your suggestion was close to 
correct, and led me to the correct answer, for which I am very grateful.

When I tried to implement your solution, I was not able to implement the 
Proxy directive. Some research suggested that I didn't load the mod_proxy 
module. I'm still getting used to this new Apache 2 version, with it's more 
restricted default configuration. Adding mod_proxy, via the 'a2enmod proxy' 
command fixed the whole problem, I think. I never had to load mod_proxy 
separately before.

Thanks, again, for your help and suggestions, and for the gift of the time and 
energy you devoted to exploring my problem.

-Kevin Zembower

 [EMAIL PROTECTED] 08/25/05 04:16AM 
Your problem is not due to mod_rewrite. It is most probably an access control 
problem.

I almost managed to reproduce it by adding the following lines to my test 
config:

ErrorDocument 403 /docs/FORBIDDEN
Proxy *
   Deny from all
/Proxy

What troubles me a little bit is that I do see the rewrite log message 
go-ahead with proxy request in my logs, whereas it does not appear in 
yours... On the other hand you may have edited the logs you posted.


150.175.32.163 - - [25/Aug/2005:10:06:37 +0200] 
[labelle16.foo.bar/sid#16d060][rid#238ec8/initial] (2) init rewrite engine with 
requested uri /docs/123456
150.175.32.163 - - [25/Aug/2005:10:06:37 +0200] 
[labelle16.foo.bar/sid#16d060][rid#238ec8/initial] (3) applying pattern 
'^/docs/?$' to uri '/docs/123456'
150.175.32.163 - - [25/Aug/2005:10:06:37 +0200] 
[labelle16.foo.bar/sid#16d060][rid#238ec8/initial] (3) applying pattern 
'^/docs/index' to uri '/docs/123456'
150.175.32.163 - - [25/Aug/2005:10:06:37 +0200] 
[labelle16.foo.bar/sid#16d060][rid#238ec8/initial] (3) applying pattern 
'^/docs/sitemap' to uri '/docs/123456'
150.175.32.163 - - [25/Aug/2005:10:06:37 +0200] 
[labelle16.foo.bar/sid#16d060][rid#238ec8/initial] (3) applying pattern 
'^/docsum' to uri '/docs/123456'
150.175.32.163 - - [25/Aug/2005:10:06:37 +0200] 
[labelle16.foo.bar/sid#16d060][rid#238ec8/initial] (3) applying pattern 
'^/docs/([0-9]{6})$' to uri '/docs/123456'
150.175.32.163 - - [25/Aug/2005:10:06:37 +0200] 
[labelle16.foo.bar/sid#16d060][rid#238ec8/initial] (2) rewrite /docs/123456 - 
http://db.jhuccp.org/dbtw-wpd/exec/dbtwpcgi.exe?BU=http%3A%2F%2Fdb.jhuccp.org%2Fdbtw-wpd%2Fexec%2Fdbtwpcgi.exeQF0=DocNo%QI0=123456TN=PoplineAC=QBE_QUERYMR=30%DL=1RL=1RF=LongRecordDisplayDF=LongRecordDisplay
 
150.175.32.163 - - [25/Aug/2005:10:06:37 +0200] 
[labelle16.foo.bar/sid#16d060][rid#238ec8/initial] (3) split 
uri=http://db.jhuccp.org/dbtw-wpd/exec/dbtwpcgi.exe?BU=http%3A%2F%2Fdb.jhuccp.org%2Fdbtw-wpd%2Fexec%2Fdbtwpcgi.exeQF0=DocNo%QI0=123456TN=PoplineAC=QBE_QUERYMR=30%DL=1RL=1RF=LongRecordDisplayDF=LongRecordDisplay
 - uri=http://db.jhuccp.org/dbtw-wpd/exec/dbtwpcgi.exe, 
args=BU=http%3A%2F%2Fdb.jhuccp.org%2Fdbtw-wpd%2Fexec%2Fdbtwpcgi.exeQF0=DocNo%QI0=123456TN=PoplineAC=QBE_QUERYMR=30%DL=1RL=1RF=LongRecordDisplayDF=LongRecordDisplay
150.175.32.163 - - [25/Aug/2005:10:06:37 +0200] 
[labelle16.foo.bar/sid#16d060][rid#238ec8/initial] (2) forcing proxy-throughput 
with http://db.jhuccp.org/dbtw-wpd/exec/dbtwpcgi.exe 
150.175.32.163 - - [25/Aug/2005:10:06:37 +0200] 
[labelle16.foo.bar/sid#16d060][rid#238ec8/initial] (1) go-ahead with proxy 
request proxy:http://db.jhuccp.org/dbtw-wpd/exec/dbtwpcgi.exe [OK]
150.175.32.163 - - [25/Aug/2005:10:06:37 +0200] 
[labelle16.foo.bar/sid#16d060][rid#23a680/initial/redir#1] (2) init rewrite 
engine with requested uri /docs/FORBIDDEN
[...]

I also simplified the rewrite rules a little bit, and un-escaped the proxy URL 
(to the best of my ability)

   RewriteRule ^/docs/?$ /docs/index.html
   RewriteRule ^/docs/index -   [L] #If this 
matches, don't do any rewriting
   RewriteRule ^/docs/sitemap   -   [L] #If this 
matches, don't do any rewriting. For Google sitemap program
   RewriteRule ^/docsum -   [L] #If this 
matches, don't do any rewriting
   RewriteRule ^/docs/([0-9]{6})$ 
http://db.jhuccp.org/dbtw-wpd/exec/dbtwpcgi.exe?BU=http://db.jhuccp.org/dbtw-wpd/exec/dbtwpcgi.exeQF0=DocNo%QI0=$1TN=PoplineAC=QBE_QUERYMR=30%DL=1RL=1RF=LongRecordDisplayDF=LongRecordDisplay
  [P]
   RewriteRule ^/docs/[0-9]{4}  -   [L] #If this 
matches, don't do any rewriting
   RewriteRule .* http://db.jhuccp.org/popinform/basic.html  [R,L]

-ascs

-
The official User-To-User support forum of the Apache HTTP Server Project.
See URL: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 

[EMAIL PROTECTED] Compiling issue...

2005-08-30 Thread Zottl, Julian \(Contractor\)
Title: Compiling issue...






Hello all,

Recently I compiled Apache 2.0.49 on Suse Linux using the following:

./configure --enable-layout=FannieMae --with-program-name=apache2 --disable-mandir --disable-iconsdir --enable-static-rotatelogs \

--disable-isapi --enable-static-rotatelogs --disable-autoindex --enable-info --disable-userdir --enable-rewrite --enable-so --with-mpm=worker

Everything compiles successfully, however, after compiling, I need to manually modify apachectl to point to the correct places. Specifically, I need to edit:

pname=apache2

sysconfig_apache=/etc/sysconfig/$pname

sysconfdir=/etc/apache2


test -s $sysconfig_apache  source $sysconfig_apache

httpd_conf=${APACHE_HTTPD_CONF:-$sysconfdir/httpd.conf}


I have looked in the configure script and the Makefile, but am unable to find which script modifies these during compiling. I have tried modifying ./support/apachectl before the compile, but it gets over written. Any help is much appreciated!

Take care,

Julian


Julian Zottl

FannieMae Web Server Engineering Group