Em Andamento

php script - LAMP

I would like demo code put together in PHP/HTML (apache) that accomplishes the following:

1. Assume a user browses and requests a web page. Such as [url removed, login to view]

2. Write a .htaccess file that uses url rewriting to direct the request to /zone1/[url removed, login to view] which will contain all of the php code to accomplish the following:

3. the function in [url removed, login to view] looks for a file called [url removed, login to view] or whatever the requested file is that matches the HTML request. If it does not exist then direct the request to a 404 response. If [url removed, login to view] does exist, then [url removed, login to view] is dynamically created and served. It is dynamically created as follows:

3a. Includes .css files from [url removed, login to view], [url removed, login to view] (from the web root and from the zone), and bootstrap styles/code that is in mysite/script/...

3b. includes a header that is named zone1/[url removed, login to view] (note that the zone matches the request)

3c. includes the content of the zone1/[url removed, login to view] file

3d. include a file named zone1/[url removed, login to view]

4. Include .httaccess rule that blocks access to all .phtml files (serve 404)

Just to be clear: [url removed, login to view] could be any file name. Do not hard code it. Get the file name from the URL requested from the user.

So in other words, a user can browse to any file in zone1 and if there is a .phtml version of that file, it is processed to add the header and footer and served as a html file.

directory structure:

[url removed, login to view]

[url removed, login to view]

[url removed, login to view](bootstrap files)

[url removed, login to view]

[url removed, login to view]

[url removed, login to view]

[url removed, login to view]

[url removed, login to view]

Note that I am not a php developer so if these instructions and this process needs to be modified to best accomplish the task then that is ok.

Deliver the demo site in a single zip file.

Habilidades: Apache, HTML5, PHP, Arquitetura de software

Ver mais: web styles zip, template php web, php script web developer, php demo code, mystic web, get bootstrap template, developer php function, bootstrap template developer, bootstrap developer template, best web template 2016, 404 page template, 2016 best web template, include script php html, include pearl script php, php anonymize include request, php else include, php change include link, php change include, php shell include indexphp

Acerca do Empregador:
( 16 comentários ) Nashua, United States

ID do Projeto: #10503124

Premiar a:

uhjk

Hello, This is not a 1-hour project so I bid accordingly. I can complete this project in 2-3 hours. Thank you.

$50 USD em 1 dia
(400 Avaliações)
7.7

5 freelancers estão ofertando em média $71 para este trabalho

vw1387659vw

hello i have over 10 years of experience on web development with LAMP environnement. i believe that i am qualified to take the job. i guaratee a total satistaction with the result. your requirement is clear, just need Mais

$40 USD em 1 dia
(6 Comentários)
2.9
JawadIT

A proposal has not yet been provided

$111 USD in 5 dias
(0 Comentários)
0.0
vene4ka

Hi, "bootstrap styles/code that is in mysite/script/..." - means bootstrap framework files? URL can be 1-level from webroot "/zone1/myfile.html" or multilevel "/zone1/xyz/zone3/myfile.html"? I can start right now

$25 USD em 1 dia
(0 Comentários)
0.0
eeXBee

Hello, I’m a pro full stack symfony and PHP developer. I’m currently working at an IT company as Technical director of the whole company. I have some free time per day. I'm willing to earn some more money by serving Mais

$130 USD in 7 dias
(0 Comentários)
0.0