Re: Access forbidden

2007-05-25 Thread Gottfried Krause
Am Mittwoch, 23. Mai 2007 22:21 schrieb Joerg Behrens:
 Gottfried Krause schrieb:
  Am Samstag, 19. Mai 2007 12:31 schrieb Joerg Behrens:
  Gottfried Krause schrieb:
  Hallo,
 
  nach Eingabe von 'http://localhost' erscheint die Fehlermeldung (sowohl
  in Konqueror als auch in Firefox)(sowohl als user als auch als root) =
  Access forbidden
You don't have permission to access the requested directory.
There is either no index document or the directory is read-protected.
 
  Installation:
  - lokaler PC
  - openSUSE 10.2 (kernel 2.6.18.8-0.3-default)
  - apache2 (2.2.3-20) mit YAST2 installiert
weitere Pakete: apache2-mod_php 5 5.2.0-12
apache2-prefork 2.2.3-20
libapr1 1.2.7-23
libapr-util1 1.2.7-26
 
  es kann ja schon sein, dass es kein index document gibt (wie soll das
  heissen? wo soll ich's suchen?), aber wo bekome ich es her?, wenn's
  YAST bei der Installation nicht anlegt?
  Habe mich in ungezählten Dokumentationen dumm und duselig gesucht und
  nichts gefunden. Kann mir jemand weiterhelfen?
 
  Dann erstell doch eins?!.
  Der Name der Index Dokumente wird mit der Direktive DirectoryIndex
  festgelegt und kann auch erweitert werden. Ansonsten kannst du auch das
  Indexing aktivieren und kannst dann Browsen durch die Verzeichnisse.
 
  Gruss
  Joerg
 
  Danke für die schnelle Antwort.
  Ich dachte, aus meinen ersten Ausführungen sei schon zu entnehmen
  gewesen, dass ich absoluter apache-Neuling bin;
  von daher kann ich mit ' Direktive DirectoryIndex' nichts anfangen und
  würde

 Dann oeffne einmal die Hauptkonfigurationsdatei des Apachen und suche
 nach dieser Directive. Bei einer Standardinstallation heist diese Datei
httpd.conf. Allerdings kochen viele Distribtutionen ihre eigene Suppe
 und die Konfiguration kann auf ein oder mehre Dateien verteilt sein. Ein
 grep -rni DirectoryIndex /path/to/config/* hilft dann weiter.

 Was man da so konfigurieren kann sieht man unter
 http://httpd.apache.org/docs/2.2/mod/mod_dir.html#directoryindex

 Bei mir schaut es z.B so aus.
 grep -rn DirectoryIndex *
 httpd.conf:506:DirectoryIndex index.html
 modules.d/mod_php5.conf:19: AddDirectoryIndex index.php index.phtml
 modules.d/70_mod_php5.conf:18:  AddDirectoryIndex index.php index.phtml


 Das heist wenn du ein Verzeichnis auf rufst sie  www.example.com/ oder
 www.example.com/folder/ dann schaut der Indianer nach ob er eine
 index.html oder index.php usw. findet und macht einen internen Redirect
 darauf. Findet er keine Datei dann gibts Access forbidden.

 Also schau nach was in deinem Verzeichnis an Dateien existiert und ob
 eine davon als Startdatei konfiguriert ist. Anders falls must du halt
 immer www.example.com/datei.html  angeben.

  ja auch gerne das 'Indexing aktivieren', wenn ich wüßte wie?!

 Steht auf http://httpd.apache.org/docs/2.2/mod/core.html#options  unter
 Indexes dann.

 Gruss
 Joerg

Lieber Joerg,

bei mir schaut die  httpd.conf auch so aus DirectoryIndex index.html, aber 
wie muss die index.html-Datei aussehen? Im root-Verzeichnis (s.o. /localhost) 
gab es keine (auf meinem Rechner fast 200, aber nicht von apache). Habe viele 
manuals studiert, aber nirgendwo einen Hinweis gefunden, wie sie aussehen 
soll. ls -la  index.html hatte ebenfalls nicht den gewünschten Erfolg.

2. Schiene: eine Abteilung meiner http.conf sieht inzwischen so aus:
Directory /
Options Indexes
AllowOverride None
Order allow,deny
Allow from all
/Directory
das brachte ebenfalls keinen Erfolg.
(Habe ich allerdings nicht auf
 Steht auf http://httpd.apache.org/docs/2.2/mod/core.html#options  unter
 Indexes dann.
gefunden.)

Apache deinstallieren?
Gruss
Gottfried

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



RE: Access forbidden

2007-05-25 Thread Marcus Reimann
Hallo Gottfried,

Du schreibst:
bei mir schaut die  httpd.conf auch so aus DirectoryIndex index.html,
aber
wie muss die index.html-Datei aussehen? Im root-Verzeichnis (s.o.
/localhost)
gab es keine (auf meinem Rechner fast 200, aber nicht von apache). Habe
viele
manuals studiert, aber nirgendwo einen Hinweis gefunden, wie sie aussehen
soll. ls -la  index.html hatte ebenfalls nicht den gewünschten Erfolg.


Die index.html ist die Startseite deines Webauftritts. Wenn Du auf Deiner
Start-
seite den Text Hallo liebe Besucher anzeigen willst, dann mußt Du eine
index.html-Datei mit folgendem Inhalt anlegen:

html
body
h1Hallo liebe Besucher/h1
/body
/html

Weitere Grundlagen zu HTML findest Du unter http://de.selfhtml.org/

Gruss
 Marcus Reimann
 M. Reimann Systemberatung
 http://www.reimann-systemberatung.de


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



Re: Access forbidden

2007-05-25 Thread Rainer Sokoll
On Fri, May 25, 2007 at 05:51:51PM +0200, Gottfried Krause wrote:

 bei mir schaut die  httpd.conf auch so aus DirectoryIndex index.html, 
 aber 
 wie muss die index.html-Datei aussehen?

Na, eine ganz normale HTML-Datei eben. Aber vermutlich wolltest Du
fragen, /wo/ diese Datei zu liegen hat.
Das sagt Dir die Direktive DocumentRoot in Deiner Apache-Konfiguration.

 Habe viele manuals studiert,

Du hast die falschen gelesen ;-)

Rainer

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



[EMAIL PROTECTED] Is mod_ssl enough to authenticate?

2007-05-25 Thread Naveen Rawat
 

Hi All,

 

I want to authenticate modules(certificate based) against each other before
any communcation takes place among .Modules may reside on local and remote
servers. In both cases,Is mod_ssl enough for authentication or I have to
implement the authentication functionality in each module seperately ?

 

I want to know , if mod_ssl will authenticate other modules from remote
/local host or it authenticate clients only. ?

 

 

 

Best Regards

Navin



[EMAIL PROTECTED] Apache+Streaming Media

2007-05-25 Thread Saad, Dan (N-Computer Sciences Corp)
I have a website served by a fairly current Apache 1.3 and everything is
working fine but I need to add some streaming media training to the
site.

Is it possible to serve this kind of media with apache on Solaris ?

Any ideas would be greatly appreciated...

Dan


Re: [EMAIL PROTECTED] Is mod_ssl enough to authenticate?

2007-05-25 Thread Joshua Slive

On 5/25/07, Naveen Rawat [EMAIL PROTECTED] wrote:


I want to authenticate modules(certificate based) against each other before
any communcation takes place among .Modules may reside on local and remote
servers. In both cases,Is mod_ssl enough for authentication or I have to
implement the authentication functionality in each module seperately ?



I want to know , if mod_ssl will authenticate other modules from remote
/local host or it authenticate clients only. ?


mod_ssl only encrypts the communications from client to/from server.

OpenSSL (on which mod_ssl is based) can be used to encrypt other sorts
of network streams, but I have really no idea what kind of
communication you are talking about or what you mean by modules
(obviously not apache modules, since those can't be remote).

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] Strange mod_cache expires header interaction

2007-05-25 Thread Joshua Slive

On 5/24/07, Christopher Shumway [EMAIL PROTECTED] wrote:

Hi httpd users,

I've been testing Apache httpd 2.2.4 as a reverse-caching proxy server but
I've ran into some odd behavior with how its handling expired content.
Currently I'm using the worker MPM and mod_mem_cache to provide the storage.
I haven't tested this with prefork or mod_disk_cache yet, but if its worth it
I can test that configuration too. Here are some entries from the error log
with loglevel debug:



Note that the Content-Encoding gzip is actually from Apache 2.2.4 not the
backend.


I would try two things:

1. mod_disk_cache, which is better tested and maintained than
mod_mem_cache, and will often be just as performant given a good
virtual file system layer.

2. Remove the gzip encoding. There are some fixes recently introduced
in trunk for problems with vary-processing in the cache. These may (or
may not) be causing the problem you see. They will probably make it
into the next 2.2 release.

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] Problem with htaccess (/year/month/day/)

2007-05-25 Thread thomas Armstrong

I'm trying to make my website works with http://www.domain.com/2007/05/25/foo
to server http://www.domain.com/redirect.php

With Apache 2.2, my .htaccess:

RewriteEngine On
RewriteRule ^([0-9]+)/([0-9]+)/([0-9]+)/(.*) /redirect.php [QSA,L]
RewriteRule ^([0-9]+)/([0-9]+) /redirect.php [QSA,L]


If I type:
- http://www.mydomain.com/2007/05, it works
- http://www.mydomain.com/2007/05/25/foo, I get a 404 error message.

What am I doing wrong?

Thank you very much.

-
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] Is mod_ssl enough to authenticate?

2007-05-25 Thread Scott Gifford
Naveen Rawat [EMAIL PROTECTED] writes:

  

 Hi All,

  

 I want to authenticate modules(certificate based) against each other before 
 any
 communcation takes place among .Modules may reside on local and remote 
 servers.
 In both cases,Is mod_ssl enough for authentication or I have to implement the
 authentication functionality in each module seperately ?

 I want to know , if mod_ssl will authenticate other modules from remote /local
 host or it authenticate clients only. ?

Yes, you can do this with mod_ssl.  See SSLVerifyClient to require
that a recognized certificate be used by the client, and
SSLCACertificateFile to list the CA's whose signatures you recognize.
You can create a CA, put that CA's certificate in there, and then sign
the client certificates (you'll probably want to look at
SSLCARevocationFile, too, to be able to revoke access to clients).
I've done that; you can probably also put all of the individual client
certificates in there.  Docs are here:

http://www.modssl.org/docs/2.8/ssl_reference.html

Scott.

-
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] ssl on windows server 2003

2007-05-25 Thread Eben

Hello,

I upgraded to php 4.4.7, now when I enable the SSLEngine, apache won't 
even start. This is what I'm getting in the error log:


[Fri May 25 12:24:54 2007] [info] Init: Initializing OpenSSL library
[Fri May 25 12:24:54 2007] [info] Init: Seeding PRNG with 136 bytes of 
entropy
[Fri May 25 12:24:54 2007] [info] Init: Generating temporary RSA private 
keys (512/1024 bits)
[Fri May 25 12:24:54 2007] [info] Init: Generating temporary DH 
parameters (512/1024 bits)
[Fri May 25 12:24:54 2007] [debug] ssl_scache_dbm.c(406): Inter-Process 
Session Cache (DBM) Expiry: old: 0, new: 0, removed: 0
[Fri May 25 12:24:54 2007] [info] Init: Initializing (virtual) servers 
for SSL
[Fri May 25 12:24:54 2007] [info] Server: Apache/2.0.59, Interface: 
mod_ssl/2.0.59, Library: OpenSSL/0.9.8d

[Fri May 25 12:24:54 2007] [info] Init: Initializing OpenSSL library
[Fri May 25 12:24:54 2007] [info] Init: Seeding PRNG with 136 bytes of 
entropy


Any thoughts?  Anyone out there actually have SSL working with apache on 
win server 2003?


thanks,
Eben

William A. Rowe, Jr. wrote:

Eben wrote:
  

I'm trying to get ssl working on a windows 2003 server box, and having
some trouble with it.  The server currently hosts about 50 sites using
name based vhosts.  I enabled one site on the box to use SSL via port
443.  When I enable the SSLEngine directive for the one site, it works
for about 10 minutes, and then Apache dies.

Here are the specs:
win server 2003 standard ed.
apache 2.0.59
php 4.4.6
openssl 0.9.8d



  

[Mon May 07 13:35:34 2007] [notice] Child 5824: Starting 250 worker
threads.
FATAL:  erealloc():  Unable to allocate 13828166 bytes



There are hints that this is a php bug - try 4.4.7 now that it's out?

-
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] Apache 32 bit on 64bit RHEL 4.0

2007-05-25 Thread Keer Kz

Can Apache be complied as 32 bit architecture on RHEL 4.0 AS [Red Hat Linux]
64bit, x86_64. If so, what needs to done . Please advise


Re: [EMAIL PROTECTED] Apache 32 bit on 64bit RHEL 4.0

2007-05-25 Thread morgan gangwere
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Keer Kz wrote:
 Can Apache be complied as 32 bit architecture on RHEL 4.0 AS [Red Hat
 Linux]
 64bit, x86_64. If so, what needs to done . Please advise
 

erm... build it targeted as an x86 or x64 or whatever target? read
the config notes (usually /path/to/sources/README or
/path/to/sources/BUILDING )

Just a thought...


Rawquoters are evil - they give spammers food. spammers should eat
spam, not good peoples inboxes 
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.7 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGV3UTCF9T/dUsmAgRAhu1AJsFhmT8hl+ddvbJl2jp7vJmkzrrMgCgkxKa
DYm/9I2mRhH5OCBcLPHu89w=
=3jHL
-END PGP SIGNATURE-

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