Summary: | CREATE: allow .htaccess for our site in the apache config | ||
---|---|---|---|
Product: | freedesktop.org | Reporter: | Jon Phillips <jon> |
Component: | Administration | Assignee: | fd.o Admin Massive <sitewranglers> |
Status: | RESOLVED FIXED | QA Contact: | |
Severity: | normal | ||
Priority: | high | ||
Version: | unspecified | ||
Hardware: | x86 (IA32) | ||
OS: | Linux (All) | ||
URL: | http://create.freedesktop.org | ||
Whiteboard: | |||
i915 platform: | i915 features: |
Description
Jon Phillips
2006-10-01 22:25:37 UTC
as per the other one ... anything specific we can add? Yes, please add this block. It would be much easier if you just allowed .htaccess as these might break our wiki. Please tell me though if this gets enabled and/or you turn on what I originally asked for. Thanks! ### RewriteEngine on # anything that contains a dot without a colon should be left alone RewriteRule ^wiki/(edit)/(.*)$ /wiki/index.php?action=$1&title=$2 [L,QSA] RewriteRule ^wiki/insert/(.*)$ /wiki/index.php?action=edit&title=$1 [L,QSA] RewriteRule ^wiki/(watch)/(.*)$ /wiki/index.php?action=$1&title=$2 [L,QSA] RewriteRule ^wiki/(delete)/(.*)$ /wiki/index.php?action=$1&title=$2 [L,QSA] RewriteRule ^wiki/(protect)/(.*)$ /wiki/index.php?action=$1&title=$2 [L,QSA] RewriteRule ^wiki/(history)/(.*)$ /wiki/index.php?action=$1&title=$2 [L,QSA] RewriteRule ^wiki/[^:]*\. - [L] # anything that contains a slash without a colon should be left alone RewriteRule ^wiki/[^:]*\/ - [L] # redirect to main page RewriteRule ^wiki/*$ /wiki/index.php?title=Main_Page [L,QSA] # anything else is to be treated as a title RewriteRule ^wiki/(.+)$ /wiki/index.php?title=$1 [L,QSA] # anything that contains a slash is to be left alone i've added this block to create's apache config |
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.