mod_autoindex und BasicAuth

2006-10-31 Thread David Lamorski

Hallo,


mit mod_autoindex und  Option Indexes für das entsprechende  
Verzeichnis kann man sich bequem den Inhalt eines Directory als html- 
Seite ausgeben lassen. Weitere Unterverzeichnisse werden auf dieser  
automatisch erzeugten Indexseite als Link angezeigt.
Mein Problem ist nun, dass die Unterverzeichnisse bei Apache 2.0  
immer dann aus dem Index verschwinden, wenn dort eine Basic  
Authentication konfiguriert ist. Dabei spielt es keine Rolle, ob die  
Basic Auth über Location, Directory oder mit 'AllowOverride  
AuthConfig' als .htaccess im Zielverzeichnis konfiguriert wurde.  
Apache 1.3 zeigt im Gegensatz zu 2.0 jedes Unterverzeichnis an.  
Unabhängig davon, ob eine Ebene tiefer eine Authentifikation  
stattfinden soll oder nicht.


Kennt jemand eine Möglichkeit den Apache 2.0 so zu konfigurieren,  
dass sich mod_autoindex so verhält wie bei Apache 1.3 und jedes  
Verzeichnis anzeigt?



/
/dir1
/dir2/.htaccess

Apache 2.0 zeigt an / und /dir1, tippt man blind die URI /dir2  
kommt das Anmeldefenster
Apache 1.3 präsentiert /, /dir1 und /dir2 und erwartet die  
Anmeldung wenn man dem Link nach /dir2 folgt.



Vielen Dank,
David Lamorski
--
   Apache HTTP Server Mailing List users-de
 unsubscribe-Anfragen an [EMAIL PROTECTED]
  sonstige Anfragen an [EMAIL PROTECTED]
--



Re: mod_autoindex und BasicAuth

2006-10-31 Thread James Blond

Hallo!


/
/dir1
/dir2/.htaccess

Apache 2.0 zeigt an / und /dir1, tippt man blind die URI /dir2
kommt das Anmeldefenster
Apache 1.3 präsentiert /, /dir1 und /dir2 und erwartet die
Anmeldung wenn man dem Link nach /dir2 folgt.


Ich verstehe deine Problematik nicht so ganz. Wenn Du
http://irgentwas/dir2 aufrufst dann kommt die Anmeldung, was doch
korrekt ist.
Ist dein Problem, das im erzeugten HTML des webroot dir2 nicht
angezeigt wird oder wie?
Falls ja, dann ist in der .htaccess ein Fehler vorhanden, denn sonst
geht das ohne Probleme.

Gruß
Mario

--
   Apache HTTP Server Mailing List users-de
 unsubscribe-Anfragen an [EMAIL PROTECTED]
  sonstige Anfragen an [EMAIL PROTECTED]
--



Apache2.2 Debian SID was hat sich geändert

2006-10-31 Thread Vladislav Vorobiev

Hallo,

ich experementiere mit SIDs apache2.2 leider ohne erfolg.
Auf einer anderen maschiene mit apache2.0 läuft der konfig.

httpd.conf

VirtualHost *
ServerName localhost
RewriteRule ^/(.*)
http://localhost:8080/VirtualHostBase/http/localhost:80/ru [L,P]
ProxyVia on
IfModule mod_disk_cache.c
  CacheEnable disk /
/IfModule
/VirtualHost


mods-enabled# ll
insgesamt 0
lrwxrwxrwx 1 root root 28 2006-10-19 12:19 alias.load -
../mods-available/alias.load
lrwxrwxrwx 1 root root 28 2006-09-28 06:32 cache.load -
../mods-available/cache.load
lrwxrwxrwx 1 root root 33 2006-10-31 13:31 proxy_html.load -
../mods-available/proxy_html.load
lrwxrwxrwx 1 root root 28 2006-09-28 06:28 proxy.load -
../mods-available/proxy.load
lrwxrwxrwx 1 root root 30 2006-09-28 06:13 rewrite.load -
../mods-available/rewrite.load
...



error.log

[Tue Oct 31 14:16:04 2006] [notice] Apache/2.2.3 (Debian)
proxy_html/2.5 configured -- resuming normal operations
[Tue Oct 31 14:16:07 2006] [warn] proxy: No protocol
handler was valid for the URL /.
If you are using a DSO version of mod_proxy, make sure
the proxy submodules are
included in the configuration using LoadModule.

auf dem Bildschirm

Forbidden 403

You don't have permission to access / on this server.
Apache/2.2.3 (Debian) proxy_html/2.5 Server at www.mykniga.org Port 80

Hat sich was geändert in RewriteRules. Ich habe nur was uber
PassProxy... gefunden.
Any Tips?

Grüß
Vlad

--
Best Regards
Vlad Vorobiev
http://www.mymir.org


--
Best Regards
Vlad Vorobiev
http://www.mymir.org

--
   Apache HTTP Server Mailing List users-de
 unsubscribe-Anfragen an [EMAIL PROTECTED]
  sonstige Anfragen an [EMAIL PROTECTED]
--



Re: mod_autoindex und BasicAuth

2006-10-31 Thread Max Dittrich

Hi,

David Lamorski schrieb:

Mein Problem ist nun, dass die Unterverzeichnisse bei Apache 2.0 immer 
dann aus dem Index verschwinden, wenn dort eine Basic Authentication 
konfiguriert ist. Dabei spielt es keine Rolle, ob die Basic Auth über 
Location, Directory oder mit 'AllowOverride AuthConfig' als 
.htaccess im Zielverzeichnis konfiguriert wurde. Apache 1.3 zeigt im 
Gegensatz zu 2.0 jedes Unterverzeichnis an. Unabhängig davon, ob eine 
Ebene tiefer eine Authentifikation stattfinden soll oder nicht.


Mit der Apache-Version 2.2.0+ gibt es beim Modul mod_autoindex die 
Option ShowForbidden, die das von Dir gewünschte Verhalten ermöglicht.


