Get answers quicker by searching

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

In this Discussion

After install, /login returns 404
  • Vote Up0Vote Down dbarrondbarron
    Posts: 8Sendy user

    I'm hosting Sendy on an Amazon Linux AMI (t1.micro). I edited config.php; visited the Sendy home page to initiate installation; provided the info on the installation screen that asks for AWS keys. It now 404's on the /login page. If I try to go to my Sendy home page, I briefly see a page with my company name in a black header on the top of the page, with a "Brands" button, but then it redirects to /login and 404's. Any suggestions? Thanks.

  • 9 Comments
  • Vote Up0Vote Down dbarrondbarron
    Posts: 8Sendy user

    /_compatibility.php?i=1

    Server configuration:

    Your PHP version is 5.3.20
    mysqli extension is installed
    mod_rewrite is enabled
    display_errors is turned off
    hash is enabled
    curl is enabled
    curl_exec is enabled
    curl_multi_exec is enabled

    Score: 8/8

  • Vote Up0Vote Down dbarrondbarron
    Posts: 8Sendy user

    $ ls sendy/.h*
    sendy/.htaccess

  • Vote Up0Vote Down dbarrondbarron
    Posts: 8Sendy user

    mysql> show tables;
    +-----------------+
    | Tables_in_* |
    +-----------------+
    | apps |
    | ares |
    | ares_emails |
    | campaigns |
    | links |
    | lists |
    | login |
    | queue |
    | subscribers |
    +-----------------+

  • Vote Up0Vote Down dbarrondbarron
    Posts: 8Sendy user

    advice did not help at http://sendy.co/forum/discussion/5/404-error-after-install/p1
    neither of these lines helped:
    RewriteBase /sendy
    RewriteBase /

  • Vote Up0Vote Down dbarrondbarron
    Posts: 8Sendy user

    this seems relevant, but unfortunately does not actually clarify the resolution (short of switching distros): https://forums.aws.amazon.com/thread.jspa?messageID=378709

  • Vote Up0Vote Down dbarrondbarron
    Posts: 8Sendy user

    have the identical issue on an Amazon Ubuntu t1.micro instance.

  • Vote Up0Vote Down BenBen
    Posts: 3,489Sendy support

    Hi David,

    Not sure how your instance was setup, I'm using Amazon EC2 (Amazon Linux AMI, t1.micro) instance on LAMP stack without any problems.

    PM me your EC2 user name and SSH key.

    Thanks.

    Ben

  • Vote Up0Vote Down dbarrondbarron
    Posts: 8Sendy user

    This issue was resolved by editing the apache conf to "AllowOverride All" within the Directory entry for /var/www/html. This enables apache to honor the .htaccess file to perform the necessary url rewriting. Perhaps this is something the compatibility-checker can look for. Thanks for your help.

  • Vote Up0Vote Down BenBen
    Posts: 3,489Sendy support

    Thanks David.

    For others reading this, this is something you need to take note of if you are setting up your own server with LAMP stack to run Sendy. Otherwise, this is something your hosting company would've already taken care of or worry about.

    Ben

This discussion has been closed.
All Discussions