diff --git a/Add-a-Virtual-Host.md b/Add-a-Virtual-Host.md index fc4fa65..6037632 100644 --- a/Add-a-Virtual-Host.md +++ b/Add-a-Virtual-Host.md @@ -25,18 +25,16 @@ server { ## Apache Example: -``` - - ... standard virtual host ... +For Apache, you can use a standard virtual host, as long as your server supports PHP. All you need to do is add the following to a `.htaccess` file in your PHPCI `/public` directory. - - RewriteEngine On - RewriteBase / - RewriteCond %{REQUEST_FILENAME} !-f - RewriteCond %{REQUEST_FILENAME} !-d - RewriteRule . /index.php [L] - - +``` + + RewriteEngine On + RewriteBase / + RewriteCond %{REQUEST_FILENAME} !-f + RewriteCond %{REQUEST_FILENAME} !-d + RewriteRule . /index.php [L] + ``` ## Other Servers