View difference between Paste ID: xbFme8eJ and BGp3ALxy
SHOW: | | - or go back to the newest paste.
1-
Request URL:http://projectnirvana.runcode/internet-items/index
1+
Request URL:http://projectnir.runcode/internet-items/index
2
Request Method:GET
3
Status Code:302 Found
4
Request Headersview parsed
5
GET /internet-items/index HTTP/1.1
6
Host: projectnir.runcode
7
Connection: keep-alive
8
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
9
User-Agent: Mozilla/5.0 (X11; Linux i686) AppleWebKit/537.31 (KHTML, like Gecko) Chrome/26.0.1410.63 Safari/537.31
10
Referer: http://projectnir.runcode/employees/configurations
11
Accept-Encoding: gzip,deflate,sdch
12
Accept-Language: en-US,en;q=0.8,te;q=0.6,az;q=0.4
13
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3
14
Cookie: nir=5klnq7b4ka6n1h2i2t8temqgl3
15
Response Headersview parsed
16
HTTP/1.1 302 Found
17
Date: Fri, 31 May 2013 09:56:51 GMT
18
Server: Apache/2.2.22 (Ubuntu)
19
X-Powered-By: PHP/5.3.10-1ubuntu3.6
20
Expires: Thu, 19 Nov 1981 08:52:00 GMT
21
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
22
Pragma: no-cache
23
Location: /employees/index
24
Vary: Accept-Encoding
25
Content-Encoding: gzip
26
Content-Length: 20
27
Keep-Alive: timeout=5, max=100
28
Connection: Keep-Alive
29
Content-Type: text/html
30
31
Controller page:
32
------------------
33
<?php
34
35
require_once dirname(__FILE__) . '/../../library/Nir/Controller/Action.php';
36
class InternetItemsController extends Nir_Controller_Action
37
{
38
39
    public function init()
40
    {
41
        parent::init();
42
    }
43
44
    public function indexAction()
45
    {
46
        // action body
47
    }
48
49
50
}
51
52
View page in internet-items folder(internet-items/index.phtml)
53
------------------------------------------------------------------
54
<br /><br />
55
<div id="view-content">
56
	<p>View script for controller <b>InternetItems</b> and script/action name <b>index</b></p>
57
</div>