Open jimlongo56 opened 9 years ago
Hi @jimlongo56,
When you access Salty-WordPress it will look into the projects
directory for a dir with the hostname. SO using the IP will give you a Forbidden error, but "wordpress-develop.dev` (providing you put that in your hosts file) should show you the WordPress development site.
Thanks Joe,
When I run vagrant up from Salty-WordPress it launches without any errors and automatically writes this line in /etc/hosts
192.168.50.10 salty-wordpress # VAGRANT: 10b5ed7fa3a1b157813c189a5b3284e1 (default) / 882ce291-e9c8-439e-beea-52117fb393fe
Then when I try to access http://salty-wordpress http://salty-wordpress/ I get the error
403 Forbidden
nginx/1.4.6 (Ubuntu)
Jim Longo | http://jimlongo.com/ | 416.939.9359
On Nov 7, 2014, at 4:30 PM, Joe Hoyle notifications@github.com wrote:
Hi @jimlongo56 https://github.com/jimlongo56,
When you access Salty-WordPress it will look into the projects directory for a dir with the hostname. SO using the IP will give you a Forbidden error, but "wordpress-develop.dev` (providing you put that in your hosts file) should show you the WordPress development site.
— Reply to this email directly or view it on GitHub https://github.com/humanmade/Salty-WordPress/issues/107#issuecomment-62216090.
@jimlongo56 oh hmm, I don't know anything about that line being added to your hosts file, @danielbachhuber did you add that, or is this a default vagrant thing?
@jimlongo56 can you try adding 192.168.50.10 test.dev
to you hosts file, then create projects/test.dev/index.php
in your Salty-WordPress checkout to see if that works?
Hm, doesn't do it for me.
Is it automatically added by the fact this is installed? vagrant plugin install vagrant-hostsupdate
I think it reads from the Vagrant file and writes to /etc/hosts when you run vagrant up.
It removes the entry when you halt vagrant.
Even if I add the line you asked for, the other one will also get added when I boot vagrant, so now there will be 2 lines with the same IP.
Jim Longo | http://jimlongo.com/ | 416.939.9359
On Nov 7, 2014, at 4:37 PM, Joe Hoyle notifications@github.com wrote:
@jimlongo56 https://github.com/jimlongo56 oh hmm, I don't know anything about that line being added to your hosts file, @danielbachhuber https://github.com/danielbachhuber did you add that, or is this a default vagrant thing?
@jimlongo56 https://github.com/jimlongo56 can you try adding 192.168.50.10 test.dev to you hosts file, then create projects/test.dev/index.php in your Salty-WordPress checkout to see if that works?
— Reply to this email directly or view it on GitHub https://github.com/humanmade/Salty-WordPress/issues/107#issuecomment-62218055.
@jimlongo56 that's not an issue - you can have as many as you want with the same IP, for example, this is my hosts file:
That works, I can access http://test.dev/ http://test.dev/
On Nov 7, 2014, at 4:50 PM, Joe Hoyle notifications@github.com wrote:
@jimlongo56 https://github.com/jimlongo56 that's not an issue - you can have as many as you want with the same IP, for example, this is my hosts file:
https://camo.githubusercontent.com/aba79138e724c345f2f5c3ceeabce6af0a38acca/68747470733a2f2f73332e616d617a6f6e6177732e636f6d2f6a6f65686f796c652d63617074757265642f526b79464d2e706e67 — Reply to this email directly or view it on GitHub https://github.com/humanmade/Salty-WordPress/issues/107#issuecomment-62220621.
@jimlongo56 cool, so it seems to be working - so you basically just create whatever projects you want then add that domain to your hosts file. The hostupdater thing is a red herring, given that Salty WordPress doesn't know what domains you want to use it can't be added to the hostfile automatically unfortunately.
Is there anything else I can help with here?
Thanks for the help.
Works now except for the humanmade/humanmade username/password
On Nov 7, 2014, at 4:58 PM, Joe Hoyle notifications@github.com wrote:
@jimlongo56 https://github.com/jimlongo56 cool, so it seems to be working - so you basically just create whatever projects you want then add that domain to your hosts file. The hostupdater thing is a red herring, given that Salty WordPress doesn't know what domains you want to use it can't be added to the hostfile automatically unfortunately.
Is there anything else I can help with here?
— Reply to this email directly or view it on GitHub https://github.com/humanmade/Salty-WordPress/issues/107#issuecomment-62221478.
Hi, I've installed Salty-Wordpress with VirtualBox on a Mac running 10.10. When I try to access the url in my /etc/hosts file (or 192.168.50.10 directly) I get a 403 Forbidden error.