404 on gitlist

Skip to first unread message

Snd LP

Apr 6, 2016, 1:31:37 PM4/6/16
to GitList
not able to do

Not Found

The requested URL /path/to/gitlist/index.php/ was not found on this server.


# directive:


AddDefaultCharset UTF-8

<IfModule mime_magic_module>


    # The mod_mime_magic module allows the server to use various hints from the

    # contents of the file itself to determine its type.  The MIMEMagicFile

    # directive tells the module where the hint definitions are located.


    MIMEMagicFile conf/magic


Alias /gitlist /var/www/gitlist/

<Directory /var/www/gitlist>

  AllowOverride All



<Directory />

    AllowOverride none

    Require all denied



# Note that from this point forward you must specifically allow

# particular features to be enabled - so if something's not working as

# you might expect, make sure that you have specifically enabled it

# below.



# DocumentRoot: The directory out of which you will serve your

# documents. By default, all requests are taken from this directory, but

# symbolic links and aliases may be used to point to other locations.


DocumentRoot "/var/www/html/"


# Relax access to content within /var/www.


<Directory "/var/www">

    AllowOverride None

    # Allow open access:

    Require all granted


<Directory "/var/www/html">


    # Possible values for the Options directive are "None", "All",

    # or any combination of:

    #   Indexes Includes FollowSymLinks SymLinksifOwnerMatch ExecCGI MultiViews


    # Note that "MultiViews" must be named *explicitly* --- "Options All"

    # doesn't give it to you.


    # The Options directive is both complicated and important.  Please see

    # http://httpd.apache.org/docs/2.4/mod/core.html#options

    # for more information.


    Options Indexes FollowSymLinks


    # AllowOverride controls what directives may be placed in .htaccess files.

    # It can be "All", "None", or any combination of the keywords:

    #   Options FileInfo AuthConfig Limit


    AllowOverride all


    # Controls who can get stuff from this server.


    Require all granted





client = '/usr/bin/git' ; Your git executable path

default_branch = 'master' ; Default branch when HEAD is detached

repositories[] = '/home/git/in-sample/in-sample.git' ; Path to your repositories

                                           ; If you wish to add more repositories, just add a new line


;client = '"C:\Program Files (x86)\Git\bin\git.exe"' ; Your git executable path

;repositories[] = 'C:\Path\to\Repos\' ; Path to your repositories

; You can hide repositories from GitList, just copy this for each repository you want to hide

; hidden[] = '/var/data/git/BetaTest'


debug = false

cache = true

theme = "default"

title = ""

baseurl = '';

; If you need to specify custom filetypes for certain extensions, do this here


; extension = type

; dist = xml

; If you need to set file types as binary or not, do this here


; extension = true

; svh = false

; map = true

; set the timezone


; timezone = UTC

; format = 'd/m/Y H:i:s'

; custom avatar service


; url = '//gravatar.com/avatar/'

; query[] = 'd=identicon'

Reply all
Reply to author
0 new messages