S.a.:
http://httpd.apache.org/docs/2.2/mod/mod_autoindex.html#indexoptions.showforbidden

Grüsse,
.max


--
   Apache HTTP Server Mailing List users-de 
 unsubscribe-Anfragen an [EMAIL PROTECTED]

  sonstige Anfragen an [EMAIL PROTECTED]
--



Re: Apache2.2 Debian SID wa s hat sich geändert

2006-10-31 Thread Paul Puschmann
On Tue, Oct 31, 2006 at 04:31:04PM +0300, Vladislav Vorobiev wrote:
 Hallo,
 
 ich experementiere mit SIDs apache2.2 leider ohne erfolg.
 Auf einer anderen maschiene mit apache2.0 läuft der konfig.
 
 httpd.conf
 
 VirtualHost *
 ServerName localhost
 RewriteRule ^/(.*)
 http://localhost:8080/VirtualHostBase/http/localhost:80/ru [L,P]
 ProxyVia on
 IfModule mod_disk_cache.c
   CacheEnable disk /
 /IfModule
 /VirtualHost
 
 
 mods-enabled# ll
 insgesamt 0
 lrwxrwxrwx 1 root root 28 2006-10-19 12:19 alias.load -
 ../mods-available/alias.load
 lrwxrwxrwx 1 root root 28 2006-09-28 06:32 cache.load -
 ../mods-available/cache.load
 lrwxrwxrwx 1 root root 33 2006-10-31 13:31 proxy_html.load -
 ../mods-available/proxy_html.load
 lrwxrwxrwx 1 root root 28 2006-09-28 06:28 proxy.load -
 ../mods-available/proxy.load
 lrwxrwxrwx 1 root root 30 2006-09-28 06:13 rewrite.load -
 ../mods-available/rewrite.load
 ...
 
 
 
 error.log
 
 [Tue Oct 31 14:16:04 2006] [notice] Apache/2.2.3 (Debian)
 proxy_html/2.5 configured -- resuming normal operations
 [Tue Oct 31 14:16:07 2006] [warn] proxy: No protocol
 handler was valid for the URL /.
 If you are using a DSO version of mod_proxy, make sure
 the proxy submodules are
 included in the configuration using LoadModule.
 
 auf dem Bildschirm
 
 Forbidden 403
 
 You don't have permission to access / on this server.
 Apache/2.2.3 (Debian) proxy_html/2.5 Server at www.mykniga.org Port 80
 
 Hat sich was geändert in RewriteRules. Ich habe nur was uber
 PassProxy... gefunden.
 Any Tips?
 

In Apache 2.2 musst du die verwendeten Module meist noch von hand
aktivieren. Nicht alle Einstellungen entsprechen den
Standard-Einstellungen bzw. den vorher von Apache 2.0 eingestellten
Werten.

Paul
-- 
: Bitte einen Realname benutzen, unter dem Zitat antworten
: und einfache Text-Mails senden (kein HTML).
: Danke.


signature.asc
Description: Digital signature


Re: Apache2.2 Debian SID was hat sich geändert

2006-10-31 Thread Vladislav Vorobiev

Hallo,

ich denke nicht das es etws mit den Modulen zutun hat.
Es sieht so aus als ob der Apache sich weigert auf port 80 zuzugreifen.

Forbidden

You don't have permission to access / on this server.
Apache/2.2.3 (Debian) PHP/4.4.4-3 mod_ssl/2.2.3 OpenSSL/0.9.8c Server
at www.mykniga.de Port 82

Keine Ahnung wieso. Ich kann mir das nicht Erklären.
Der User ist www-data und kann Problem los auf localhost:8080
zugreifen. Hast du noch Idein. Ich brauche es ziemlich dringend. Habe
zur Zeit mir eine Notlösung aus Apache1.3 gebastelt.

Grüß
Vlad




Am 31.10.06 schrieb Paul Puschmann [EMAIL PROTECTED]:

On Tue, Oct 31, 2006 at 04:31:04PM +0300, Vladislav Vorobiev wrote:
 Hallo,

 ich experementiere mit SIDs apache2.2 leider ohne erfolg.
 Auf einer anderen maschiene mit apache2.0 läuft der konfig.

 httpd.conf

 VirtualHost *
 ServerName localhost
 RewriteRule ^/(.*)
 http://localhost:8080/VirtualHostBase/http/localhost:80/ru [L,P]
 ProxyVia on
 IfModule mod_disk_cache.c
   CacheEnable disk /
 /IfModule
 /VirtualHost


 mods-enabled# ll
 insgesamt 0
 lrwxrwxrwx 1 root root 28 2006-10-19 12:19 alias.load -
 ../mods-available/alias.load
 lrwxrwxrwx 1 root root 28 2006-09-28 06:32 cache.load -
 ../mods-available/cache.load
 lrwxrwxrwx 1 root root 33 2006-10-31 13:31 proxy_html.load -
 ../mods-available/proxy_html.load
 lrwxrwxrwx 1 root root 28 2006-09-28 06:28 proxy.load -
 ../mods-available/proxy.load
 lrwxrwxrwx 1 root root 30 2006-09-28 06:13 rewrite.load -
 ../mods-available/rewrite.load
 ...



 error.log

 [Tue Oct 31 14:16:04 2006] [notice] Apache/2.2.3 (Debian)
 proxy_html/2.5 configured -- resuming normal operations
 [Tue Oct 31 14:16:07 2006] [warn] proxy: No protocol
 handler was valid for the URL /.
 If you are using a DSO version of mod_proxy, make sure
 the proxy submodules are
 included in the configuration using LoadModule.

 auf dem Bildschirm

 Forbidden 403

 You don't have permission to access / on this server.
 Apache/2.2.3 (Debian) proxy_html/2.5 Server at www.mykniga.org Port 80

 Hat sich was geändert in RewriteRules. Ich habe nur was uber
 PassProxy... gefunden.
 Any Tips?


In Apache 2.2 musst du die verwendeten Module meist noch von hand
aktivieren. Nicht alle Einstellungen entsprechen den
Standard-Einstellungen bzw. den vorher von Apache 2.0 eingestellten
Werten.

