D
D
Dmitry Gavrilenko2015-03-17 10:29:02
Apache HTTP Server
Dmitry Gavrilenko, 2015-03-17 10:29:02

Apache running weird on LAN?

The server is set to localhost. The computer is connected to the local network. From the server computer it goes to center (center is the name of the server machine). If you access from another computer connected to the server via the local network, be it the address (center) or ip, it gives 404 from the server or method not implement. How to decide?
UPD1:
vhosts:


NameVirtualHost *:80
DocumentRoot "E:/sites/localhost/www"
ServerName localhost
ErrorLog "E:/sites/localhost/error.log"
CustomLog "E:/sites/localhost/access.log" common

httpd:

ServerRoot "C:/Program Files/Apache"
Listen 80
#LoadModule access_compat_module modules/mod_access_compat.so
LoadModule actions_module modules/mod_actions.so
LoadModule alias_module modules/mod_alias.so
#LoadModule allowmethods_module modules/mod_allowmethods.so
LoadModule asis_module modules/mod_asis.so
LoadModule auth_basic_module modules/mod_auth_basic.so
#LoadModule auth_digest_module modules/mod_auth_digest.so
#LoadModule auth_form_module modules/mod_auth_form.so
#LoadModule authn_anon_module modules/mod_authn_anon.so
#LoadModule authn_core_module modules/mod_authn_core.so
#LoadModuled_modulebauthn_dbsohn
Authn_dbm_module the modules #LoadModule / mod_authn_dbm.so the
LoadModule authn_file_module the modules / mod_authn_file.so
#LoadModule authn_socache_module the modules / mod_authn_socache.so
#LoadModule authnz_fcgi_module the modules / mod_authnz_fcgi.so
#LoadModule authnz_ldap_module the modules / mod_authnz_ldap.so
#LoadModule authz_core_module the modules / mod_authz_core.so
#LoadModule authz_dbd_module modules/mod_authz_dbd.so
#LoadModule authz_dbm_module modules/mod_authz_dbm.so
LoadModule authz_groupfile_module modules/mod_authz_groupfile.so
LoadModule authz_host_module modules/mod_authz_host.so
#LoadModule authz_owner_module modules/mod_authz_owner.so
LoadModule authz_module_user.so LoadModule authz_module_user.so
LoadModule autoindex_module modules/mod_autoindex.so
#LoadModule buffer_module modules/mod_buffer.so
#LoadModule cache_module modules/mod_cache.so
#LoadModule cache_disk_module modules/mod_cache_disk.so
#LoadModule cache_socache_module modules/mod_cache_socache.so
#LoadModule cern_meta_module modules/mod_cern_meta.so
LoadModule cern_meta_module modules/mod_cern_meta.so LoadModule /mod_cgi.so
#LoadModule charset_lite_module modules/mod_charset_lite.so
#LoadModule data_module modules/mod_data.so
#LoadModule dav_module modules/mod_dav.so
#LoadModule dav_fs_module modules/mod_dav_fs.so
#LoadModule dav_lock_module modules/mod_dav_lock.so
#LoadModule/dbd_dbund modules .so
#LoadModule deflate_module modules/mod_deflate.so
LoadModule dir_module modules/mod_dir.so
#LoadModule dumpio_module modules/mod_dumpio.so
LoadModule env_module modules/mod_env.so
#LoadModule expires_module modules/mod_expires.so
#LoadModule ext_filter_module modules/mod_ext_filter.so
#LoadModule file_cache_module modules /mod_file_cache.so
#LoadModule filter_module modules/mod_filter.so
#LoadModule headers_module modules/mod_headers.so
#LoadModule heartbeat_module modules/mod_heartbeat.so
#LoadModule heartmonitor_module modules/mod_heartmonitor.so
#LoadModule ident_module modules/mod_ident.so
#LoadModule imagemap_module modules/mod_imagemap .so
Include_module modules LoadModule / mod_include.so
#LoadModule info_module modules / mod_info.so
LoadModule isapi_module modules / mod_isapi.so
#LoadModule lbmethod_bybusyness_module modules / mod_lbmethod_bybusyness.so
#LoadModule lbmethod_byrequests_module modules / mod_lbmethod_byrequests.so
#LoadModule lbmethod_bytraffic_module modules / mod_lbmethod_bytraffic.so
#LoadModule lbmethod_heartbeat_module modules /mod_lbmethod_heartbeat.so
#LoadModule ldap_module modules/mod_ldap.so
#LoadModule logio_module modules/mod_logio.so
LoadModule log_config_module modules/mod_log_config.so
#LoadModule log_debug_module modules/mod_log_debug.so
#LoadModule log_forensic_module modules/mod_log_forensic.so
#LoadModule lua_module modules/mod_lua.so
#LoadModule macro_module modules/mod_macro.so
LoadModule mime_module modules/mod_mime.so
#LoadModule mime_magic_module modules/mod_mime_magic.so
LoadModule negotiation_module modules/mod_negotiation.so
#LoadModule proxy_module modules/mod_proxy.so
#LoadModule proxy_ajp_module modules /mod_proxy_ajp.so
#LoadModule proxy_balancer_module modules/mod_proxy_balancer.so
#LoadModule proxy_connect_module modules/mod_proxy_connect.so
#LoadModule proxy_express_module modules/mod_proxy_express.so
#LoadModule proxy_fcgi_module modules/mod_proxy_fcgi.so
#LoadModule proxy_ftp_module modules/mod_proxy_ftp
#LoadModule proxy_html_module modules/mod_proxy_html.so
#LoadModule proxy_http_module modules/mod_proxy_http.so
#LoadModule proxy_scgi_module modules/mod_proxy_scgi.so
#LoadModule proxy_wstunnel_module modules/mod_proxy_wstunnel.so
#LoadModule ratelimit_module modules/mod_ratelimit.so
#LoadModule reflector_moduleso modules/
mod_Loreflector.modules remoteip_module modules/mod_remoteip.so
#LoadModule request_module modules/mod_request.so
#LoadModule reqtimeout_module modules/mod_reqtimeout.so
#LoadModule rewrite_module modules/mod_rewrite.so
#LoadModule sed_module modules/mod_sed.so
#LoadModule session_module modules/mod_session.so
Session_cookie_module the modules #LoadModule / mod_session_cookie.so
#LoadModule session_crypto_module the modules / mod_session_crypto.so
#LoadModule session_dbd_module the modules / mod_session_dbd.so the
LoadModule setenvif_module the modules / mod_setenvif.so
#LoadModule slotmem_plain_module the modules / mod_slotmem_plain.so
#LoadModule slotmem_shm_module the modules / mod_slotmem_shm.so
#LoadModule socache_dbm_module modules/mod_socache_dbm.so
#LoadModule socache_memcache_module modules/mod_socache_memcache.so
#LoadModule socache_shmcb_module modules/mod_socache_shmcb.so
#LoadModule speling_module modules/mod_speling.so
#LoadModule ssl_module modules/mod_ssl.so
#LoadModule status_module.modules/mod_status.modules
#LoadModule substitute_module modules/mod_substitute.so
#LoadModule unique_id_module modules/mod_unique_id.so
#LoadModule userdir_module modules/mod_userdir.so
#LoadModule usertrack_module modules/mod_usertrack.so
#LoadModule version_module modules/mod_version.so
#LoadModule vhost_alias_module modules/mod_vhost_alias.so
#LoadModule watchdog_module modules/mod_watchdog.so
#LoadModule xml2enc_module modules/mod_xml2enc.so
LoadModule php5_module "C:/Program Files/PHP/php5apache2_2.dll"
PHPIniDir "C:/Program Files/PHP"
User daemon
Group daemon
ServerAdmin admin example .com
ServerName kab6 -center:80
Options Includes Indexes FollowSymLinks
AllowOverride All
Allow from all
DocumentRoot "E:/sites"
DirectoryIndex index.html index.htm index.shtml index.php
Require all denied
ErrorLog "C:/program files/apache/error.log"
LogLevel warn
LogFormat " %h %l %u %t \"%r\" %>s %b" combined
LogFormat "%h %l %u %t \"%r\" %>s %b" common
LogFormat "%h %l %u %t /"%r/" %>s %b /"%{Referer}i/" /"%{User-Agent}i/" %I %O" combinedio
CustomLog "C:/program files/apache /access.log" common
ScriptAlias ​​/cgi-bin/ "c:/Apache24/cgi-bin/"
AllowOverride None
Options None
Require all granted
TypesConfig conf/mime.types
AddType application/x-compress .Z
AddType application/x-gzip .gz .tgz
AddType text/html .shtml
AddOutputFilter INCLUDES .shtml
AddType application/x-httpd-php .php
AddType application/x-httpd -php-source .phps
Include conf/extra/httpd-mpm.conf
Include conf/extra/httpd-autoindex.conf
Include conf/extra/httpd-vhosts.conf
Include conf/extra/httpd-manual.conf
Include conf/extra /httpd-default.conf
Include conf/extra/proxy-html.conf
SSLRandomSeed startup builtin
SSLRandomSeed connect builtin

part of error log localhost

[Tue Mar 17 09:47:58 2015] [error] [client 192.168.5.37] File does not exist: E:/sites/localhost/www/logo.jpg, referer: 192.168.5.224/
[Tue Mar 17 09: 48:00 2015] [error] [client 192.168.5.37] Invalid method in request l,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8
[Tue Mar 17 09 :48:01 2015] [error] [client 192.168.5.37] File does not exist: E:/sites/localhost/www/logo.jpg, referer: 192.168.5.224/
[Tue Mar 17 09:48:03 2015] [error] [client 192.168.5.37] Invalid method in request l,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8
[Tue Mar 17 09:52:36 2015 ] [error] [client 192.168.5.37] File does not exist: E:/sites/localhost/www/logo.jpg, referer: 192.168.5.224/
[Tue Mar 17 09:52:39 2015] [error] [client 192.168.5.37] Invalid method in request l,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q= 0.8
[Tue Mar 17 09:53:53 2015] [error] [client 192.168.5.37] File does not exist: E:/sites/localhost/www/logo.jpg, referer: kab6-center/
[Tue Mar 17 09 :53:55 2015] [error] [client 192.168.5.37] File does not exist: E:/sites/localhost/www/logo.jpg, referer: kab6-center/
[Tue Mar 17 09:53:55 2015] [error] [client 192.168.5.37] Invalid method in request plication/xml;q=0.9,image/webp,*/*;q=0.8
[Tue Mar 17 09:53:56 2015] [error] [client 192.168. 5.37] File does not exist: E:/sites/localhost/www/logo.jpg, referer: kab6-center/
[Tue Mar 17 09:53:57 2015] [error] [client 192.168.5.37] Invalid method in request l,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q= 0.8

Answer the question

In order to leave comments, you need to log in

1 answer(s)
C
Cool Admin, 2015-03-17
@ifaustrue

You don't have the correct settings.
This is the only absolutely correct answer that can be made from your description.
*** if you want details, you must show: Apache configs, logs, DNS settings.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question