Apache 404 / Mod-Rewrite Issue |
[eluser]Unknown[/eluser]
Hopefully someone will have seen this before, cos I'm stuck and can't figure out the solution. Mod-Rewrite is working on the apache install on my localhost (Ubuntu 9.04 amd64) and I can get to http://testsite/welcome/index etc. fine. One of my pages does a background call (using curl) to controller on the same site and is not passing the POST data. The same site worked on my system before a reinstall, so it's obviously a config issue, and it works on a different system - I'm just struggling to see the difference in the apache config. Using curl from the command line to debug I came across an odd thing, apache returns a 404 and then loads the the page and returns the output: Quote:curl -v -d "test1=foo&test2=bar" http://testsite/account/login If I change it to post to http://testsite/index.php/account/login it works. Here is the vhost conf: Code: <VirtualHost *:80> Can anyone see what I've done wrong? Thanks, Gushy
[eluser]Unknown[/eluser]
Hmmm, don't know why but in a desperate move I disabled mod-rewrite, restarted apache, enable mod-rewrite, restarted apache and now it works. Odd. |
Welcome Guest, Not a member yet? Register Sign In |