Paul
--
: Bitte einen Realname benutzen, unter dem Zitat antworten
: und einfache Text-Mails senden (kein HTML).
: Danke.


-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.5 (GNU/Linux)

iD8DBQFFR1yOqErKtBWD7VQRAkV2AJwKbrJu8t/J5KO7eGeS3WaXIUm4uwCfQ/Pi
aF0JxKeo+IH7mIz8MedjzUY=
=41/5
-END PGP SIGNATURE-






--
Best Regards
Vlad Vorobiev
http://www.mymir.org

--
   Apache HTTP Server Mailing List users-de
 unsubscribe-Anfragen an [EMAIL PROTECTED]
  sonstige Anfragen an [EMAIL PROTECTED]
--



Re: Apache2.2 Debian SID was hat sich geändert

2006-10-31 Thread Vladislav Vorobiev

Sorry für den MailBomber aber ich korregiere mich:

Hallo,

Ein anderen Server habe ich auf Etch upgedatet das gleiche Problem.
ich denke nicht das es etws mit den Modulen zutun hat.
Es sieht so aus als ob der Apache sich weigert auf port 8080 per
RewriteRule zuzugreifen.

Forbidden

You don't have permission to access / on this server.
Apache/2.2.3 (Debian) PHP/4.4.4-3 mod_ssl/2.2.3 OpenSSL/0.9.8c Server
at www.mykniga.de Port 82

Keine Ahnung wieso. Ich kann mir das nicht Erklären.
Der User ist www-data und kann problemlos auf localhost:8080
zugreifen.  Habe
zur Zeit mir eine Notlösung aus Apache1.3 gebastelt.

Grüß
Vlad

2006/11/1, Vladislav Vorobiev [EMAIL PROTECTED]:

Hallo,

ich denke nicht das es etws mit den Modulen zutun hat.
Es sieht so aus als ob der Apache sich weigert auf port 80 zuzugreifen.

Forbidden

You don't have permission to access / on this server.
Apache/2.2.3 (Debian) PHP/4.4.4-3 mod_ssl/2.2.3 OpenSSL/0.9.8c Server
at www.mykniga.de Port 82

Keine Ahnung wieso. Ich kann mir das nicht Erklären.
Der User ist www-data und kann Problem los auf localhost:8080
zugreifen. Hast du noch Idein. Ich brauche es ziemlich dringend. Habe
zur Zeit mir eine Notlösung aus Apache1.3 gebastelt.

Grüß
Vlad




Am 31.10.06 schrieb Paul Puschmann [EMAIL PROTECTED]:
 On Tue, Oct 31, 2006 at 04:31:04PM +0300, Vladislav Vorobiev wrote:
  Hallo,
 
  ich experementiere mit SIDs apache2.2 leider ohne erfolg.
  Auf einer anderen maschiene mit apache2.0 läuft der konfig.
 
  httpd.conf
 
  VirtualHost *
  ServerName localhost
  RewriteRule ^/(.*)
  http://localhost:8080/VirtualHostBase/http/localhost:80/ru [L,P]
  ProxyVia on
  IfModule mod_disk_cache.c
CacheEnable disk /
  /IfModule
  /VirtualHost
 
 
  mods-enabled# ll
  insgesamt 0
  lrwxrwxrwx 1 root root 28 2006-10-19 12:19 alias.load -
  ../mods-available/alias.load
  lrwxrwxrwx 1 root root 28 2006-09-28 06:32 cache.load -
  ../mods-available/cache.load
  lrwxrwxrwx 1 root root 33 2006-10-31 13:31 proxy_html.load -
  ../mods-available/proxy_html.load
  lrwxrwxrwx 1 root root 28 2006-09-28 06:28 proxy.load -
  ../mods-available/proxy.load
  lrwxrwxrwx 1 root root 30 2006-09-28 06:13 rewrite.load -
  ../mods-available/rewrite.load
  ...
 
 
 
  error.log
 
  [Tue Oct 31 14:16:04 2006] [notice] Apache/2.2.3 (Debian)
  proxy_html/2.5 configured -- resuming normal operations
  [Tue Oct 31 14:16:07 2006] [warn] proxy: No protocol
  handler was valid for the URL /.
  If you are using a DSO version of mod_proxy, make sure
  the proxy submodules are
  included in the configuration using LoadModule.
 
  auf dem Bildschirm
 
  Forbidden 403
 
  You don't have permission to access / on this server.
  Apache/2.2.3 (Debian) proxy_html/2.5 Server at www.mykniga.org Port 80
 
  Hat sich was geändert in RewriteRules. Ich habe nur was uber
  PassProxy... gefunden.
  Any Tips?
 

 In Apache 2.2 musst du die verwendeten Module meist noch von hand
 aktivieren. Nicht alle Einstellungen entsprechen den
 Standard-Einstellungen bzw. den vorher von Apache 2.0 eingestellten
 Werten.

 Paul
 --
 : Bitte einen Realname benutzen, unter dem Zitat antworten
 : und einfache Text-Mails senden (kein HTML).
 : Danke.


 -BEGIN PGP SIGNATURE-
 Version: GnuPG v1.4.5 (GNU/Linux)

 iD8DBQFFR1yOqErKtBWD7VQRAkV2AJwKbrJu8t/J5KO7eGeS3WaXIUm4uwCfQ/Pi
 aF0JxKeo+IH7mIz8MedjzUY=
 =41/5
 -END PGP SIGNATURE-





--
Best Regards
Vlad Vorobiev
http://www.mymir.org




--
Best Regards
Vlad Vorobiev
http://www.mymir.org

--
   Apache HTTP Server Mailing List users-de
 unsubscribe-Anfragen an [EMAIL PROTECTED]
  sonstige Anfragen an [EMAIL PROTECTED]
--



Re: [EMAIL PROTECTED] README file doesn't list when using Options +Indexes

