Updated - Looking coder with experince with mod_rewrite

Cancelado Postado Jan 5, 2012 Pago na entrega
Cancelado Pago na entrega

****-----------------------------------------------**

**

**Background:**

Moodle is a Learning Management System (LMS), which basically is a CMS for eLearning. Like other CMS environments, Moodle ([url removed, login to view]) uses themes. In Moodle, each course can have a separate theme. The issue I'm about to describe is not a Moodle-specific thing, however, as it could apply to any CMS that use themes. Moodle just happens to be the CMS that I'm using.

**My Goal:**

Let's assume that my Moodle site is [url removed, login to view] and that it has two courses, Course 1 and Course 2, and that each one is using its own custom theme. I am looking to display different domain names for different courses within the SAME Moodle site, like this:

Site Level: [url removed, login to view]

Course 1: [url removed, login to view]

Course2: [url removed, login to view]

In other words, when I enter Course 1, rather than show a URL like [url removed, login to view], it should display www.course1.com. When I exit Course 1 and return to the front page (site level), the domain name should return to www.MyMoodleSite.com.

To achieve this behaviour, the themes will be modified (ie. add code, .htaccess file, whatever) to make use of mod_rewrite (or alternative module/script) to change the domain name while the theme is in use. In short, the theme would trigger the domain name change.

See "Detailed requirements" below for info about deliverables.

## Deliverables

**Setting the stage:**

Assumptions 1: My Moodle site uses 3 unique themes for 3 unique locations, like this:

? Site Level (uses theme A)

? Course 1 (uses theme B)

? Course 2 (uses theme C)

Assumption 2: The DNS for my 3 domains have been changes so that [[url removed, login to view]][1] and [[url removed, login to view]][2] will all point to [[url removed, login to view]][3]. This will allow courses to be accessed directly (outside [[url removed, login to view]][4]). Note that domains names are only examples.

**Modifying the Themes (Coder Duties):**

I need a coder to modify theme A, B and C by creating script (.htaccess or PHP) that will check the HOST header to see from which domain the page has been accessed and then mod_rewrite or serve the appropriate url. Moreover, the code should be as portable as possible so that it can be copied to other themes when needed (i.e. when creating [[url removed, login to view]][5]).

Note that [[url removed, login to view]][4], [[url removed, login to view]][1] and [[url removed, login to view]][2] are only examples. The real domain names will be sent to coder.

**----------------------------------------------------**

Linux Arquitetura de software Teste de Software Hospedagem Web Gestão de Site Teste de Website

ID do Projeto: #2698057

Sobre o projeto

1 proposta Projeto remoto Ativo em Jan 27, 2012

1 freelancer está oferecendo em média $1000 para esse trabalho

rajivsp

See private message.

$1000 USD in 7 dias
(26 Comentários)
5.1