Windows 2003 Server ?

Discussion in 'Pre-Sales Questions' started by andrew99, Jun 9, 2005.

  1. andrew99

    andrew99 Guest

    Will amember run on a Windows 2003 server or does it require Linux ?
  2. alex

    alex Administrator Staff Member

    Joined:
    Jan 24, 2004
    Messages:
    6,020
    aMember can work on Windows, but you need to install Apache webserver. aMember does not work under MS IIS.
  3. tealnet

    tealnet New Member

    Joined:
    Oct 7, 2005
    Messages:
    8
    Are there certain functions that are Apache specific that we may not need and could still run it on IIS? I saw another post where someone has it running on Windows with no problem. We would like to use this for several customers, but we have no linux servers.
  4. alex

    alex Administrator Staff Member

    Joined:
    Jan 24, 2004
    Messages:
    6,020
    Folders/pages protection will not work, because it is based on .htaccess/.htpasswd files and Apache-specific functions.

    Everything else - members registrations, payments, integration plugins - will work on IIS.
  5. starsoft

    starsoft New Member

    Joined:
    Oct 12, 2005
    Messages:
    2
    What about IIS with the IISPassword filter added to it? IISPassword adds .htaccess/.htpasswd features to IIS.
  6. alex

    alex Administrator Staff Member

    Joined:
    Jan 24, 2004
    Messages:
    6,020
    I think it is possible to make it working, but little manual work will be required.

    Also, you will need free Zend Optimizer or ionCube Loader installed. Please check with http://amember.com/downloads/tester.zip
  7. starsoft

    starsoft New Member

    Joined:
    Oct 12, 2005
    Messages:
    2
    I tried it but it doesn't work. :confused: It seems as if the .htpasswd file created by AMember is not understood by IISPassword. They seem to encrypt the passwords differently. :(

    I think I am going to see if I can get it to work with URL Protector instead.
  8. alex

    alex Administrator Staff Member

    Joined:
    Jan 24, 2004
    Messages:
    6,020
    Try to use not-encrypted (plain-text) passwords, it can be enabled at aMember Cp -> Setup -> htpasswd. Then click aMember Cp -> Rebuld Db
  9. jatt50

    jatt50 New Member

    Joined:
    May 10, 2005
    Messages:
    5
    i get this error:


    Warning: opendir(\c:\punjabi site1\amember\): failed to open dir: Invalid argument in c:\punjabi site1\amember\admin\protect.php on line 278
    Cannot open directory: \c:\punjabi site1\amember\

    i run apache in server 2003. Any help will be apprecited. Thanks
  10. alex

    alex Administrator Staff Member

    Joined:
    Jan 24, 2004
    Messages:
    6,020
    Please edit file amember/config.inc.php
    replace line
    $config['root_dir'] = dirname(__FILE__);
    to
    $config['root_dir'] = "/punjabi site1/amember/"; // exactly as I wrote!
    then try again.

Share This Page