Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New virtualhost killed apache and other virtual hosts #58

Open
tom-burman-cranbri opened this issue Sep 6, 2014 · 2 comments
Open

New virtualhost killed apache and other virtual hosts #58

tom-burman-cranbri opened this issue Sep 6, 2014 · 2 comments

Comments

@tom-burman-cranbri
Copy link

got virtualhost.sh working via homebrew for developing my websites with.

I was able to create virtualhosts absolutley fine and had multiple sites running magento and wordpress.

Unfortunately i created a new virtualhost the other day and when i went to the web address it shows the error cannot connect to server.

The only thing i done differently this time was extend the root directory to point to a subfolder. I have done this on other setups many times with no issues

When i then tried to visit my other virtualhost websites they were all showing the same error message.

I have all my files on bitbucket but i really don't want to have to reinstall osx and all the programs i use again.

Any ideas what could help me out?

Using Mavericks, preinstalled php and apache

@star-szr
Copy link
Contributor

star-szr commented Sep 6, 2014

Can you expand more on:

extend the root directory to point to a subfolder

When you're having Apache problems I always recommend running apachectl -t, that will let you know if any of your active Apache configuration files have syntax or other errors.

@tom-burman-cranbri
Copy link
Author

Thanks for the apachectl note. I'll give it a go when I'm back home. But tbh there shouldn't be I haven't touched any except httpd.conf to enable php. Literally all I done with the virtual host file for the Web address after creating it was editing the document root to a lower level e.g usually it would point to example.dev and I was just trying to point it to example.dev/website. Also I have since deleted the httpd.conf and extras file and copied the originals back from the originals folder. Thanks

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

No branches or pull requests

2 participants