From: Maxim <max_conf@banana.ptt.ru> To: mandrake-russian@altlinux.ru Subject: [mdk-re] Apache virtual host configuration problem! Date: Fri Sep 7 21:15:01 2001 Message-ID: <601317989598.20010907212015@banana.ptt.ru> (raw) Все нет больше сил. Посылаю весь апачевский конфиг. Помогите кто знает. DNS настроен. На пинги отвечает. Я уже забодался. Теперь ситуация следующая. на запрос 213.147.45.6 отвечает мой виртуальный сайт. а на www.e-foto.ru отвечает списком документации. Еще раз извиняюсь за большое сообщение. ServerType standalone ServerRoot /etc/httpd LockFile /var/run/httpd.lock PidFile /var/run/httpd.pid ScoreBoardFile /var/run/httpd.scoreboard ResourceConfig /dev/null AccessConfig /dev/null Timeout 300 KeepAlive On MaxKeepAliveRequests 100 KeepAliveTimeout 15 MinSpareServers 5 MaxSpareServers 10 StartServers 5 MaxClients 150 MaxRequestsPerChild 500 #LoadModule mmap_static_module modules/mod_mmap_static.so # For DynamicVhosts and VirtualHomePages, uncomment this: #LoadModule vhost_alias_module modules/mod_vhost_alias.so LoadModule env_module modules/mod_env.so LoadModule define_module modules/mod_define.so #LoadModule config_buffered_log_module modules/mod_log_config_buffered.so LoadModule config_log_module modules/mod_log_config.so #LoadModule agent_log_module modules/mod_log_agent.so #LoadModule referer_log_module modules/mod_log_referer.so #LoadModule mime_magic_module modules/mod_mime_magic.so LoadModule mime_module modules/mod_mime.so LoadModule negotiation_module modules/mod_negotiation.so LoadModule status_module modules/mod_status.so #LoadModule info_module modules/mod_info.so LoadModule includes_module modules/mod_include.so LoadModule autoindex_module modules/mod_autoindex.so LoadModule dir_module modules/mod_dir.so LoadModule cgi_module modules/mod_cgi.so #LoadModule asis_module modules/mod_asis.so #LoadModule imap_module modules/mod_imap.so #LoadModule action_module modules/mod_actions.so #LoadModule speling_module modules/mod_speling.so LoadModule userdir_module modules/mod_userdir.so LoadModule alias_module modules/mod_alias.so #LoadModule rewrite_module modules/mod_rewrite.so LoadModule access_module modules/mod_access.so LoadModule auth_module modules/mod_auth.so #LoadModule anon_auth_module modules/mod_auth_anon.so #LoadModule db_auth_module modules/mod_auth_db.so #LoadModule digest_module modules/mod_digest.so #LoadModule digest_auth_module modules/mod_auth_digest.so LoadModule proxy_module modules/libproxy.so #LoadModule cern_meta_module modules/mod_cern_meta.so #LoadModule expires_module modules/mod_expires.so #LoadModule headers_module modules/mod_headers.so #LoadModule usertrack_module modules/mod_usertrack.so #LoadModule example_module modules/mod_example.so #LoadModule unique_id_module modules/mod_unique_id.so LoadModule setenvif_module modules/mod_setenvif.so LoadModule ssl_module modules/libssl.so LoadModule auth_ldap_module modules/mod_auth_ldap.so ClearModuleList AddModule mod_charset.c #AddModule mod_mmap_static.c # For DynamicVhosts and VirtualHomePages, uncomment this: #AddModule mod_vhost_alias.c AddModule mod_env.c AddModule mod_define.c AddModule mod_log_config.c #AddModule mod_log_config_buffered.c #AddModule mod_log_agent.c #AddModule mod_log_referer.c #AddModule mod_mime_magic.c AddModule mod_mime.c AddModule mod_negotiation.c AddModule mod_status.c #AddModule mod_info.c AddModule mod_include.c AddModule mod_autoindex.c AddModule mod_dir.c AddModule mod_cgi.c #AddModule mod_asis.c #AddModule mod_imap.c #AddModule mod_actions.c #AddModule mod_speling.c AddModule mod_userdir.c AddModule mod_alias.c #AddModule mod_rewrite.c AddModule mod_access.c AddModule mod_auth.c #AddModule mod_auth_anon.c #AddModule mod_auth_db.c #AddModule mod_digest.c #AddModule mod_auth_digest.c AddModule mod_proxy.c #AddModule mod_cern_meta.c #AddModule mod_expires.c #AddModule mod_headers.c #AddModule mod_usertrack.c #AddModule mod_example.c #AddModule mod_unique_id.c AddModule mod_so.c AddModule mod_setenvif.c AddModule mod_ssl.c AddModule mod_auth_ldap.c ExtendedStatus On User apache Group apache ServerAdmin root@e-foto.ru ServerName root.e-foto.ru DocumentRoot "/var/www/html" <Directory /> Options FollowSymLinks AllowOverride None </Directory> <Directory "/var/www/html"> Options Indexes Includes FollowSymLinks MultiViews AllowOverride None Order allow,deny Allow from all <Files index.shtml.ru.*> CharsetDisable On </Files> </Directory> <IfModule mod_userdir.c> UserDir public_html </IfModule> <Directory /home/*/public_html> AllowOverride FileInfo AuthConfig Limit Options MultiViews Indexes SymLinksIfOwnerMatch IncludesNoExec <Limit GET POST OPTIONS PROPFIND> Order allow,deny Allow from all </Limit> <LimitExcept GET POST OPTIONS PROPFIND> Order deny,allow Deny from all </LimitExcept> </Directory> <IfModule mod_dir.c> DirectoryIndex index.html index.htm index.shtml index.cgi Default.htm default.htm index.php index.php3 index.php4 index.shtml.en </IfModule> <Files ~ "^\.ht"> Order allow,deny Deny from all </Files> UseCanonicalName on <IfModule mod_mime.c> TypesConfig /etc/httpd/conf/apache-mime.types </IfModule> DefaultType text/plain <IfModule mod_mime_magic.c> MIMEMagicFile /etc/httpd/conf/magic </IfModule> HostnameLookups on ErrorLog /var/log/httpd/error_log LogLevel warn LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" combined LogFormat "%h %l %u %t \"%r\" %>s %b" common LogFormat "%a %l %u %t \"%r\" %>s %b" common-quick LogFormat "%{Referer}i -> %U" referer LogFormat "%{User-agent}i" agent CustomLog /var/log/httpd/access_log common CustomLog /var/log/httpd/access_log combined ServerSignature EMail <IfModule mod_alias.c> Alias /icons/ "/var/www/icons/" <Directory "/var/www/icons"> Options Indexes MultiViews AllowOverride None Order allow,deny Allow from all </Directory> Alias /addon-modules/images/ /var/www/html/manual/images/ ScriptAlias /cgi-bin/ "/var/www/cgi-bin/" ScriptAlias /protected-cgi-bin/ "/var/www/protected-cgi-bin/" <Directory "/var/www/cgi-bin"> AllowOverride None Options ExecCGI Order allow,deny Allow from all </Directory> <Directory "/var/www/protected-cgi-bin"> AllowOverride None Options ExecCGI Order deny,allow Deny from all Allow from 127.0.0.1 localhost #Allow from .your_domain.com </Directory> </IfModule> <IfModule mod_autoindex.c> IndexOptions FancyIndexing AddIconByEncoding (CMP,/icons/compressed.gif) x-compress x-gzip AddIconByType (TXT,/icons/text.gif) text/* AddIconByType (IMG,/icons/image2.gif) image/* AddIconByType (SND,/icons/sound2.gif) audio/* AddIconByType (VID,/icons/movie.gif) video/* AddIcon /icons/binary.gif .bin .exe AddIcon /icons/binhex.gif .hqx AddIcon /icons/tar.gif .tar AddIcon /icons/world2.gif .wrl .wrl.gz .vrml .vrm .iv AddIcon /icons/compressed.gif .Z .z .tgz .gz .zip AddIcon /icons/a.gif .ps .ai .eps AddIcon /icons/layout.gif .html .shtml .htm .pdf AddIcon /icons/text.gif .txt AddIcon /icons/c.gif .c AddIcon /icons/p.gif .pl .py AddIcon /icons/f.gif .for AddIcon /icons/dvi.gif .dvi AddIcon /icons/uuencoded.gif .uu AddIcon /icons/script.gif .conf .sh .shar .csh .ksh .tcl AddIcon /icons/tex.gif .tex AddIcon /icons/bomb.gif core AddIcon /icons/back.gif .. AddIcon /icons/hand.right.gif README AddIcon /icons/folder.gif ^^DIRECTORY^^ AddIcon /icons/blank.gif ^^BLANKICON^^ DefaultIcon /icons/unknown.gif ReadmeName README HeaderName HEADER IndexIgnore .??* *~ *# HEADER* RCS CVS *,v *,t </IfModule> <IfModule mod_mime.c> AddEncoding x-compress Z AddEncoding x-gzip gz tgz AddLanguage da .dk AddLanguage nl .nl AddLanguage en .en AddLanguage et .ee AddLanguage fr .fr AddLanguage de .de AddLanguage el .el AddLanguage he .he AddCharset ISO-8859-8 .iso8859-8 AddLanguage it .it AddLanguage ja .ja AddCharset ISO-2022-JP .jis AddLanguage kr .kr AddCharset ISO-2022-KR .iso-kr AddLanguage no .no AddLanguage pl .po AddCharset ISO-8859-2 .iso-pl AddLanguage pt .pt AddLanguage pt-br .pt-br AddLanguage ltz .lu AddLanguage ca .ca AddLanguage es .es AddLanguage sv .se AddLanguage cz .cz AddLanguage ru .ru AddLanguage tw .tw AddCharset Big5 .Big5 .big5 AddCharset WINDOWS-1251 .cp-1251 #AddCharset CP866 .cp866 AddCharset ISO-8859-5 .iso-ru AddCharset KOI8-R .koi8-r #AddCharset UCS-2 .ucs2 #AddCharset UCS-4 .ucs4 AddCharset UTF-8 .utf8 <IfModule mod_negotiation.c> LanguagePriority ru en da nl et fr de el it ja kr no pl pt pt-br ltz ca es sv tw </IfModule> AddType application/x-tar .tgz AddHandler cgi-script .cgi AddType text/html .shtml AddHandler server-parsed .shtml AddHandler imap-file map </IfModule> <IfModule mod_setenvif.c> BrowserMatch "Mozilla/2" nokeepalive BrowserMatch "MSIE 4\.0b2;" nokeepalive downgrade-1.0 force-response-1.0 BrowserMatch "RealPlayer 4\.0" force-response-1.0 BrowserMatch "Java/1\.0" force-response-1.0 BrowserMatch "JDK/1\.0" force-response-1.0 </IfModule> <IfModule mod_status.c> <Location /server-status> SetHandler server-status Order deny,allow Deny from all #Allow from 127.0.0.1 localhost Allow from .e-foto.ru <IfModule mod_charset.c> CharsetDisable On </IfModule> </Location> </IfModule> <IfModule mod_info.c> <Location /server-info> SetHandler server-info Order deny,allow Deny from all #Allow from 127.0.0.1 localhost Allow from .e-foto.ru <IfModule mod_charset.c> CharsetDisable On </IfModule> </Location> </IfModule> <IfModule mod_charset.c> CharsetDecl ISO-8859-5 ru CharsetDecl ibm866 ru CharsetDecl windows-1251 ru CharsetDecl koi8-r ru CharsetDecl x-mac-cyrillic ru #CharsetRecodeTable charset1 charset2 table1-2 [table2-1] CharsetRecodeTable koi8-r ISO-8859-5 conf/tables/cyrillic/koi-iso.tab conf/tables/cyrillic/iso-koi.tab CharsetRecodeTable koi8-r ibm866 conf/tables/cyrillic/koi-dos.tab conf/tables/cyrillic/dos-koi.tab CharsetRecodeTable koi8-r windows-1251 conf/tables/cyrillic/koi-win.tab conf/tables/cyrillic/win-koi.tab CharsetRecodeTable koi8-r x-mac-cyrillic conf/tables/cyrillic/koi-mac.tab conf/tables/cyrillic/mac-koi.tab # Recoding rules for windows-1251 source encoding CharsetRecodeTable windows-1251 ISO-8859-5 conf/tables/cyrillic/win-iso.tab conf/tables/cyrillic/iso-win.tab CharsetRecodeTable windows-1251 ibm866 conf/tables/cyrillic/win-dos.tab conf/tables/cyrillic/dos-win.tab CharsetRecodeTable windows-1251 x-mac-cyrillic conf/tables/cyrillic/win-mac.tab conf/tables/cyrillic/mac-win.tab # Aliases of charsets # Format: CharsetAlias real_name alias1 alias2 alias3 ... CharsetAlias ISO-8859-5 iso_8859-5:1988 iso-ir-144 iso_8859-5 cyrillic CharsetAlias ISO-8859-5 iso8859-5 iso-8859.5 iso8859.5 iso CharsetAlias ibm866 csibm866 866 cp866 x-cp866 x-ibm866 cp-866 alt CharsetAlias windows-1251 win x-cp1251 cp1251 cp-1251 CharsetAlias koi8-r koi-8-r koi8 koi-8 koi CharsetPriority koi8-r windows-1251 ISO-8859-5 ibm866 x-mac-cyrillic CharsetDefault koi8-r CharsetSourceEnc koi8-r CharsetAgent windows-1251 AIR_Mosaic IWENG/1 MSIE WinMosaic (Windows (WinNT; CharsetAgent windows-1251 (Win16; (Win95; (Win98; (16-bit) Opera/3.0 CharsetAgent koi8-r Arena Ariadna OmniWeb Sextant PRD (X11 Lynx/ CharsetAgent ibm866 DosLynx Lynx2/OS/2 CharsetAgent x-mac-cyrillic Macintosh CharsetBadAgent arena Lynx/2.0 Lynx/2.1 Lynx/2.2 Lynx/2.3 Lynx/2.4 "MSIE 2.0;" Lynx2/OS/2 CharsetRecodeFilenames Off <Directory /var/www/html/manual> CharsetDisable On AddDefaultCharset iso8859-1 </Directory> <Directory /var/www/html/addon-modules> CharsetDisable On AddDefaultCharset iso8859-1 </Directory> CharsetBrokenAccept "Mozilla/4." "iso-8859-1,*,utf-8" </IfModule> <IfDefine PERLPROXIED> <IfModule mod_proxy.c> ProxyPass /perl/ http://127.0.0.1:8200/ ProxyPassReverse /perl/ http://127.0.0.1:8200/ </IfModule> # Protect security-sensitive locations of httpd-perl server <Location ~ ^/perl/(perl-status|server-status|server-info)> Order deny,allow Deny from all Allow from 127.0.0.1 localhost #Allow from your.trusted.host </Location> </IfDefine> Include conf/addon-modules/mod_php4.conf Include conf/addon-modules/mod_auth_ldap.conf NameVirtualHost www.e-foto.ru <VirtualHost www.e-foto.ru> Options Includes Indexes ServerAdmin root@e-foto.ru ServerName www.e-foto.ru DocumentRoot "/var/Sites/e-foto" DirectoryIndex index.html ErrorLog /var/Sites/log/e-foto/err_log </VirtualHost>
next reply other threads:[~2001-09-07 21:15 UTC|newest] Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top 2001-09-07 21:15 Maxim [this message] 2001-09-07 23:18 ` Sergey Degtyaryov 2001-09-08 21:11 ` cornet 2001-09-09 13:09 ` Re[2]: " max_conf 2001-09-09 13:18 ` [mdk-re] " Alexander Bokovoy 2001-09-09 15:33 ` Re[2]: [mdk-re] " max_conf
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=601317989598.20010907212015@banana.ptt.ru \ --to=max_conf@banana.ptt.ru \ --cc=mandrake-russian@altlinux.ru \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: link
ALT Linux Community general discussions This inbox may be cloned and mirrored by anyone: git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git # If you have public-inbox 1.1+ installed, you may # initialize and index your mirror using the following commands: public-inbox-init -V2 community community/ http://lore.altlinux.org/community \ mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com public-inbox-index community Example config snippet for mirrors. Newsgroup available over NNTP: nntp://lore.altlinux.org/org.altlinux.lists.community AGPL code for this site: git clone https://public-inbox.org/public-inbox.git