Новости | FAQ | Авторы | Документация | В действии | Библиотека |
Инструменты | Полезные ссылки | Хостинги | Скачать | Примеры | Форум |
pixel 13.06.2010 23:36
Добрый вечер/день!<VirtualHost 127.0.0.1:80> ServerAdmin fbsd61@gmail.com DocumentRoot /var/www <Directory /> Options FollowSymLinks AllowOverride All </Directory> <Directory /var/www/> Options Indexes FollowSymLinks MultiViews AllowOverride All Order allow,deny allow from all </Directory> ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/ <Directory "/usr/lib/cgi-bin"> AllowOverride All Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch Order allow,deny Allow from all </Directory> ErrorLog ${APACHE_LOG_DIR}/error.log # Possible values include: debug, info, notice, warn, error, crit, # alert, emerg. LogLevel warn CustomLog ${APACHE_LOG_DIR}/access.log combined Alias /doc/ "/usr/share/doc/" <Directory "/usr/share/doc/"> Options Indexes MultiViews FollowSymLinks AllowOverride None Order deny,allow Deny from all Allow from 127.0.0.0/255.0.0.0 ::1/128 </Directory> </VirtualHost>
# назначение обработчиком .html страниц: AddHandler parser3-handler html Action parsed-html /cgi-bin/parser3 # запрет на доступ к .cfg и .p файлам: <Files ~ "\.(p|cfg)$"> Order allow,deny Deny from all </Files>
[Sun Jun 13 22:31:47 2010] [alert] [client 127.0.0.1] /var/www/.htaccess: Invalid command 'Action', perhaps misspelled or defined by a module not included in the server configuration
debian:/var/log/apache2# ls /etc/apache2/mods-available/Прошу простить за умственную тугость и ткнуть носом
actions.conf authn_default.load cache.load deflate.conf filter.load mem_cache.load proxy_balancer.conf rewrite.load userdir.conf
actions.load authn_file.load cern_meta.load deflate.load headers.load mime.conf proxy_balancer.load setenvif.conf userdir.load
alias.conf authnz_ldap.load cgid.conf dir.conf ident.load mime.load proxy.conf setenvif.load usertrack.load
alias.load authz_dbm.load cgid.load dir.load imagemap.load mime_magic.conf proxy_connect.load speling.load version.load
asis.load authz_default.load cgi.load disk_cache.conf include.load mime_magic.load proxy_ftp.conf ssl.conf vhost_alias.load
auth_basic.load authz_groupfile.load charset_lite.load disk_cache.load info.conf mod_chroot.load proxy_ftp.load ssl.load vhost_hash_alias.load
auth_digest.load authz_host.load dav_fs.conf dump_io.load info.load negotiation.conf proxy_http.load status.conf
authn_alias.load authz_owner.load dav_fs.load env.load ldap.conf negotiation.load proxy.load status.load
authn_anon.load authz_user.load dav.load expires.load ldap.load php5.conf proxy_scgi.load substitute.load
authn_dbd.load autoindex.conf dav_lock.load ext_filter.load log_forensic.load php5.load reqtimeout.conf suexec.load
authn_dbm.load autoindex.load dbd.load file_cache.load mem_cache.conf proxy_ajp.load reqtimeout.load unique_id.load
debian:/var/log/apache2#