Overview
Comment:Fix .htaccess pour plugins avec MultiViews (merci @Fabien et @Sébastien)
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: ead6ede24a8c514d2b91806fe50facd23e461b97
User & Date: bohwaz on 2017-01-22 21:48:30
Other Links: manifest | tags
Context
2017-01-23
00:02
Fix: undefined index 'align' on line 666 check-in: 1925c75755 user: bohwaz tags: trunk
2017-01-22
21:48
Fix .htaccess pour plugins avec MultiViews (merci @Fabien et @Sébastien) check-in: ead6ede24a user: bohwaz tags: trunk
2017-01-19
21:34
Fix: message d'erreur si aucun plugin sélectionné (signalé par @Sébastien) check-in: c97a0ca3bb user: bohwaz tags: trunk
Changes

Modified src/www/.htaccess from [c992fe3d1c] to [270ad9f48c].



1
2
3
4
5
6
7
8
9
10
11
12


<IfModule mod_rewrite.c>
    RewriteEngine on
    RewriteRule admin/plugin/(.*?)/(.*) /admin/plugin.php?_p=$1&_u=$2 [QSA,L]
    RewriteRule f/([\d\w]+)/(.*) /file.php?id=$1&file=$2 [QSA,L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule .* /index.php [QSA,L]
</IfModule>

<IfModule !mod_rewrite.c>
    ErrorDocument 404 /index.php
</IfModule>
>
>












1
2
3
4
5
6
7
8
9
10
11
12
13
14
Options -MultiViews -Indexes

<IfModule mod_rewrite.c>
    RewriteEngine on
    RewriteRule admin/plugin/(.*?)/(.*) /admin/plugin.php?_p=$1&_u=$2 [QSA,L]
    RewriteRule f/([\d\w]+)/(.*) /file.php?id=$1&file=$2 [QSA,L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule .* /index.php [QSA,L]
</IfModule>

<IfModule !mod_rewrite.c>
    ErrorDocument 404 /index.php
</IfModule>