 | | From: | Kurt Broschwitz | | Subject: | ACCESS_CONTROL | | Date: | Fri, 21 Jan 2005 23:30:41 +0100 |
|
|
 | Hallo wer kann mir bitte weiterhelfen ich habe folgendes eingerichtet
APACHE_DIR_N='1' # No. of dirs APACHE_DIR_1_PATH='/var/www/foo/htdocs/test/' # Name of 1. dir APACHE_DIR_1_AUTH_NAME='Members only!' # Name of the area to protect APACHE_DIR_1_AUTH_N='1' # No. of usernames APACHE_DIR_1_AUTH_1_USER='test' # User no. 1. APACHE_DIR_1_AUTH_1_PASS='test' # Password for user 1. APACHE_DIR_1_ACCESS_CONTROL='all' # e.g. 192.168.0.0/24 or 192.168. APACHE_DIR_1_CGI='none' # !NOT YES! Possibilities are: 'none' '.pl' '.cgi' APACHE_DIR_1_SSI='yes' # Allow Server Side Includes? APACHE_DIR_1_VIEW_DIR_CONTENT='no' # View files in dir if no index.html
APACHE_NAME_VHOST='*' # '*' or ip address APACHE_VHOST_N='1'
APACHE_VHOST_1_IP='*' # '*' or ip address APACHE_VHOST_1_SERVER_NAME='server' # server name APACHE_VHOST_1_SERVER_ALIAS='*.server' # server alias, may be empty APACHE_VHOST_1_SERVER_ADMIN='webmaster@lan.home' # email of webmaster APACHE_VHOST_1_DOCUMENT_ROOT='/var/www/foo/htdocs' # document root APACHE_VHOST_1_SCRIPT_DIRECTORY='/var/www/foo/cgi-bin/' # directory to use APACHE_VHOST_1_ERROR_LOG='/var/www/log/foo_error_log' # error log APACHE_VHOST_1_ACCESS_LOG='/var/www/log/foo_access_log' # access log APACHE_VHOST_1_ACCESS_CONTROL='all' # controls who get stuff
und bekomme diese Felhlermeldung
wenn ich ins Abfragefeld ' test ' und passwort ' test'
eingebe....... Forbidden You don't have permission to access /test/ on this server.
---------------------------------------------------------------------------- ----
Apache/1.3.28 Server at server Port 80
MfG Kurt
|
|
 | | From: | Marcus Hochhuth | | Subject: | Re: ACCESS_CONTROL | | Date: | Sat, 22 Jan 2005 00:58:16 +0100 |
|
|
 | Hallo Kurt,
> APACHE_DIR_1_VIEW_DIR_CONTENT='no'
hast Du eine index.html im entsprechden Verzeichnis? Wenn nicht, mußt Du den oben angegebenen Parameter auf 'yes' setzen.
Gruß Marcus
|
|
 | | From: | Kurt Broschwitz | | Subject: | Re: ACCESS_CONTROL | | Date: | Sat, 22 Jan 2005 02:51:39 +0100 |
|
|
 | Danke Marcus, kleine Ursache grosse Wirkung die Index.html war im Verzeichnis /var/www/htdoccs/test . weis auch nicht wie die dahin gekommen ist .der vhost war schon vorher angelegt . und die Datei hätte eigendlich im vhost Verzeichnis sein müssen
MfG Kurt
"Marcus Hochhuth" schrieb im Newsbeitrag news:1c94.41f19719.560e0@obiwan-news.my-fqdn.de... > Hallo Kurt, > > > APACHE_DIR_1_VIEW_DIR_CONTENT='no' > > hast Du eine index.html im entsprechden Verzeichnis? > Wenn nicht, mußt Du den oben angegebenen Parameter auf 'yes' setzen. > > Gruß Marcus >
|
|