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

404 The requested URL / was not found on this server. #9

Open
nicholastillman opened this issue Jun 11, 2016 · 2 comments
Open

404 The requested URL / was not found on this server. #9

nicholastillman opened this issue Jun 11, 2016 · 2 comments

Comments

@nicholastillman
Copy link

Have my sites folder www in my /Username/myusername/www/sites/*. When i visit home.dev I get the 404 Error. Any tips?

Thanks!

@JayGreentree
Copy link

JayGreentree commented Jul 2, 2016

It needs to be /Username/myusername/sites/sitename replace sitename with whatever you want to call it.

@almeynman
Copy link

For those experiencing the same problem try to add "/Users/username" to paths in httpd-vhosts.conf

<Directory "/Users/almas/www">
  Options Indexes MultiViews FollowSymLinks
  AllowOverride All
  Require all granted
</Directory>

<Virtualhost *:80>
  VirtualDocumentRoot "/Users/almas/www/home/wwwroot"
  ServerName home.dev
  UseCanonicalName Off
</Virtualhost>

<Virtualhost *:80>
  VirtualDocumentRoot "/Users/almas/www/sites/%1/wwwroot"
  ServerName sites.dev
  ServerAlias *.dev
  UseCanonicalName Off
</Virtualhost>

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

3 participants