2006-10-31 Thread Matus UHLAR - fantomas
On 31.10.06 08:42, Jan van den Berg wrote:
 I have a strange problem with Apache/2.0.58. 
 
 I have a .htaccess file with: Options +Indexes in it, so the contents of
 the dir should be listed.
 
 This is true however, a file called README doesn't show up in the list. 
 
 When the file is spelled readme, rEADME, Readme or READMe it does!
 
 But when it is in spelled in capital letters it won't show up in the
 directory listing. 
 
 Other files with only capital letters will show up. So it is just the
 word 'README' that seems to be the problem.

you probably have the
ReadmeName README 
directive in config... comment it out or turn it on...

isn't the context of README displayed at the bottom of the index page? :)

-- 
Matus UHLAR - fantomas, [EMAIL PROTECTED] ; http://www.fantomas.sk/
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
Linux is like a wigwam: no Windows, no Gates and an apache inside...

-
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] README file doesn't list when using Options +Indexes

2006-10-31 Thread Matus UHLAR - fantomas
 On 31.10.06 08:42, Jan van den Berg wrote:
  I have a strange problem with Apache/2.0.58. 
  
  I have a .htaccess file with: Options +Indexes in it, so the contents of
  the dir should be listed.
  
  This is true however, a file called README doesn't show up in the list. 

On 31.10.06 10:36, Matus UHLAR - fantomas wrote:
 you probably have the
 ReadmeName README 
 directive in config... comment it out or turn it on...

or even

IndexIgnore README ...

remove README off IndexIgnore...

 isn't the context of README displayed at the bottom of the index page? :)


-- 
Matus UHLAR - fantomas, [EMAIL PROTECTED] ; http://www.fantomas.sk/
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
To Boot or not to Boot, that's the question. [WD1270 Caviar]

-
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] Figuring out how much memory httpd is using?

2006-10-31 Thread Cabbar Duzayak

Hi,

I am running Apache with mod_php. Could you please tell how I can find
out how much memory does httpd processes consume (which includes PHP
memory usage) in total and how one can interpret the top results I
listed below, specifically SIZE/RESIDENT AND SHARED, i.e. is it
separate for each process, is the amount of memory consumed total of
all these, etc?

Here is the result of top:

 PID USER PRI  NI  SIZE  RSS SHARE STAT %CPU %MEM   TIME CPU COMMAND
21613 nobody 9   0 13328  11M 10288 S 0.4  0.3   0:59   0 httpd
22783 nobody 9   0 13472  11M  9920 S 0.4  0.3   0:58   1 httpd
16929 nobody 9   0 11120 9808  7644 S 0.4  0.2   0:00   1 httpd
1623 root   9   0  5384 3360  3320 S 0.0  0.0   0:05   1 httpd
21603 nobody 9   0 13560  11M 10164 S 0.0  0.3   1:09   1 httpd
21604 nobody 8   0 13836  12M 10160 S 0.0  0.3   1:10   0 httpd
21605 nobody 9   0 13280  11M  9832 S 0.0  0.3   0:57   0 httpd
21606 nobody 9   0 13772  11M 10312 S 0.0  0.3   1:10   1 httpd
21607 nobody 9   0 13768  12M 10668 S 0.0  0.3   1:11   0 httpd
21608 nobody 9   0 13300  11M 11020 S 0.0  0.3   1:02   1 httpd
21609 nobody 9   0 13344  11M 10012 S 0.0  0.3   1:01   1 httpd
21610 nobody 9   0 12980  11M  9372 S 0.0  0.3   0:57   1 httpd
21612 nobody 9   0 13600  11M 10728 S 0.0  0.3   1:07   1 httpd
25591 nobody 9   0 13340  11M 11448 S 0.0  0.3   1:06   0 httpd
25603 nobody 9   0 13404  11M 11300 S 0.0  0.3   1:01   0 httpd
25604 nobody 9   0 13508  11M  9700 S 0.0  0.3   1:07   0 httpd
4953 nobody 9   0 13748  12M 10412 S 0.0  0.3   1:02   1 httpd
3232 nobody 9   0 13720  11M 10276 S 0.0  0.3   0:58   1 httpd
3262 nobody 9   0 13108  11M  9504 S 0.0  0.3   1:01   1 httpd
29496 nobody 9   0 13532  11M 10248 S 0.0  0.3   0:56   0 httpd
5101 nobody 9   0 13088  11M 10852 S 0.0  0.3   0:51   0 httpd
6627 nobody 9   0 13480  11M 10064 S 0.0  0.3   0:49   1 httpd
8252 nobody 9   0 12920  11M 10888 S 0.0  0.3   0:31   0 httpd
7002 nobody 9   0 13232  11M 11440 S 0.0  0.3   0:06   1 httpd
10447 nobody 9   0 12428  10M  9600 S 0.0  0.2   0:05   1 httpd
18950 nobody 9   0 12440  10M  9648 S 0.0  0.2   0:06   1 httpd
29191 nobody 9   0 12280  10M  9696 S 0.0  0.2   0:02   1 httpd
15401 nobody 9   0 12044  10M  8536 S 0.0  0.2   0:00   1 httpd
16577 nobody 9   0 11628  10M  8084 S 0.0  0.2   0:00   1 httpd
16795 nobody 9   0 12172  10M  8684 S 0.0  0.2   0:00   1 httpd
19490 nobody 9   0 11316   9M  7796 S 0.0  0.2   0:00   0 httpd

Thanks.

-
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] Allowing negotiated content to be cached

2006-10-31 Thread Spartanicus
I'm experimenting with multiviews to get more user friendly URLs, and so
that I can change foobar.htm to foobar.cgi without causing problems
or requiring a fix.

Consequently normally the document returned should be the same so I
added CacheNegotiatedDocs On for HTTP/1.0 requests.

What is the best way to allow these types of negotiated documents to
be cached as if they weren't negotiated for HTTP/1.1 requests?

-- 
Spartanicus

(email whitelist in use, non list-server mail will not be seen)

-
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] Problem building apache 2.2.23 with mod_ldap_auth

2006-10-31 Thread John P. Dodge
On Fri, 27 Oct 2006, Quentin North wrote:

 Im trying to build apache 2.2.23 on Centos4 with mod_ldap_auth. Im using
 the following configure line:

 ./configure --prefix=/apache --enable-ldap --enable-auth-ldap
 --with-apr=srclib/apr --with-apr-util=srclib/apr-util

 When I try the make, I get the following output and errors:

 [..snip..]

 util_ldap.c:41:2: #error mod_ldap requires APR-util to have LDAP support
 built in
 util_ldap.c: In function `util_ldap_handler':

 [..snip..]

 The apr lib sources appears to be in in srclib/apr and srclib/apr-util

Use the following configure options to build APR with ldap:

 --with-ldap  --with-ldap-dir=/opt/openldap


Mon aéroglisseur est plein d'anguilles
John P. Dodge
Boeing Shared Services


-
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 Proxy to Tomcat backend

2006-10-31 Thread Serge Dubrouski

Have you tried to use AJP connector instead of proxying?

On 10/31/06, Roger Hendrix at Baldor-IS [EMAIL PROTECTED] wrote:

Greetings:

I am trying to configure an Apache front-end Proxy Service to talk to a backend 
Tomcat Server.

The Apache Server is:apache2-2.0.49-27.59
The Tomcat Server is: jakaarta-tomcat-5.0.19-29.1

The Apache Server is configured using ProxyPass and ProxyPreserveHost 
statements.

Users can connect to the java application.

My problem is that the java application requires COOKIES to be maintained at 
the user client level and these COOKIES are not being passed back to the user 
clients.

If I connect directly to the tomcat server locally, all works correctly.

I am sure it is something simple in the Apache Server Configuration.

Please advise.

Best regards.

Roger Hendrix
Information Services
Baldor Electric Co.
5711 R. S. Boreham, Jr. St.  72908

Phone:   479-648-5823

Internal Web.:  http://my.baldor.com
External Web:  http://www.baldor.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]




-
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] Allowing negotiated content to be cached

2006-10-31 Thread Joshua Slive

On 10/31/06, Spartanicus [EMAIL PROTECTED] wrote:

I'm experimenting with multiviews to get more user friendly URLs, and so
that I can change foobar.htm to foobar.cgi without causing problems
or requiring a fix.

Consequently normally the document returned should be the same so I
added CacheNegotiatedDocs On for HTTP/1.0 requests.

What is the best way to allow these types of negotiated documents to
be cached as if they weren't negotiated for HTTP/1.1 requests?


You need to examine exactly what response headers apache is sending
for these requests and make adjustments as required.  For example, you
might find
SetEnv force-no-vary
or
Header unset Vary
might help.  But I haven't tested that.

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] Problem building apache 2.2.23 with mod_ldap_auth

2006-10-31 Thread Quentin North
John

Thanks for your reply

 -Original Message-
 From: John P. Dodge [mailto:[EMAIL PROTECTED] 
 
 On Fri, 27 Oct 2006, Quentin North wrote:
 
  Im trying to build apache 2.2.23 on Centos4 with 
 mod_ldap_auth. Im using
  the following configure line:
 
  ./configure --prefix=/apache --enable-ldap --enable-auth-ldap
  --with-apr=srclib/apr --with-apr-util=srclib/apr-util
 
 
 Use the following configure options to build APR with ldap:
 
  --with-ldap  --with-ldap-dir=/opt/openldap

Im using the Centos4 bundled Openldap install which has the ldap
libraries in /usr/lib/libldap* and the headers in /usr/include/ldap* so
do I still need to specify the ldap-dir? Do I need to do an additional
install of Openldap to use instead of the Centos4 bundled one?

All help appreciated.

-
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 Proxy to Tomcat backend

2006-10-31 Thread Nick Kew
On Tue, 31 Oct 2006 11:23:49 -0600
Roger Hendrix at Baldor-IS [EMAIL PROTECTED] wrote:

 Greetings:
 
 I am trying to configure an Apache front-end Proxy Service to talk to
 a backend Tomcat Server.
 
 The Apache Server is:  apache2-2.0.49-27.59
 The Tomcat Server is: jakaarta-tomcat-5.0.19-29.1
 
 The Apache Server is configured using ProxyPass and ProxyPreserveHost
 statements.
 
 Users can connect to the java application.

Upgrade to Apache 2.2, and use whatever is necessary of its
new proxy cookie manipulation capabilities.

That also gives you the benefit of mod_proxy_ajp, for more
efficient connection to Tomcat.

-- 
Nick Kew

Application Development with Apache - the Apache Modules Book
http://www.apachetutor.org/

-
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] Problem building apache 2.2.23 with mod_ldap_auth

2006-10-31 Thread Serge Dubrouski

Do you have openldap-devel rpm installed?

On 10/31/06, Quentin North [EMAIL PROTECTED] wrote:

John

Thanks for your reply

 -Original Message-
 From: John P. Dodge [mailto:[EMAIL PROTECTED]

 On Fri, 27 Oct 2006, Quentin North wrote:

  Im trying to build apache 2.2.23 on Centos4 with
 mod_ldap_auth. Im using
  the following configure line:
 
  ./configure --prefix=/apache --enable-ldap --enable-auth-ldap
  --with-apr=srclib/apr --with-apr-util=srclib/apr-util
 

 Use the following configure options to build APR with ldap:

  --with-ldap  --with-ldap-dir=/opt/openldap

Im using the Centos4 bundled Openldap install which has the ldap
libraries in /usr/lib/libldap* and the headers in /usr/include/ldap* so
do I still need to specify the ldap-dir? Do I need to do an additional
install of Openldap to use instead of the Centos4 bundled one?

All help appreciated.

-
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] Apache2 Proxy to Tomcat backend

2006-10-31 Thread Roger Hendrix at Baldor-IS
Greetings:

I am trying to configure an Apache front-end Proxy Service to talk to a backend 
Tomcat Server.

The Apache Server is:apache2-2.0.49-27.59
The Tomcat Server is: jakaarta-tomcat-5.0.19-29.1

The Apache Server is configured using ProxyPass and ProxyPreserveHost 
statements.

Users can connect to the java application.

My problem is that the java application requires COOKIES to be maintained at 
the user client level and these COOKIES are not being passed back to the user 
clients.

If I connect directly to the tomcat server locally, all works correctly.

I am sure it is something simple in the Apache Server Configuration.

Please advise.

Best regards.

Roger Hendrix
Information Services
Baldor Electric Co.
5711 R. S. Boreham, Jr. St.  72908

Phone:   479-648-5823

Internal Web.:  http://my.baldor.com
External Web:  http://www.baldor.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] Re: Problem with mod_rewrite example from Apache manual

2006-10-31 Thread Júlio Maranhão

Joshua Slive wrote:


What error?  It looks correct in the manual to me.



http://httpd.apache.org/docs/2.2/howto/access.html

The error is clear and the solution is to remove a single space as you 
explained.

Cheers

Júlio


-
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: Problem with mod_rewrite example from Apache manual

2006-10-31 Thread Joshua Slive

On 10/31/06, Júlio Maranhão [EMAIL PROTECTED] wrote:

Joshua Slive wrote:

 What error?  It looks correct in the manual to me.


http://httpd.apache.org/docs/2.2/howto/access.html

The error is clear and the solution is to remove a single space as you 
explained.


Yep, you're right.  I was looking in the mod_rewrite docs.

Please do file a bug report including that URL.

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] Re: Problem with mod_rewrite example from Apache manual

2006-10-31 Thread Júlio Maranhão

Joshua Slive wrote:


Please do file a bug report including that URL.



Done.


-
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 Proxy to Tomcat backend

2006-10-31 Thread Roger Hendrix at Baldor-IS
Greetings:

Note the target computer is SuSe 9.3x running on an IBM Mainframe; therefore, 
it is 64-bit.

Ok, I downloaded Apache2 2.2.3 source and have attempted to run the following:

./configure --prefix=/srv/www/apache2
make

Now, the make is failing as follows:

Welcome to SUSE LINUX Enterprise Server 9 (s390x) - Kernel 2.6.5-7.282-s390x (0)
.
balweb21:/addons/httpd-2.2.3 # make
Making all in srclib
make[1]: Entering directory `/addons/httpd-2.2.3/srclib'
Making all in apr
make[2]: Entering directory `/addons/httpd-2.2.3/srclib/apr'
make[3]: Entering directory `/addons/httpd-2.2.3/srclib/apr'
make[3]: Nothing to be done for `local-all'.
make[3]: Leaving directory `/addons/httpd-2.2.3/srclib/apr'
make[2]: Leaving directory `/addons/httpd-2.2.3/srclib/apr'
Making all in apr-util
make[2]: Entering directory `/addons/httpd-2.2.3/srclib/apr-util'
make[3]: Entering directory `/addons/httpd-2.2.3/srclib/apr-util'
/bin/sh /addons/httpd-2.2.3/srclib/apr/libtool --silent --mode=link  gcc -g -O2 
-pthread   -DHAVE_CONFIG_H -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE   
-I/addons/httpd-2.2.3/srclib/apr-util/include 
-I/addons/httpd-2.2.3/srclib/apr-util/include/private  
-I/addons/httpd-2.2.3/srclib/apr/include-version-info 2:7:2-o 
libaprutil-1.la -rpath /srv/www/apache2/lib buckets/apr_buckets_pipe.lo 
buckets/apr_buckets_flush.lo buckets/apr_buckets_alloc.lo 
buckets/apr_buckets_pool.lo buckets/apr_buckets_socket.lo 
buckets/apr_buckets_heap.lo buckets/apr_buckets_simple.lo 
buckets/apr_buckets_file.lo buckets/apr_buckets.lo buckets/apr_buckets_mmap.lo 
buckets/apr_buckets_eos.lo buckets/apr_brigade.lo 
buckets/apr_buckets_refcount.lo crypto/apr_sha1.lo crypto/uuid.lo 
crypto/getuuid.lo crypto/apr_md5.lo crypto/apr_md4.lo dbm/apr_dbm.lo 
dbm/apr_dbm_berkeleydb.lo dbm/apr_dbm_gdbm.lo dbm/apr_dbm_ndbm.lo 
dbm/apr_dbm_sdbm.lo dbm/sdbm/sdbm_pair.lo dbm/sdbm/sdbm.lo 
dbm/sdbm/sdbm_hash.lo dbm/sdbm/sdbm_lock.lo encoding/apr_base64.lo 
hooks/apr_hooks.lo ldap/apr_ldap_url.lo ldap/apr_ldap_option.lo 
ldap/apr_ldap_init.lo misc/apr_reslist.lo misc/apu_version.lo misc/apr_date.lo 
misc/apr_rmm.lo misc/apr_queue.lo uri/apr_uri.lo xml/apr_xml.lo 
strmatch/apr_strmatch.lo xlate/xlate.lo dbd/apr_dbd.lo dbd/apr_dbd_sqlite2.lo 
dbd/apr_dbd_sqlite3.lo dbd/apr_dbd_pgsql.lo   -lrt -lcrypt  -lpthread -ldl  
/usr/lib/libexpat.la /addons/httpd-2.2.3/srclib/apr/libapr-1.la -lrt -lcrypt 
-lpthread -ldl
/usr/lib/libexpat.so: could not read symbols: Invalid operation
collect2: ld returned 1 exit status
make[3]: *** [libaprutil-1.la] Error 1
make[3]: Leaving directory `/addons/httpd-2.2.3/srclib/apr-util'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/addons/httpd-2.2.3/srclib/apr-util'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/addons/httpd-2.2.3/srclib'
make: *** [all-recursive] Error 1
balweb21:/addons/httpd-2.2.3 #


