Skip to content

ERR_CONNECTION_RESET while visiting public directory #939

@tasinone

Description

@tasinone

Hi, I am using Gitlist 2.0.0
I am using XAMPP in Windows 10 with PHP 8.2.3

I followed all the steps and also set the root to /public
I also gave full permission to the folders. But when I visit I get ERR_CONNECTION_RESET

Here is my config.yml file. please tell me what's wrong

# GitList configuration
parameters:
  # Web application title
  title: GitList

  # Locale configuration
  locale: en

  # Theme
  theme: default

  # Navigation links
  navigation:
    -
      label: Help
      target: https://github.com/klaussilveira/gitlist/wiki
    -
      label: Report an Issue
      target: https://github.com/klaussilveira/gitlist/issues

  # List of directories containing repositories
  default_repository_dir: D:/xampp/htdocs/gitlist/repo
  repositories:
    - 'D:/xampp/htdocs/gitlist/repo'

  # List of repositories to exclude
  exclude_repositories:
    - /var/example/gitlist

  # How many levels should be recursively traversed looking for repositories
  repository_depth: '0'

  # Commits to show per page
  commits_per_page: 10

  # Blob viewer: simple, codemirror or ace
  default_blob_viewer: ace

  # Show file size in tree
  tree_show_file_size: false

  # Show last commit in tree
  tree_show_last_commit: true

  # Default binary paths
  git_path: 'C:/Program Files/Git/bin/git.exe'

  hg_path: /usr/bin/hg

  secret: '%env(APP_SECRET)%'

  avatar_url: '//gravatar.com/avatar'
  avatar_config: []

  commit_date_format: 'Y-m-d H:i:s'
  commit_group_date_format: 'F j, Y'
  commit_list_date_format: 'Y-m-d H:i:s'

  ssh_clone_url: '[email protected]:%s.git' # %s will be replaced by the repository name
  https_clone_url: 'https://gitlist.org/%s.git' # %s will be replaced by the repository name

  # Route validators
  valid_repository_name: '[a-zA-Z0-9\-\_\.]+'
  #valid_commitish_format: '.+'
  valid_commitish_format: '[a-zA-Z0-9\_\.\-\/]+'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions