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

Configuration compass on localserver MAMP #28

Open
rtraykoski opened this issue Jun 30, 2018 · 2 comments
Open

Configuration compass on localserver MAMP #28

rtraykoski opened this issue Jun 30, 2018 · 2 comments

Comments

@rtraykoski
Copy link

Hello everyone, i try install the compass server on my local server with mama and i have the message above when i go to "http://localhost/public/"

the message : Sorry, the page you are looking for could not be found.

i check .env file but i don't find the problem.

Any help for running nicely my server?

I like very much your project.

Robert.

@nitinthewiz
Copy link

@rtraykoski Robert, can you give some more information about the setup? What does your folder structure look like? What are the contents of the env file (without any sensitive information, of course)?

@nitinthewiz
Copy link

By the way @rtraykoski the most basic thing you need to know about this config -

You shouldn't be trying to go to localhost/public.

What you should do is to point the DocumentRoot to the public and just go to localhost

On Apache, this would look like -

DocumentRoot /var/www/compass/public

and on nginx this would look like -

root /var/www/html/compass/public;

where /var/www/compass is where your compass installation sits.

Once you've done that, when you go to

http://localhost

it'll actually take you to the /public folder and that will make the install work correctly.

If you don't know how to create or modify a virtual host file in MAMP (which is where you would specify the DocumentRoot), please see the following tut -

http://foundationphp.com/tutorials/vhosts_mamp.php

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