Lines 123-132
Link Here
|
123 |
|
123 |
|
124 |
RewriteEngine On |
124 |
RewriteEngine On |
125 |
RewriteBase /api/ |
125 |
RewriteBase /api/ |
126 |
RewriteCond %{REQUEST_FILENAME} !-f |
126 |
RewriteCond %{REQUEST_URI} !^/api/v[0-1]+/app.pl |
127 |
RewriteCond %{REQUEST_FILENAME} !-d |
127 |
RewriteRule ^(v[0-9]+)/(.*)$ /api/$1/app.pl/api/$1/$2 [L] |
128 |
RewriteCond %{DOCUMENT_ROOT}/../api/$1/app.pl -f |
128 |
|
129 |
RewriteRule ^(.*?)/.* $1/app.pl/api/$0 [L] |
|
|
130 |
</Directory> |
129 |
</Directory> |
131 |
</IfModule> |
130 |
</IfModule> |
132 |
|
131 |
|
Lines 250-259
Link Here
|
250 |
|
249 |
|
251 |
RewriteEngine On |
250 |
RewriteEngine On |
252 |
RewriteBase /api/ |
251 |
RewriteBase /api/ |
253 |
RewriteCond %{REQUEST_FILENAME} !-f |
252 |
RewriteCond %{REQUEST_URI} !^/api/v[0-1]+/app.pl |
254 |
RewriteCond %{REQUEST_FILENAME} !-d |
253 |
RewriteRule ^(v[0-9]+)/(.*)$ /api/$1/app.pl/api/$1/$2 [L] |
255 |
RewriteCond %{DOCUMENT_ROOT}/../api/$1/app.pl -f |
|
|
256 |
RewriteRule ^(.*?)/.* $1/app.pl/api/$0 [L] |
257 |
</Directory> |
254 |
</Directory> |
258 |
</IfModule> |
255 |
</IfModule> |
259 |
|
256 |
|
260 |
- |
|
|