Does anyone know how to correct this problem??


Best regards.

Roger Hendrix
Information Services
Baldor Electric Co.
5711 R. S. Boreham, Jr. St.  72908

Phone:   479-648-5823

Internal Web.:  http://my.baldor.com
External Web:  http://www.baldor.com


-Original Message-
From: Nick Kew [mailto:[EMAIL PROTECTED]
Sent: Tuesday, October 31, 2006 11:37 AM
To: users@httpd.apache.org
Subject: Re: [EMAIL PROTECTED] Apache2 Proxy to Tomcat backend


On Tue, 31 Oct 2006 11:23:49 -0600
Roger Hendrix at Baldor-IS [EMAIL PROTECTED] wrote:

 Greetings:
 
 I am trying to configure an Apache front-end Proxy Service to talk to
 a backend Tomcat Server.
 
 The Apache Server is:  apache2-2.0.49-27.59
 The Tomcat Server is: jakaarta-tomcat-5.0.19-29.1
 
 The Apache Server is configured using ProxyPass and ProxyPreserveHost
 statements.
 
 Users can connect to the java application.

Upgrade to Apache 2.2, and use whatever is necessary of its
new proxy cookie manipulation capabilities.

That also gives you the benefit of mod_proxy_ajp, for more
efficient connection to Tomcat.

-- 
Nick Kew

Application Development with Apache - the Apache Modules Book
http://www.apachetutor.org/

-
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] Cannot compile with mod_authnz_ldap

