Re: Cannot download files from Apache2.2 webserver.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

It seems that i can't download files from my apache at all !
What am i missing ?
What directives have to be enabled to allow that feature?

I tried with EnableSendfile off and EnableMMAP off , but no luck, again.

Thanks for the help.
Please help.



Hello,

I have installed Apache2.2 under the cygwin environment with winXP.
I have configured authorization Basic and am using the  directory
auto-indexing
feature(no index.html file in the Documentroot directory).

Then when i try to download files from home everything is ok , with
Firefox1.5 and IE.

When i try to download the files from the office with Firefox1.5 under
FedoraCore5 the download begins with "Starting..." and continues like
that
for ever. No data is transferred. The only difference in terms of
network connectivity is that in the office the connection to the
internet is through a
http-proxy.

I thought it could be security issues due to the http-proxy (through which
 the whole traffic is going through) ,so i configured ssl_v3 with auth
Digest on
the apache server, but  everything is as before, no change!

I have tried with auth Basic, but the result is the same.

From the logs i get no evident problems even on level debug.
Something suspicious is probably this:
"(104)Connection reset by peer: core_output_filter: writing data to the
network"
 and this:
"Digest: user arry: nonce expired (367.00 seconds old - max lifetime
300.00) - sending new nonce"

I have searched the forums and the net but could not find anything useful.
My only hope is with you guys.
Thank you.

 *** Keep her steady as she goes!

Hristian Todorov

Here is the httpd.conf file:
------------------------------------

ServerRoot "/usr"
Listen 80
#Listen 443 https

LoadModule authn_file_module lib/apache2/mod_authn_file.so
LoadModule authn_dbm_module lib/apache2/mod_authn_dbm.so
LoadModule authn_anon_module lib/apache2/mod_authn_anon.so
LoadModule authn_dbd_module lib/apache2/mod_authn_dbd.so
LoadModule authn_default_module lib/apache2/mod_authn_default.so
LoadModule authz_host_module lib/apache2/mod_authz_host.so
LoadModule authz_groupfile_module lib/apache2/mod_authz_groupfile.so
LoadModule authz_user_module lib/apache2/mod_authz_user.so
LoadModule authz_dbm_module lib/apache2/mod_authz_dbm.so
LoadModule authz_owner_module lib/apache2/mod_authz_owner.so
LoadModule authz_default_module lib/apache2/mod_authz_default.so
LoadModule auth_basic_module lib/apache2/mod_auth_basic.so
LoadModule auth_digest_module lib/apache2/mod_auth_digest.so
LoadModule dbd_module lib/apache2/mod_dbd.so
LoadModule dumpio_module lib/apache2/mod_dumpio.so
LoadModule ext_filter_module lib/apache2/mod_ext_filter.so
LoadModule include_module lib/apache2/mod_include.so
LoadModule filter_module lib/apache2/mod_filter.so
LoadModule deflate_module lib/apache2/mod_deflate.so
LoadModule log_config_module lib/apache2/mod_log_config.so
LoadModule log_forensic_module lib/apache2/mod_log_forensic.so
LoadModule logio_module lib/apache2/mod_logio.so
LoadModule env_module lib/apache2/mod_env.so
LoadModule mime_magic_module lib/apache2/mod_mime_magic.so
LoadModule cern_meta_module lib/apache2/mod_cern_meta.so
LoadModule expires_module lib/apache2/mod_expires.so
LoadModule headers_module lib/apache2/mod_headers.so
LoadModule ident_module lib/apache2/mod_ident.so
LoadModule usertrack_module lib/apache2/mod_usertrack.so
LoadModule unique_id_module lib/apache2/mod_unique_id.so
LoadModule setenvif_module lib/apache2/mod_setenvif.so
LoadModule version_module lib/apache2/mod_version.so
LoadModule proxy_module lib/apache2/mod_proxy.so
LoadModule proxy_connect_module lib/apache2/mod_proxy_connect.so
LoadModule proxy_ftp_module lib/apache2/mod_proxy_ftp.so
LoadModule proxy_http_module lib/apache2/mod_proxy_http.so
LoadModule proxy_ajp_module lib/apache2/mod_proxy_ajp.so
LoadModule proxy_balancer_module lib/apache2/mod_proxy_balancer.so
LoadModule ssl_module lib/apache2/mod_ssl.so
LoadModule mime_module lib/apache2/mod_mime.so
LoadModule dav_module lib/apache2/mod_dav.so
LoadModule status_module lib/apache2/mod_status.so
LoadModule autoindex_module lib/apache2/mod_autoindex.so
LoadModule asis_module lib/apache2/mod_asis.so
LoadModule info_module lib/apache2/mod_info.so
LoadModule cgi_module lib/apache2/mod_cgi.so
LoadModule dav_fs_module lib/apache2/mod_dav_fs.so
LoadModule vhost_alias_module lib/apache2/mod_vhost_alias.so
LoadModule negotiation_module lib/apache2/mod_negotiation.so
LoadModule dir_module lib/apache2/mod_dir.so
LoadModule imagemap_module lib/apache2/mod_imagemap.so
LoadModule actions_module lib/apache2/mod_actions.so
LoadModule speling_module lib/apache2/mod_speling.so
LoadModule userdir_module lib/apache2/mod_userdir.so
LoadModule alias_module lib/apache2/mod_alias.so
LoadModule rewrite_module lib/apache2/mod_rewrite.so
#not good i know - just temporary

