Find Jobs
Hire Freelancers

Grant access to sub-directories by IP addresses

$30-250 USD

취소됨
게시됨 10년 이상 전

$30-250 USD

제출할때 지불됩니다
We need to grant access to all sub-directories by using a number of IP addresses once only. We already do this by having the IP addresses in multiple .htaccess files, but this is time-consuming to create and becomes difficult to maintain. Current: jnirs |-v1 .htaccess with multiple IP addresses |-v2 .htaccess with multiple IP addresses |... |-v21 .htaccess with multiple IP addresses Possible solution: jnirs .htaccess with multiple IP addresses |-v1 .htaccess using IP addresses from level above |-v2 .htaccess using IP addresses from level above |... |-v21 .htaccess using IP addresses from level above Other possible solutions are welcomed, but cannot include access to server-level files such as httpd.conf. PREVIOUS JOB DESCRIPTION LEFT FOR BACKGROUND INFORMATION ONLY We publish subscription periodicals and use .htaccess files to allow only subscribers access to the PDFs of individual articles. Access can be granted by IP address(es) or username/password. There are three periodicals stretching back up to 24 years; some subscribers may only have access to one periodical/year, others to many. The generation of the individual .htaccess files is automated and the whole system works for us as far as it goes. However, it is essential for us that our content is indexed by Google Scholar, and they require that we redirect requests to the full-text PDF that they index to an abstract page which can be read by anyone, regardless of whether they are subscribers. The abstract pages already exist. I have mod_rewrite code for use within an .htaccess that performs the redirection, however, this interferes with the .htaccess files in individual sub-directories that controls access to the PDFs within those directories. I need someone to make the necessary changes to grant/deny access to particular sub-directories when that request is made from our server but redirect it when it comes from a Google server. The difficulty lies in overcoming the interference between two .htaccess files or in constructing a similar but alternative access control system that overcomes the problem. I can provide examples of the .htaccess files, including the mod_rewrite code, the directory structure and further information on request. The server is a Managed Virtual Server and access to server-level files such as [login to view URL] is not possible. The hosting company would make a one-off change to such files, but we need to be able to update IP addresses, usernames etc. for existing as well as new subscribers, and such continual change would not be an option. The server is a Linux-based server running Apache, PHP and MySQL (version numbers available on request if needed). The website is based on Drupal 7, BUT the database that runs this periodical system is separate from Drupal and uses custom PHP code, albeit running within a Drupal node. I do not think that Drupal experience is necessary or relevant for this job, but I mention it for completeness.
프로젝트 ID: 5082744

프로젝트 정보

제안서 1개
원격근무 프로젝트
활동 중 11년 전

돈을 좀 벌 생각이십니까?

프리랜서 입찰의 이점

예산 및 기간 설정
작업 결과에 대한 급여 수급
제안의 개요를 자세히 쓰세요
무료로 프로젝트에 신청하고 입찰할 수 있습니다

고객에 대한 정보

국기 (EGYPT)
Cairo, Egypt
4.9
160
8월 6, 2008부터 회원입니다

고객 확인

감사합니다! 무료 크레딧을 신청할 수 있는 링크를 이메일로 보내드렸습니다.
이메일을 보내는 동안 문제가 발생했습니다. 다시 시도해 주세요.
등록 사용자 전체 등록 건수(일자리)
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
미리 보기 화면을 준비 중...
위치 정보 관련 접근권이 허용되었습니다.
고객님의 로그인 세션이 만료되어, 자동으로 로그아웃 처리가 되었습니다. 다시 로그인하여 주십시오.