I have hgweb.wsgi setup on an ubuntu server under apache2. Furthermore I have basic authing using the apache2 htpasswd approach. This all works nicely. However, we want to control what each user have access to and ACL seems to be the best approach. So inside the repos .hg folder I've created a hgrc and modified it according to the documentation for getting ACL up and running ( I've also enabled the extension ). The problem is I get no indication that the hgrc is used at all. If I add [ui] debug = true I still get nothing from the remote client. Sadly I'm not quite sure how to go about debugging this so any help would be much appreciated.
Can't seem to get ACL to work with hgweb.wsgi
341 Views Asked by Ylisar At
1
There are 1 best solutions below
Related Questions in MERCURIAL
- Permission denied hg-git
- Searching for the change history of partial file or path in Mercurial or TortoiseHg
- TeamCity - Create Project From URL
- Revset filter to show merges / splits of named branches
- How to set up default local push path in Mercurial?
- How do I configure global Mercurial options (like extensions) in Cloudbees Jenkins?
- mercurial - several projects and repositories
- Mercurial: are pre-commit hooks run for other committing commands than "hg ci"
- What is the taskArtifacts folder in my android projet inside my mercurial repository for?
- Mercurial get branch name by changeset
- How to reorder patches of git guilt patch series?
- How to commit many numbered old versions of a file
- Mercurial: Re-merge into branch without new changes
- Hg Mercurial - Upgrading code not in repository
- How do I make a revset alias for tags whose names follow a pattern?
Related Questions in APACHE2
- How to redirect an incoming request to specific serverName to different server in apache2?
- phpinfo() uses old version. What am I missing after "make install"?
- Why does open() fails every time with EAGAIN?
- Problems with mod_auth_token installation
- Where is that folder /etc/apache2/sites-available on mac os yosemite?
- Keel alive mysql, php and apache2
- Apache2- need multiple projects with same domain that use different path after domain name
- Create vhost-file from mysql via shell script
- How can I access localhost upload.php using apache2 proxy setting from my locally running AngularJS application
- Redirecting subdomain to its sub folder, Safari showing too many redirect occured trying to open
- Redirect http to https and then redirect it to subdomain's folder?
- OctoberCMS : Have to go to index.php
- Image Magick on OpenSUSE: Fatal error: Class 'Imagick' not found
- Vagrant synced folder issue on windows?
- How to process argument with dot in .htaccess?
Related Questions in ACL
- Logic for determining if a user has write access to a folder not working
- Phalcon PHP - Get all permitted resources
- Extracting file persmission data in Ansible
- How to set the read ACL on container in open stack swift such that allow Read for all users and deny for one user
- Really simple codeigniter access control
- How can I do following thing through any code,script
- Setting ACL for new Parse user in swift
- Check if current user has permission for pyramid service?
- C# Folder ACL's not applying
- How can I add a new host to an existent Oracle ACL?
- How should ACL work in a REST API?
- Securing the domain object with Spring ACL 3
- What is mask in HDFS folder permission
- SpringBoot SpringSecurity ACL @PostFilter
- design system with server controlled UI display in Angular(Front-end)+ Java(Back-end)
Related Questions in HGWEB
- Mercurial web interface readable folder names
- Mercurial / IIS / No module named osutil
- Why doesn't Mercurial support remote repository creations over HTTP?
- hgweb.cgi throws a 502 (bad gateway) when pushing
- hgweb.cgi throws a 502 (bad gateway) when pushing
- Unable to get Mercurial's hgweb.cgi working on IIS7
- Separate security directives for each repository in hgweb and Apache
- Mercurial+Apache on CentOS 6.4
- How can I set up multiple hgweb sites on one IIS server?
- Can't seem to get ACL to work with hgweb.wsgi
- mercurial ssl access allow pull BUT require authentication for push
- Mercurial: How to enable remote users to change their password?
- hgweb: display different repositories to different users?
- Is it possible to include a diff in hgweb's RSS feed?
- Creating remote bookmarks while pushing to hgweb server
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
To make sure that a
.hg/hgrcfile in a repository is being consulted add something noticable to the[web]section like:If you don't see those in the web interface your
.hg/hgrcisn't being consulted, and the most common reason for that is -- permissions. Remember that the.hg/hgrchas to owned by a user or group that is trusted by the webserver user (usuallyapacheorwww-dataor similar). If apache is running under the user apache then chown the .hg/hgrc file over to apache for ownership -- root won't do and htpasswd user is irrelevant.If that file is being consulted then you need to start poking around in the apache error logs. Turning on debug and verbose will put more messages into the apache error log, not into the remote client's output.