404 on gitlist

205 views
Skip to first unread message

Snd LP

unread,
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.


[/etc/httpd/conf/httpd.conf]


# 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

</IfModule>



Alias /gitlist /var/www/gitlist/

<Directory /var/www/gitlist>

  AllowOverride All

</Directory>

#


<Directory />

    AllowOverride none

    Require all denied

</Directory>


#

# 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>


<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

</Directory>


#


[/var/www/gitlist/config.ini]


[git]

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


; WINDOWS USERS

;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'


[app]

debug = false

cache = true

theme = "default"

title = ""

baseurl = 'http://172.17.122.206/gitlist';

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

[filetypes]

; extension = type

; dist = xml


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

[binary_filetypes]

; extension = true

; svh = false

; map = true


; set the timezone

[date]

; timezone = UTC

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


; custom avatar service

[avatar]

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

; query[] = 'd=identicon'

Reply all
Reply to author
Forward
0 new messages