Welcome Guest, Not a member yet? Register   Sign In
Problem with Form Validation and Htaccess file
#26

[eluser]DavidHopkins[/eluser]
Hey Guys,

Sorry to say none of the above has worked =[

I have however got a firefox addon, Live HTTP headers and discovered something intresting.

When i use no htaccess file and make use of index.php i get the following output

Quote:http://client.domain.co.uk/index.php/login/ProcessLogin

POST /index.php/login/ProcessLogin HTTP/1.1
Host: client.domain.co.uk
User-Agent: Mozilla/5.0 (Windows NT 6.1; rv:12.0) Gecko/20100101 Firefox/12.0
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: en-gb,en;q=0.5
Accept-Encoding: gzip, deflate
Connection: keep-alive
Referer: http://client.domain.co.uk/
Cookie: ci_session=a:5:{s:10:"session_id";s:32:"7c2c22c673b1cb07a5644be3974ef21b";s:10:"ip_address";s:11:"2.24.115.72";s:10:"user_agent";s:65:"Mozilla/5.0+(Windows+NT+6.1;+rv:12.0)+Gecko/20100101+Firefox/12.0";s:13:"last_activity";i:1338322877;s:9:"user_data";s:0:"";}74b2f94a9d13cece028d47f7a066b3c6
Content-Type: application/x-www-form-urlencoded
Content-Length: 39
cid=g&email=gg&pass;=&checkSubmit=Log+In
HTTP/1.1 200 OK
Date: Tue, 29 May 2012 20:23:39 GMT
Server: Apache/2.2.20 (Ubuntu)
X-Powered-By: PHP/5.3.6-13ubuntu3.7
Vary: Accept-Encoding
Content-Type: text/html
Transfer-Encoding: chunked
X-OSSProxy: OSSProxy 1.3.333.307 (Build 333.307 Win32 en-us)(Feb 22 2012 18:20:37)
Connection: keep-alive

However when i use the htaccess and remove index.php i get this output

Quote:http://client.domain.co.uk/login/ProcessLogin

POST /login/ProcessLogin HTTP/1.1
Host: client.domain.co.uk
User-Agent: Mozilla/5.0 (Windows NT 6.1; rv:12.0) Gecko/20100101 Firefox/12.0
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: en-gb,en;q=0.5
Accept-Encoding: gzip, deflate
Connection: keep-alive
Referer: http://client.domain.co.uk/
Cookie: ci_session=a:5:{s:10:"session_id";s:32:"7c2c22c673b1cb07a5644be3974ef21b";s:10:"ip_address";s:11:"2.24.115.72";s:10:"user_agent";s:65:"Mozilla/5.0+(Windows+NT+6.1;+rv:12.0)+Gecko/20100101+Firefox/12.0";s:13:"last_activity";i:1338322877;s:9:"user_data";s:0:"";}74b2f94a9d13cece028d47f7a066b3c6
Content-Type: application/x-www-form-urlencoded
Content-Length: 39
cid=g&email=gg&pass;=&checkSubmit=Log+In
HTTP/1.1 404 Not Found
Date: Tue, 29 May 2012 20:24:53 GMT
Server: Apache/2.2.20 (Ubuntu)
X-Powered-By: PHP/5.3.6-13ubuntu3.7
Vary: Accept-Encoding
Content-Type: text/html
Transfer-Encoding: chunked
X-OSSProxy: OSSProxy 1.3.333.307 (Build 333.307 Win32 en-us)(Feb 22 2012 18:20:37)
Connection: keep-alive
----------------------------------------------------------

I seem to get a HTTP/1.1 404 Not Found, im not sure why this is occurring. It is probably a server issue maybe ? Or is it something htaccess can resolve?

Mnay Thanks

David


Messages In This Thread
Problem with Form Validation and Htaccess file - by El Forum - 05-27-2012, 05:00 AM
Problem with Form Validation and Htaccess file - by El Forum - 05-27-2012, 11:00 AM
Problem with Form Validation and Htaccess file - by El Forum - 05-27-2012, 03:12 PM
Problem with Form Validation and Htaccess file - by El Forum - 05-28-2012, 02:02 PM
Problem with Form Validation and Htaccess file - by El Forum - 05-28-2012, 02:15 PM
Problem with Form Validation and Htaccess file - by El Forum - 05-28-2012, 02:20 PM
Problem with Form Validation and Htaccess file - by El Forum - 05-28-2012, 02:37 PM
Problem with Form Validation and Htaccess file - by El Forum - 05-28-2012, 02:40 PM
Problem with Form Validation and Htaccess file - by El Forum - 05-28-2012, 03:26 PM
Problem with Form Validation and Htaccess file - by El Forum - 05-28-2012, 03:33 PM
Problem with Form Validation and Htaccess file - by El Forum - 05-28-2012, 03:40 PM
Problem with Form Validation and Htaccess file - by El Forum - 05-28-2012, 03:46 PM
Problem with Form Validation and Htaccess file - by El Forum - 05-28-2012, 03:48 PM
Problem with Form Validation and Htaccess file - by El Forum - 05-28-2012, 03:50 PM
Problem with Form Validation and Htaccess file - by El Forum - 05-28-2012, 03:53 PM
Problem with Form Validation and Htaccess file - by El Forum - 05-28-2012, 03:55 PM
Problem with Form Validation and Htaccess file - by El Forum - 05-28-2012, 03:57 PM
Problem with Form Validation and Htaccess file - by El Forum - 05-28-2012, 03:58 PM
Problem with Form Validation and Htaccess file - by El Forum - 05-28-2012, 03:59 PM
Problem with Form Validation and Htaccess file - by El Forum - 05-28-2012, 04:02 PM
Problem with Form Validation and Htaccess file - by El Forum - 05-28-2012, 04:03 PM
Problem with Form Validation and Htaccess file - by El Forum - 05-28-2012, 04:25 PM
Problem with Form Validation and Htaccess file - by El Forum - 05-28-2012, 07:21 PM
Problem with Form Validation and Htaccess file - by El Forum - 05-28-2012, 08:01 PM
Problem with Form Validation and Htaccess file - by El Forum - 05-28-2012, 08:25 PM
Problem with Form Validation and Htaccess file - by El Forum - 05-29-2012, 01:27 PM
Problem with Form Validation and Htaccess file - by El Forum - 05-29-2012, 04:15 PM
Problem with Form Validation and Htaccess file - by El Forum - 05-29-2012, 06:16 PM
Problem with Form Validation and Htaccess file - by El Forum - 05-29-2012, 06:43 PM
Problem with Form Validation and Htaccess file - by El Forum - 05-30-2012, 12:52 AM
Problem with Form Validation and Htaccess file - by El Forum - 05-30-2012, 02:07 AM
Problem with Form Validation and Htaccess file - by El Forum - 05-30-2012, 08:27 AM



Theme © iAndrew 2016 - Forum software by © MyBB