#SSLProtocol -all +SSLv3

#SSLEngine on
#SSLCertificateFile    /etc/apache2/server.crt
#SSLCertificateKeyFile /etc/apache2/server.key


<IfModule !mpm_netware_module>
 #User ssh #Group HD
</IfModule>


ServerAdmin you@xxxxxxxxxxx
ServerName 172.16.0.2
DocumentRoot "/var/www/htdocs"

<Directory />
    Options FollowSymLinks
    AllowOverride None
    Order deny,allow
    Deny from all
</Directory>


<Directory "/var/www/htdocs">

   #SSLCipherSuite HIGH:MEDIUM

    Options All
                # Indexes FollowSymLinks
    AllowOverride None
    Order allow,deny
    Allow from all

    AuthType Digest
    AuthName "Restricted Area"
    AuthDigestDomain /var/www/htdocs
    AuthDigestProvider file
    AuthUserFile /var/www/.digestpwd
    Require valid-user
</Directory>


<IfModule dir_module>
    DirectoryIndex index.html
</IfModule>


<FilesMatch "^\.ht">
    Order allow,deny
    Deny from all
    Satisfy All
</FilesMatch>


ErrorLog /var/log/apache2/error_log
LogLevel debug

<IfModule log_config_module>

    LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\"
\"%{User-Agent}i\"" combined
    LogFormat "%h %l %u %t \"%r\" %>s %b" common

    <IfModule logio_module>
      # You need to enable mod_logio.c to use %I and %O
      LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\"
\"%{User-Agent}i\" %I %O" combinedio
    </IfModule>

    CustomLog /var/log/apache2/access_log common

</IfModule>

<IfModule alias_module>
    ScriptAlias /cgi-bin/ "/var/www/cgi-bin/"
</IfModule>

<IfModule cgid_module>
</IfModule>


<Directory "/var/www/cgi-bin">
    AllowOverride None
    Options None
    Order allow,deny
    Allow from all
</Directory>


DefaultType application/octet-stream
            #text/plain

<IfModule mime_module>

    TypesConfig /etc/apache2/mime.types
    AddType application/x-compress .Z
    AddType application/x-gzip .gz .tgz

</IfModule>


#MIMEMagicFile /etc/apache2/magic


<IfModule ssl_module>
SSLRandomSeed startup builtin
SSLRandomSeed connect builtin
</IfModule>


Include /etc/apache2/conf.d/*.conf




---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
  "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux