Mailinglist Archive: opensuse-de (1478 mails)
| < Previous | Next > |
Re: Apache .htaccess
- From: Jürgen Jaeckel <jaeckel@xxxxxx>
- Date: Mon, 4 Feb 2008 13:29:05 +0100
- Message-id: <200802041329.06000.jaeckel@xxxxxx>
Am Montag 04 Februar 2008 11:37:48 schrieb Andreas Tallowitz:
Das findest Du in
/etc/apache2/default-server.conf (als root)
mfg
Jürgen
--
Um die Liste abzubestellen, schicken Sie eine Mail an:
opensuse-de+unsubscribe@xxxxxxxxxxxx
Um eine Liste aller verfuegbaren Kommandos zu bekommen, schicken
Sie eine Mail an: opensuse-de+help@xxxxxxxxxxxx
Am Montag, 4. Februar 2008 11:20:13 schrieb Jürgen Jaeckel:
Am Montag 04 Februar 2008 09:49:27 schrieb Andreas Tallowitz:
Guten Morgen,
wie kann man Apache so konfigurieren, das ein Dialog zur
Passworteingabe kommt? Ich habe jetzt schon Stundenlang alle Internet
Anleitungen durchprobiert, aber es kommt nie ein Dialog zur
Passwortabfrage. Beide Daten liegen im Verzeichnis
/srv/www/htdocs/phpMyAdmin/, das geschützt werden soll.
Im Anhang die .htaccess.
Andreas
Hallo,
also hier meine .htaccess
AuthType Basic
AuthName "Service-Bereich"
AuthUserFile /etc/apache2/.htusers
Require user Admin
und wichtig die Option AllowOverride für das Verzeichnis muß All heißen
AllowOverride All
z.b. für htdocs sieht es dann so aus
DocumentRoot "/srv/www/htdocs"
#
# Configure the DocumentRoot
#
<Directory "/srv/www/htdocs">
# Possible values for the Options directive are "None", "All",
# or any combination of:
# Indexes Includes FollowSymLinks SymLinksifOwnerMatch ExecCGI
MultiViews #
# Note that "MultiViews" must be named *explicitly* --- "Options All"
# doesn't give it to you.
#
# The Options directive is both complicated and important. Please see
# http://httpd.apache.org/docs-2.2/mod/core.html#options
# for more information.
Options None
# AllowOverride controls what directives may be placed in .htaccess
files. # It can be "All", "None", or any combination of the keywords:
# Options FileInfo AuthConfig Limit
AllowOverride All
Order allow,deny
Allow from all
</Directory>
Und wo finde ich das???
Das findest Du in
/etc/apache2/default-server.conf (als root)
mfg
Jürgen
--
Um die Liste abzubestellen, schicken Sie eine Mail an:
opensuse-de+unsubscribe@xxxxxxxxxxxx
Um eine Liste aller verfuegbaren Kommandos zu bekommen, schicken
Sie eine Mail an: opensuse-de+help@xxxxxxxxxxxx
| < Previous | Next > |