dancryer / PHPCI

PHPCI is a free and open source continuous integration tool specifically designed for PHP.
BSD 2-Clause "Simplified" License
2.42k stars 441 forks source link

public/.htaccess file not created by install script #169

Closed crazycodr closed 10 years ago

crazycodr commented 10 years ago

It seems the .htaccess file that should contain something like:

<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>

(taken from Wordpress) is not present after installing PHPCI. 3 bugs in my first install... Doesn't bid well for the future :(

dancryer commented 10 years ago

Hi @crazycodr - We deliberately didn't include an .htaccess file because not everyone uses Apache, and those that do often prefer to put the config directly into the vhost.

There is a sample .htaccess file included in the installation instructions here: https://github.com/Block8/PHPCI#installing-from-github