jquery/testswarm

Main page displays but links/actions (projects, info, etc.) gives 404

Closed this issue · 2 comments

Windows Server 2008 R2
Apache 2.4.3
PHP 5.4.4

I followed the install steps and it looks like the main page is loading OK, but when I try to go to any of the actions (Projects, Scores, Info, Login) it will change the web address to /testswarm/projects etc. like I expect it should but it just throws a 404.

I have the /testswarm directory under C:\Apache24\htdocs

In the /config directory in localSettings.json I have "contextpath": "/testswarm"
In /config in the .htaccess I have "RewriteBase /testswarm"

I should also mention if I just use the full path like http://testswarm001/testswarm/index.php?action=Login it will pull up the page fine. Is something not working in the redirect?

It looks like I had to do a couple things, I enabled rewrite module in apache config (maybe add this to the install instructions?) and I moved the .htaccess from /config into /testswarm root... that wasn't clear to me from the instructions. I think this is good to close though

The following was already documented:

https://github.com/jquery/testswarm#steps:

Copy config/sample-.htaccess to .htaccess.

sample-.htaccess:

RewriteEngine On
RewriteBase /testswarm

I've extended it in 4c5e659, explicitly mentioning the mod_rewrite requirement.