Skip to content
This repository has been archived by the owner on Jul 19, 2019. It is now read-only.

POST not updating comments.json on Apache server #58

Closed
Mark-L6n opened this issue Jul 2, 2015 · 4 comments
Closed

POST not updating comments.json on Apache server #58

Mark-L6n opened this issue Jul 2, 2015 · 4 comments

Comments

@Mark-L6n
Copy link

Mark-L6n commented Jul 2, 2015

I'm using a local dev environment (Vagrant box with CentOS + Apache) to run the tutorial, and the POST isn't updating file comments.json.
If running the tutorial this way, is this not possible, or is there a server script that needs to be added to update file comments.json?
Thanks!

@zpao
Copy link
Member

zpao commented Jul 3, 2015

Please read the readme, it discusses the need for running a server and there are several available in a variety of languages.

@zpao zpao closed this as completed Jul 3, 2015
@Mark-L6n
Copy link
Author

Mark-L6n commented Jul 4, 2015

Hi—Thanks for responding! I did read the readme, and as you can see from the question, I am running a server (Apache). I'm guessing from your response, though, that the answer to my question is: no, it's not possible to run the tutorial as-is on an Apache server, and that one of your provided scripts needs to act as the server.

@zpao
Copy link
Member

zpao commented Jul 4, 2015

Sorry for the curt response (mobile, on vacation), I meant that a scripted server is needed. POSTing to a file won't work so we need to handle that request and send back the updated data. Maybe Apache provides a more robust scripting capability than I know. Usually it's Apache + .

@Mark-L6n
Copy link
Author

Mark-L6n commented Jul 4, 2015

OK, thanks for responding while on vacation!
Edit: This post shows how to use the tutorial with an apache server.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants