Htaccess

Discussion in 'Installation' started by Hans Pleijsier, Jan 16, 2004.

  1. At this moment I get always this error:

    Internal Server Error
    The server encountered an internal error or misconfiguration and was unable to complete your request.
    Please contact the server administrator, and inform them of the time the error occurred and anything you might have done that may have caused the error.

    More information about this error may be available in the server error log.
    --------------------------------------------------------------------------------

    Apache Server at xxxxxxxxx.nl

    When I remove the .htaccess it works perfect, but the directory is then open for everybody.

    AuthType Basic AuthName "Download bestand"
    AuthUserFile/usr/local/psa/home/vhosts/xxxxxxxxxx.nl/httpdocs/amember/data/.htpasswd AuthGroupFile/usr/local/psa/home/vhosts/xxxxxxxxx.nl/httpdocs/amember/data/.htgroup
    Require group PRODUCT_1

    Can you gif me Help?
  2. alex-adm

    alex-adm Guest

    Your file shoud look like
    Code:
    AuthType Basic 
    AuthName "Download bestand"
    AuthUserFile/usr/local/psa/home/vhosts/xxxxxxxxxx.nl/httpdocs/amember/data/.htpasswd AuthGroupFile/usr/local/psa/home/vhosts/xxxxxxxxx.nl/httpdocs/amember/data/.htgroup
    Require group PRODUCT_1
    if it doesn' help, contact your hosting support for exact error message from server log.
  3. Hans

    Hans Guest

    Hi Alex,
    I have got a answer from my hosting:

    The path to the files do not match anymore. With the the new server it is not /usr/local/psa/home/vhosts but /home/httpd/vhosts.

    AuthType Basic

    AuthName "Download bestand"

    AuthUserFile /home/httpd/vhosts/xxxxxxx.nl/httpdocs/amember/data/.htpasswd

    AuthGroupFile /home/httpd/vhosts/xxxxxxx.nl/httpdocs/amember/data/.htgroup

    Require group PRODUCT_1

    And now I get this message/problem:

    First I get the Microsoft inlogmessege (user and password) The Username stands allready by "user" and when I fill in the password I get the same screen back. And then I get this message:

    Authorization Required
    This server could not verify that you are authorized to access the document requested. Either you supplied the wrong credentials (e.g., bad password), or your browser doesn't understand how to supply the credentials required.


    --------------------------------------------------------------------------------

    Apache/1.3.27 Server at www.xxxxxx.nl Port 80


    Can you help me?

    Hans
  4. alex-adm

    alex-adm Guest

    Hans,
    your problem could be resolved faster if you contact us directly: support@cgi-central.net

    It has been discussed 1000 times and still no luck - everybody is looking for a bug in aMember instead of error in configuration.

    If you have only testing records, then please paste your files
    amember/data/.htpasswd
    amember/data/.htgroup
    here. In another case, email this info to support.

Share This Page