2006-10-31 Thread Christian Billen
Good afternoon,

I am attempting a fresh apache 2.2.3 install on ubuntu 6.10 x86.


This is my configure line:
./configure --prefix=/usr/local/apache2 --enable-mods-shared=all --with-ldap
--enable-ldap --enable-authnz-ldap

But when I make I encounter the following

mod_authnz_ldap.c:40:2: error: #error mod_authnz_ldap requires APR-util to
have LDAP support built in. To fix add --with-ldap to ./configure.

And as you can see the --with-ldap is there, this is a fresh extract from
http-2.2.3.tar.gz and I confirm the apr and apr-util are in the srclib
folder.

Any help is greatly appreciated.

Christian


-
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] mod_disk_cache stores the result without HTTP compression

2006-10-31 Thread KevinK

I am using Apache 2.0.55 with mod_disk_cache and mod_deflate.  When a user
who supports HTTP compression gets the same URL twice, they get it with HTTP
compression the first time, but without compression on subsequent times when
it gets served from the cache.  The data file in the cache reveals that it's
uncompressed there.

The HTTP headers look good on the first time.  The user says
Accept-Encoding: gzip and the server responds with Cache-Control:
max-age=1800, Vary: Accept-Encoding, and Content-Encoding: gzip.  On
the second time, the user sends the same exact HTTP request headers but the
server response from mod_disk_cache lacks the Vary and Content-Encoding
headers.

Shouldn't mod_disk_cache be storing the compressed version?  If two users
hit the same URL and one supports compression but the other doesn't,
shouldn't mod_disk_cache store both versions in its cache?

Is there a bit of configuration that I'm missing to tell mod_disk_cache to
do this?

Thank you!
-- 
View this message in context: 
http://www.nabble.com/mod_disk_cache-stores-the-result-without-HTTP-compression-tf2549810.html#a7106763
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 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 Proxy to Tomcat backend

2006-10-31 Thread Jeff McAdams
Roger Hendrix at Baldor-IS wrote:
 I am trying to configure an Apache front-end Proxy Service to talk to
 a backend Tomcat Server.

 The Apache Server is:  apache2-2.0.49-27.59
 The Tomcat Server is:  jakarta-tomcat-5.0.19-29.1

 The Apache Server is configured using ProxyPass and ProxyPreserveHost
 statements.

 Users can connect to the java application.

 My problem is that the java application requires COOKIES to be
 maintained at the user client level and these COOKIES are not being
 passed back to the user clients.

 If I connect directly to the tomcat server locally, all works
 correctly.

 I am sure it is something simple in the Apache Server Configuration.

We're doing basically this (and I respond because we're a SuSE shop and
those version numbers looked suspiciously like SuSE version
numbers...confirmed downthread, I see), but we're using JKMount with
mod_jk connectors rather than just proxying.  Well, I did have a proxy
setup as well, but it wasn't as clean of a setup...the mod_jk is better.

I see someone already suggested going to 2.2.x and using the
mod_proxy_ajp (which is the 2.2.x equivalent of mod_jk, but really much
better), but that you're having some trouble compiling 2.2.x.  You
really don't need to do that, nice though the 2.2.x stuff is.  I have a
setup using that as well...it really is nice, but I snagged packages
from ftp.suse.com for my SLES9 boxes, but I didn't turn up any s390
packages for 9.3 there, alas.

So, look into the mod_jk stuff using JKMount, it should do what you need
without the need of proxy'ing, and all the cookies will get set correctly.

Be aware that the mod_jk stuff doesn't rewrite cookie paths either, so
the URL path that the user sees will need to match the context path in
Apache, or else you'll have to change the way you're setting your
cookies in your Java code...probably just easier to make them match.
FWIW, we do a redirect on an empty path to redirect the user into the
context of the tomcat app so that the user sees the same URL path as the
tomcat app's context is set up to use.

I'm looking forward to SLES10, with pre-packaged apache 2.2.x and
switching over to the mod_proxy_ajp stuff, as it really is cleaner and
nicer all around and also has the ability to rewrite cookie paths to
match the rest of the proxy rewriting stuff.
-- 
Jeff McAdams
They that can give up essential liberty to obtain a
little temporary safety deserve neither liberty nor safety.
   -- Benjamin Franklin



signature.asc
Description: OpenPGP digital signature


Re: [EMAIL PROTECTED] mod_disk_cache stores the result without HTTP compression

2006-10-31 Thread Joshua Slive

On 10/31/06, KevinK [EMAIL PROTECTED] wrote:


I am using Apache 2.0.55 with mod_disk_cache and mod_deflate.  When a user
who supports HTTP compression gets the same URL twice, they get it with HTTP
compression the first time, but without compression on subsequent times when
it gets served from the cache.  The data file in the cache reveals that it's
uncompressed there.


Use 2.2 which has proper Vary support and lots of other bug fixes in the cache.

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] RE: Extending Apache to subscriber account web model

2006-10-31 Thread Neville Aga



Try #2 - any takers out there? I am interested in upgrading 
my existing web site to have a way for people to log in via forms and set a 
cookie, and have a module that lets people sign up for accounts, email out a 
confirmation, handle lost passwords, etc. I want to do this with my existing 
apache / mod_perl install. I am seeing several scripts and options out there, 
both paid and free and I want to poll this community on what the best way is to 
achieve this functionality with an existing script/module. I dont want to 
re-invest the wheel - any takers?

Thanks,
Neville Aga



From: Neville Aga Sent: Friday, 
October 27, 2006 5:35 AMTo: users@httpd.apache.orgSubject: 
Extending Apache to subscriber account web model

I have an existing website running Apache 1.3.34 that is 
integrated with PERL via mod_perl. (the site is checkinsooner.com). I want to 
take the next step with this site and open up usernames and passwords so that 
people can look at data pertinent to thier visits on the site. I am not sure how 
to implement this. What is the best way to add an authenticated user piece to a 
site,not quite a a shopping cart 
applicationbut more 
likea registered user application? I am looking for standard stuff 
- allowpeople to sign up for accounts, send out automated emails with 
account information, confirm receiept of that email,when logged in look at information relevant to 
thier account,etc. I am just not sure how to build this kind of 
service into an existing apache website. Any suggestions on what I should be 
looking at?

Thanks,
Neville 
Aga



[EMAIL PROTECTED] Apache 2.2, Error: not in required group(s).

2006-10-31 Thread Ian Brandt

I've just upgraded to 2.2.3 from 2.0.54.  I've reviewed the docs
regarding the auth changes.  My config is:

Location /svn
DAV svn
SVNParentPath /var/lib/svn
SVNListParentPath on

SVNPathAuthz off

AuthType Basic
AuthName Subversion Repository
AuthBasicProvider file
AuthUserFile /etc/apache2/.htpasswd
Require valid-user
/Location


However when I try to authenticate the following appears in error.log:

[error] GROUP: ibrandt not in required group(s).

By Require valid-user shouldn't anything to do with groups be
irrelevant?  I grep'ed my configs and I don't have Require group
anywhere.

Thanks,

Ian

-
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 forbidden by Options directive

2006-10-31 Thread Boyle Owen
 -Original Message-
 From: Clodoaldo Pinto Neto [mailto:[EMAIL PROTECTED] 
 Sent: Monday, October 30, 2006 5:08 PM
 To: users@httpd.apache.org
 Subject: Re: [EMAIL PROTECTED] Directory index forbidden by 
 Options directive
 
 2006/10/30, Boyle Owen [EMAIL PROTECTED]:
  I don't know what you're doing wrong... I tried you're config as you
  described it and it works fine. There must be an additional config
  snippet somewhere that is screwing things up for you. Do 
 you have any
  Includes?
 
  To debug further, strip it down to just this VH and check 
 that you get
  the expected behaviour. Then put back all additional complications
  (other VHs, rewrite rules, SSL, whatever...) one piece at a 
 time, until
  it breaks again - maybe that will shed some light on it...
 
 Thanks for the tip. I found the culprit. Fedora Core 5 (i think the
 previous versions also) has a welcome.conf in conf.d:
 
 LocationMatch ^/+$
 Options -Indexes
 ErrorDocument 403 /error/noindex.html
 /LocationMatch

Ah-h

 
 Since I like the welcome page I came with this workaround:
 
 VirtualHost 10.1.1.103:80
ServerName yumrepo.s0
DocumentRoot /var/www/html/yum
Location /
   Options Indexes
/Location
Directory /var/www/html/yum
   AllowOverride None
   Options Indexes
   Order Allow,Deny
   Allow from all
/Directory
 /VirtualHost
 
 I think it is kind of ugly. If you can see something more 
 elegant just say it.

It's a bit redundant - anything that can go in a Directory can also go
in a Location, so you could simplify things, eg:

VirtualHost 10.1.1.103:80
   ServerName yumrepo.s0
   DocumentRoot /var/www/html/yum
   Location /
  AllowOverride None
  Options Indexes
  Order Allow,Deny
  Allow from all
  /Location
/VirtualHost

Having said that, I'm not entirely sure why Location / overrides the
welcome.conf snippet while Directory /var/www/html/yum in the same
place doesn't... Maybe to do with the order apache parses Location and
Directory containers...

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

 
 Regards, Clodoaldo Pinto Neto
 
 -
 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]

 
 
This message is for the named person's use only. It may contain confidential, 
proprietary or legally privileged information. No confidentiality or privilege 
is waived or lost by any mistransmission. If you receive this message in error, 
please notify the sender urgently and then immediately delete the message and 
any copies of it from your system. Please also immediately destroy any 
hardcopies of the message. You must not, directly or indirectly, use, disclose, 
distribute, print, or copy any part of this message if you are not the intended 
recipient. The sender's company reserves the right to monitor all e-mail 
communications through their networks. Any views expressed in this message are 
those of the individual sender, except where the message states otherwise and 
the sender is authorised to state them to be the views of the sender's company.

-
The official User-To-User support forum of the Apache HTTP Server Project.
See 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 2.2, Error: not in required group(s).

2006-10-31 Thread Ian Brandt
Ian Brandt wrote:
 However when I try to authenticate the following appears in error.log:
 
 [error] GROUP: ibrandt not in required group(s).

I seem to have solved the issue.  I found the text of the error
message verbatim in the mod_auth_sys_group source.  I had LoadModule
directives for mod_auth_pam and mod_auth_sys_group leftover in my
config as I was using PAM for authentication with 2.0.54.  It seems
that even though I had no other directives related to those modules in
my config they were still gumming up the works in 2.2.3 simply by
being loaded.

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