File: apache.conf

package info (click to toggle)
nanourl 0.1-7
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 88 kB
  • ctags: 20
  • sloc: sh: 93; php: 50; makefile: 39; sql: 6
file content (15 lines) | stat: -rw-r--r-- 400 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15

Alias /nanourl /usr/share/nanourl
<Directory /usr/share/nanourl/>
        Options -Indexes
        DirectoryIndex create.php
        Order Allow,Deny
        Allow from All

        RewriteEngine on
        RewriteBase   /nanourl
        RewriteRule ^create.php$  create.php [L]
        RewriteRule ^redirect(.*)$  redirect$1 [L]
        RewriteRule ^(.....)$  redirect.php?num=$1 [L]
</Directory>