amember stripping "www" from url ???

Discussion in 'Setting-up protection' started by jimjwright, Nov 12, 2007.

  1. jimjwright

    jimjwright New Member

    Joined:
    Sep 12, 2007
    Messages:
    162
    Hello, I am successfully using new_rewrite to protect folder. For example www.cowasoft.com/members. When I try to access any content in folder or sub-directories it appears the url if it contains www in it is being stripped.

    For instance if in my .php code If I have
    <a href="http://www.cowasoft.com/members/games/poker"><abbr title="poker">poker</abbr></a>

    This will get redirect in browser to:

    http://cowasoft.com/members/games/poker

    This causes problems because I'm invoking a flash game .SWF that I have licensed that is branded to www.cowasoft.com. Because of this I get an access denied error because flash treats thems as different domains. I have not been successful in modifying .htaccess to fix problem. I only see this problem when accessing folders that are protected by new_rewrite using amember.

    So to recap it appears something in amember is stripping www component from url when accessing protected folder. Is this a true statement?

    Is this a known issue? Can anybody shed light on this problem and maybe a simple solution?
  2. jon_church

    jon_church aMember Pro Customer

    Joined:
    Aug 22, 2006
    Messages:
    4
    Use exact URL (http://www.site.com/folder_name/index.html) instead of ../folder_name/index.html. Do you have an .htaccess in your root directory to not use www? If so, it applies to all subdirectories as well.

Share This Page