Đang Thực Hiện

159184 htaccess file for apache

I need apache [url removed, login to view] and 2.0 htaccess file, which would do the following:

-if requested file1 or file2...

-check if set cookie1

-if set, redirect to url1/url2 (for file1/file2 respectively) (**)

-end

-check if set cookie2

-if set, return requested file and do nothing more

-end

-check if user IP belongs to IP range(*)

-if it is, show otherfile1 or otherfile2 (**) instead. URL stays the same

-end

-check for word "domain" in referring domain

-if it match, then check for word1/word2 in referer (for file1/file2 respectively) (**)

-if it match, set cookie1

-and redirect to url1/url2

-end

-if none of the above match, set cookie2, return requested file,

-end

(*) I will provide networks list in format, suitable for php regex ("192\.168", "10\.4\.","192\.168\.7")

(**) There will be no nubmers in actual file names, they will be more like

asd.html->[url removed, login to view]

qgy.html->[url removed, login to view]

jgdf.html->[url removed, login to view]

RewriteMap, maybe?

Kỹ năng: Bất kì công việc gì, HTML, PHP, Quản trị hệ thống, An ninh Web, Thiết kế trang web

Xem thêm: regex match list, regex is, referer url php, file2, regex, php regex, htaccess, php regex html, htaccess apache, return file, html regex, regex php, apache redirect domain, php htaccess, apache htaccess redirect, check file format, check file, apache redirect, php file match, design word file, referring url, apache htaccess, htaccess html file, apache url, htaccess redirect apache

Về Bên Thuê:
( 1 nhận xét )

Mã Dự Án: #1905373