-
Notifications
You must be signed in to change notification settings - Fork 228
/
.htacess.new
42 lines (36 loc) · 1.45 KB
/
.htacess.new
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
#<Files ~ "[^(unavailable\.html|\.gif|\.css)]$>
#AuthName "Site currently unavailable, sorry."
#AuthType Basic
#require valid-user
#AuthUserFile /home/admin/free-lance.ru/html/.htpwd
#</Files>
ErrorDocument 404 /404.php
ErrorDocument 403 /403.php
ErrorDocument 401 /unavailable.html
php_flag register_globals Off
DirectoryIndex index.phtml index.php
RewriteEngine On
RewriteCond %{HTTP_REFERER} ^http://project/users/[^/]+/[^\.]+\.swf$
RewriteRule ^(.*)$ /xui.php [L]
RewriteRule ^new/([^/]+)[/]?$ /news/?v=$1 [NS,L]
## ¤«ï ®¢®£®¤¨å ¯®§¤à ¢«¥¨©
RewriteRule ^news/([^/]+)[/]?$ /news/?date=$1 [NS,L]
## ¤«ï ®¢®á⥩
RewriteRule ^contacts/([^/]+)[/]?$ /contacts/?p=$1 [NS,L]
## ¤«ï ª®â ªâ®¢
RewriteRule ^users[/]?$ /freelancers/ [R]
##
RewriteRule ^users/(([^/]{1,2})[^/]+)/resume/([^/]*)$ /users/$2/$1/resume/$3
## ¤«ï ¯àאַ© § £à㧪¨ ä ©«®¢
RewriteRule ^users/(([^/]{1,2})[^/]+)/upload/([^/]*)$ /users/$2/$1/upload/$3
## ¤«ï ¯àאַ© § £à㧪¨ ä ©«®¢
RewriteRule ^users/([^/]+)/addnote/$ /user/addnote.php?user=$1
## ¤«ï § ¬¥â®ª
RewriteRule ^users/([^/]+)/uploads/([^/]*)[/]?$ /user/uploads/index.php?user=$1&p=$2
## ¤«ï ¯¨á âì\§ £à㧨âì
RewriteRule ^users/([^/]+)/setup[/]?([^/]*)[/]?([^/]*)[/]?$ /user/setup/index.php?user=$1&p=$2&target=$3
## ¤«ï áâ஥ª
RewriteRule ^users/([^/]+)/([^\.]+)\.php$ /user/$2.php?user=$1 [QSA]
## ¤«ï viewproj
RewriteRule ^users/([^/]+)/([^/]*)[/]?$ /user/index.php?user=$1&p=$2 [NS,QSA]
## ¤«ï ¯à®á¬®âà ¨