Bladeren bron

renamed .htaccess to .htaccess-dist and ignored .htaccess afterwards (#5428)

* renamed .htaccess to .htaccess-dist and ignored .htaccess afterwards. This
allows local changes to it without having a dirty checkout directory.

Signed-off-by: Roland Häder <roland@mxchange.org>

* Some fixes:
- removed non-neutral words
- added examples for Linux/Windows

* Better documentation and added note about **not** renaming the file.

Signed-off-by: Roland Häder <roland@mxchange.org>
tags/2018.09
Roland Häder 2 jaren geleden
committed by Hypolite Petovan
bovenliggende
commit
6da47936c6
3 gewijzigde bestanden met toevoegingen van 14 en 1 verwijderingen
  1. +4
    -1
      .gitignore
  2. +0
    -0
      .htaccess-dist
  3. +10
    -0
      doc/Install.md

+ 4
- 1
.gitignore Bestand weergeven

@@ -65,4 +65,7 @@ venv/

#ignore addons directory
/addons
/addon
/addon

#ignore .htaccess
.htaccess

.htaccess → .htaccess-dist Bestand weergeven


+ 10
- 0
doc/Install.md Bestand weergeven

@@ -135,6 +135,16 @@ For more information during the installation, you can use this command line opti

bin/console autoinstall -v

### Prepare .htaccess file

Copy .htaccess-dist to .htaccess (be careful under Windows) to have working mod-rewrite again. If you have installed Friendica into a sub directory, like /friendica/ set this path in RewriteBase accordingly.

Example:

cp .htacces-dist .htaccess

*Note*: Do **not** rename the .htaccess-dist file as it is tracked by GIT and renaming will cause a dirty working directory.

### Set up the worker

Set up a cron job or scheduled task to run the worker once every 5-10 minutes in order to perform background processing.


Laden…
Annuleren
Opslaan