acl-org / acl-org/acl-anthology

Rethink the .htaccess file

Open
#9,915 0 comments 0 reactions 1 assignee Claimed by @mbollmann View on GitHub
Dominant language
Python
Stars
797
Forks
408
Avg merge
3d 19h
Merged PRs (30d)
36

Description

I've commented before that I'm a bit concerned about .htaccess bloat based on performance considerations and the fact that [Apache's own documentation advises against using it](https://httpd.apache.org/docs/current/howto/htaccess.html#when) if possible. From that perspective, RewriteMaps are much preferable AFAIK.

I'm not sure how relevant these considerations are in our case, but I'm also not sure how to test/measure e.g. the long-term performance impact of this.

_Originally posted by @mbollmann in https://github.com/acl-org/acl-anthology/issues/9913#issuecomment-5608015886_

Contributor guide

No contributing guide indexed for this repository

Research direction

The issue only mentions `.htaccess` and suggests trying `RewriteMap`s, so start by locating the active `.htaccess` file and nearby Apache/deployment config usage. Map current rewrite/redirect rules to understand what behavior is controlled there before proposing any change. No tests are named, so define done as a concrete migration plan with explicit acceptance checks (same routing behavior and documented performance rationale) after the refactor.

Written by the indexing model from the issue text.

Assessment

Tech stack
apache
Domain
infrastructure
Issue type
Refactor
Difficulty
4/5
Estimated time
3-5 days
Activity status
Active
Clarity
Needs clarification
Newbie friendliness
28/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.