Find the answer to your Linux question:
Results 1 to 3 of 3
I have turned on the .htpasswd option in apache (Apache version 2.2.6) I have these directives in place AccessFileName .htaccess <Files ~ "^\.ht"> Order allow,deny Deny from all </Files> but ...
  1. #1
    Linux Newbie
    Join Date
    Nov 2004
    Location
    Glacier, WA
    Posts
    103

    .htpasswd

    I have turned on the .htpasswd option in apache (Apache version 2.2.6) I have these directives in place

    AccessFileName .htaccess

    <Files ~ "^\.ht">
    Order allow,deny
    Deny from all
    </Files>

    but get a 500 Internal Server Error

    Any ideas?
    GlacierBill

    To stop learning is to stop living

  2. #2
    Just Joined!
    Join Date
    Dec 2007
    Location
    Bangalore
    Posts
    33
    What does the logs say(apache error_log)?
    Also check for mod_authz_host (run httpd -M)

  3. #3
    Linux Newbie
    Join Date
    Nov 2004
    Location
    Glacier, WA
    Posts
    103
    ***************
    ** Error Log **
    ***************
    [01/Feb/2009:10:24:24 -0600] "GET /weblogs/ssl_request HTTP/1.0" 500 591

    **************
    ** httpd -M **
    **************
    [Sun Feb 01 09:59:59 2009] [warn] module unique_id_module is already loaded, skipping
    [Sun Feb 01 09:59:59 2009] [warn] module perl_module is already loaded, skipping
    Loaded Modules:
    core_module (static)
    mpm_prefork_module (static)
    http_module (static)
    so_module (static)
    auth_digest_module (shared)
    ldap_module (shared)
    include_module (shared)
    log_config_module (shared)
    env_module (shared)
    mime_magic_module (shared)
    cern_meta_module (shared)
    expires_module (shared)
    deflate_module (shared)
    headers_module (shared)
    usertrack_module (shared)
    unique_id_module (shared)
    setenvif_module (shared)
    mime_module (shared)
    dav_module (shared)
    status_module (shared)
    autoindex_module (shared)
    asis_module (shared)
    info_module (shared)
    dav_fs_module (shared)
    vhost_alias_module (shared)
    negotiation_module (shared)
    dir_module (shared)
    actions_module (shared)
    speling_module (shared)
    userdir_module (shared)
    alias_module (shared)
    rewrite_module (shared)
    proxy_module (shared)
    proxy_ftp_module (shared)
    proxy_http_module (shared)
    proxy_connect_module (shared)
    cache_module (shared)
    suexec_module (shared)
    disk_cache_module (shared)
    file_cache_module (shared)
    mem_cache_module (shared)
    cgi_module (shared)
    perl_module (shared)
    authz_host_module (shared)
    annodex_module (shared)
    auth_kerb_module (shared)
    mysql_auth_module (shared)
    auth_pam_module (shared)
    auth_sys_group_module (shared)
    auth_pgsql_module (shared)
    authz_ldap_module (shared)
    fcgid_module (shared)
    auth_shadow_module (shared)
    dnssd_module (shared)
    extract_forwarded_module (shared)
    geoip_module (shared)
    mono_module (shared)
    security2_module (shared)
    suphp_module (shared)
    nss_module (shared)
    php5_module (shared)
    proxy_ajp_module (shared)
    python_module (shared)
    rev_module (shared)
    ssl_module (shared)
    dav_svn_module (shared)
    authz_svn_module (shared)

    *****************************
    ** I found this is the mod **
    *****************************
    HTTP/1.1 500 Internal Server Error
    Content-Length: 603
    Connection: close
    Content-Type: text/html; charset=iso-8859-1

    --ff5dc340-H--
    Stopwatch: 1233505027677271 2586 (- - -)
    Producer: ModSecurity v2.1.3 (Apache 2.x)
    Server: Apache

    --ff5dc340-Z--
    GlacierBill

    To stop learning is to stop living

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...