Portál AbcLinuxu, 13. listopadu 2025 10:01
[Tue Aug 21 14:53:35 2007] [error] [client 192.168.1.200] client denied by server configuration: /srv/www/htdocs/ [Tue Aug 21 14:53:35 2007] [error] Failed to change_hat to 'HANDLING_UNTRUSTED_INPUT' [Tue Aug 21 14:53:36 2007] [error] Failed to change_hat to 'HANDLING_UNTRUSTED_INPUT' [Tue Aug 21 14:53:58 2007] [notice] caught SIGTERM, shutting down [Tue Aug 21 14:53:58 2007] [error] Failed to change_hat to 'HANDLING_UNTRUSTED_INPUT' [Tue Aug 21 14:53:58 2007] [error] Failed to change_hat to 'HANDLING_UNTRUSTED_INPUT' [Tue Aug 21 14:53:58 2007] [error] Failed to change_hat to 'HANDLING_UNTRUSTED_INPUT'kdyz v prohlizeci dam localhost tak mi pise: Přístup odmítnut! Nemáte právo pro přístup do požadovaného adresáře. Buď neexistuje žádný dokument s obsahem (tzv. index), nebo je adresář chráněn proti čtení. Pokud si myslíte, že toto je chyba serveru, kontaktujte, prosím, webmastera. Error 403 localhost Tue Aug 21 14:54:18 2007 Apache/2.2.0 (Linux/SUSE) netusite nekdo co s tim? diky moc.
Samozrejme "spravne" reseni je opravit konfiguraci AppArmor-u...
Options Indexes nebo Options All, může být i v nastavení celého serveru (či virtualhostu), i u jednotlivého adresáře, případně i v souboru .htaccess. Podívejte se, jestli nemáte v konfiguraci Apache něco takového:
<Directory /srv/www/htdocs/> Options -Indexes </Directory>(případně nějaké jiné volby, ale Indexes vynecháno)
ServerRoot "/srv/www"
Listen 80
User daemon
Group daemon
ServerAdmin you@example.com
DocumentRoot "/srv/www/htdocs"
Directory />
Options FollowSymLinks
AllowOverride None
Order deny,allow
Deny from all
/Directory>
Options Indexes FollowSymLinks
AllowOverride None
Order allow,deny
Allow from all
DirectoryIndex index.html
FilesMatch "^\.ht">
Order allow,deny
Deny from all
/FilesMatch>
Directory "/srv/www/cgi-bin">
AllowOverride None
Options None
Order allow,deny
Allow from all
/Director y>
DefaultType text/plain
diky moc za pomoc
Options FollowSymLinks (a tedy vypnutí Options Indexes má u <Directory /> přednost před nastavením serveru. Zkuste do konfigurace přidat ještě
<Directory "/srv/www/htdocs">
Options +Indexes
</Directory>
[Wed Aug 22 09:16:01 2007] [error] [client 127.0.0.1] client denied by server configuration: /srv/www/htdocs/ [Wed Aug 22 09:16:01 2007] [error] Failed to change_hat to 'HANDLING_UNTRUSTED_INPUT' [Wed Aug 22 09:16:01 2007] [error] [client 127.0.0.1] client denied by server configuration: /srv/www/htdocs/ [Wed Aug 22 09:16:01 2007] [error] Failed to change_hat to 'HANDLING_UNTRUSTED_INPUT' [Wed Aug 22 09:16:02 2007] [error] [client 127.0.0.1] client denied by server configuration: /srv/www/htdocs/ [Wed Aug 22 09:16:02 2007] [error] Failed to change_hat to 'HANDLING_UNTRUSTED_INPUT' [Wed Aug 22 09:16:03 2007] [error] [client 127.0.0.1] client denied by server configuration: /srv/www/htdocs/ [Wed Aug 22 09:16:03 2007] [error] Failed to change_hat to 'HANDLING_UNTRUSTED_INPUT'
Include /etc/apache2/uid.conf
Include /etc/apache2/server-tuning.conf
ErrorLog /var/log/apache2/error_log
Include /etc/apache2/sysconfig.d/loadmodule.conf
Include /etc/apache2/listen.conf
Include /etc/apache2/mod_log_config.conf
Include /etc/apache2/sysconfig.d/global.conf
Include /etc/apache2/mod_status.conf
Include /etc/apache2/mod_info.conf
Include /etc/apache2/mod_usertrack.conf
Include /etc/apache2/mod_autoindex-defaults.conf
TypesConfig /etc/apache2/mime.types
DefaultType text/plain
Include /etc/apache2/mod_mime-defaults.conf
Include /etc/apache2/errors.conf
Include /etc/apache2/ssl-global.conf
Directory />
Options None
AllowOverride None
Order deny,allow
Deny from all
/Directory>
AccessFileName .htaccess
Files ~ "^\.ht">
Order allow,deny
Deny from all
/Files>
DirectoryIndex index.html index.html.var
Include /etc/apache2/default-server.conf
Include /etc/apache2/sysconfig.d/include.conf
Include /etc/apache2/vhosts.d/*.conf
nevite jestli tam treba neni neco blbe?
< Directory /srv/www/htdocs>
Options xxxx
AllowOverride None
Order allow,deny
Allow from all
< /Directory>
. diky vsem za pomoc. jeste nevite nahodou nekdo co s tou hlaskou "Vas soubor $home/.DMRC ma nespravna opravneni a je ignorovan. to brani vlozeni implicitniho sezeni a jazyka soubor by mel byt vlastnen uzivatelem a mit opravneni 644." ???
Tiskni
Sdílej:
ISSN 1214-1267, (c) 1999-2007 Stickfish s.r.o.