You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi guys,
I have Ubuntu 22.04 LTS and a current PHP version. The installation of gitlist worked. There were no problems that I noticed and the website works.
Apache 2 - Site Config:
<VirtualHost *:80>
ServerAdmin ***
DocumentRoot /var/www/***/public
ServerName ***<Directory /var/www/***/public>
Options +FollowSymlinks
AllowOverride All
Require all granted
<IfModule mod_dav.c>
Dav off
</IfModule>
SetEnv HOME /var/www/***/public
SetEnv HTTP_HOME /var/www/***/public
</Directory>
ErrorLog ${APACHE_LOG_DIR}/error.log
CustomLog ${APACHE_LOG_DIR}/access.log combined
</VirtualHost>
The config of gitlist:
I only changed the git directory to /data/git.
# GitList configurationparameters:
# Web application titletitle: GitList# Locale configurationlocale: en# Themetheme: default# Navigation linksnavigation:
-
label: Helptarget: https://github.com/klaussilveira/gitlist/wiki
-
label: Report an Issuetarget: https://github.com/klaussilveira/gitlist/issues# List of directories containing repositoriesdefault_repository_dir: /data/gitrepositories:
- '%env(default:default_repository_dir:DEFAULT_REPOSITORY_DIR)%'# List of repositories to excludeexclude_repositories:
- /var/example/gitlist# How many levels should be recursively traversed looking for repositoriesrepository_depth: '0'# Commits to show per pagecommits_per_page: 10# Blob viewer: simple, codemirror or acedefault_blob_viewer: ace# Show file size in treetree_show_file_size: false# Show last commit in treetree_show_last_commit: true# Default binary pathsgit_path: /usr/bin/githg_path: /usr/bin/hgsecret: '%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 namehttps_clone_url: 'https://gitlist.org/%s.git'# %s will be replaced by the repository name# Route validatorsvalid_repository_name: '[a-zA-Z0-9\-\_\.]+'#valid_commitish_format: '.+'valid_commitish_format: '[a-zA-Z0-9\_\.\-\/]+'
The website still works up to this point. However, as soon as I clone a git into the folder, everything goes wrong and I get an error 500. see picture
But as soon as I completely empty the folder again, everything is fine and the page works again.
What am I doing wrong?
The text was updated successfully, but these errors were encountered:
Hi guys,
I have Ubuntu 22.04 LTS and a current PHP version. The installation of gitlist worked. There were no problems that I noticed and the website works.
Apache 2 - Site Config:
The config of gitlist:
I only changed the git directory to
/data/git
.The website still works up to this point. However, as soon as I clone a git into the folder, everything goes wrong and I get an error 500. see picture
But as soon as I completely empty the folder again, everything is fine and the page works again.
What am I doing wrong?
The text was updated successfully, but these errors were encountered: