Web Server

Apache & virtual host

To setup apache, setup a virtual host to point to the public/ directory of the project and you should be ready to go! It should look something like below:

<VirtualHost *:80>
    ServerName myshineisp.com
    ServerAlias www.myshineisp.com
    DocumentRoot /path/to/shineisp/public
    SetEnv APPLICATION_ENV "development"
    <Directory /path/to/shineisp/public>
        DirectoryIndex index.php
        AllowOverride All
        Order allow,deny
        Allow from all
    </Directory>
</VirtualHost>

Then you have to edit your own hosts file. You can find it here:

  • Linux /etc/hosts
  • Windows C:\Windows\System32\drivers\etc\
  • MAC /etc/hosts

Add this simple line at the end of the file:

127.0.0.1      www.myshineisp.com myshineisp.com

Then you have to restart the web server, open your preferite browser and type: http://www.myshineisp.com

results matching ""

    No results matching ""