-
Notifications
You must be signed in to change notification settings - Fork 123
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
wrong URL path #4
Comments
I am having a similar issue, I have "sites" as my client folder ( /sites/clientname/ ). I get the homepage but once I click on a client., i get clientname.sites.dev |
In index.php change line 50 from: $siteroot = sprintf( 'http://%1$s.%2$s.%3$s', $project, $dirname, $tld ); to: $siteroot = sprintf( 'http://%1$s.%2$s', $project, $tld ); |
Thanks got it working. |
please help, newcomer here. I followed your instructions and i am able to go to home.dev. I created a folder in '~www/sites/basic' and i installed yii2 successfully. when i try to go to 'basic.dev' i got Not Found The requested URL / was not found on this server. |
You probably need to make sure the project root is '~www/sites/basic/www' Give that a try.
|
home.dev doesn't even work now. It redirect me to yahoo search page. |
nvm, got it working :) just because it didn't initialize the home.dev by visiting it after i set the dnsmasq to point at *.dev. Thanks dude, this is awesome 💃 |
Curious if anyone can share a fix for not adding .tld to files? For example it shows index.php.dev where it should only be index.php for the link. |
I have my clients inside a folder called Work, and this folder is on the Dropbox. I'm using VirtualHostX and MAMP. When i use the "home.dev" i got the list of my clients sites but when i click on one of them i have the wrong url path on my browser "http://clientwork.work.dev". I can't figure out why "work" is between the client folder and the local domain.
The text was updated successfully, but these errors were encountered: