Can Vanilla run under localhost:8000 ? And if so, why am I having issues??!
Hi all, i've been working with Vanilla just fine for ages on my linux dev box, but have decided to make some changes to my workflow which means moving the working copy to my PC. Apart from it being Windows, the only other differences between the environments are maybe some PHP/Apache settings and the fact that i'm now accessing the site through http://localhost:8000
rather than http://www.example.dev
The problem i'm having is to do with the routing i suspect, as no matter what page I go to, it always returns the default community home page - which has led me to think it's something to do with using localhost:8000
Any ideas?
Best Answer
-
pavsid New
Sorted it. I was running my local copy under PHP's built-in web server, which doesn't acknowledge .htaccess files, so the rewrites weren't working. Installed XAMPP now and it's working fine, but so slow, think i might go back to using my linux/CentOS box...
6
Answers
I know there has been a port problem, though I do not know what the status is. You could try to find an answer here or in the issues at GitHub.
As far as I remember ports other than 80 have been doubled, so it doesn't sound like your issue. Make sure you delete the *.ini files in /cache after you've changed the domain, but I guess you already did that...
I couldn't find anything on Github, or on here, but i have traced the issue back to
Gdn_Request::_EnvironmentElement('URI')
which is returning an empty string, rather than the request URI.Anybody have any ideas why that might be?
Sorted it. I was running my local copy under PHP's built-in web server, which doesn't acknowledge .htaccess files, so the rewrites weren't working. Installed XAMPP now and it's working fine, but so slow, think i might go back to using my linux/CentOS box...
sounds like a very smart plan.
I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.