Welcome Guest, Not a member yet? Register   Sign In
Can't post with JQuery
#13

[eluser]Razican[/eluser]
I'm using JQuery v1.5.2. I have attached routes.php and .htaccess.
Code:
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
/*
| -------------------------------------------------------------------------
| URI ROUTING
| -------------------------------------------------------------------------
| This file lets you re-map URI requests to specific controller functions.
|
| Typically there is a one-to-one relationship between a URL string
| and its corresponding controller class/method. The segments in a
| URL normally follow this pattern:
|
|    example.com/class/method/id/
|
| In some instances, however, you may want to remap this relationship
| so that a different class/function is called than the one
| corresponding to the URL.
|
| Please see the user guide for complete details:
|
|    http://ellislab.com/codeigniter/user-guide/general/routing.html
|
| -------------------------------------------------------------------------
| RESERVED ROUTES
| -------------------------------------------------------------------------
|
| There area two reserved routes:
|
|    $route['default_controller'] = 'welcome';
|
| This route indicates which controller class should be loaded if the
| URI contains no data. In the above example, the "welcome" class
| would be loaded.
|
|    $route['404_override'] = 'errors/page_missing';
|
| This route will tell the Router what URI segments to use if those provided
| in the URL cannot be matched to a valid route.
|
*/

$route['default_controller'] = "welcome";
$route['404_override'] = '';

// URI like '/en/about' -> use controller 'about'
$route['^en/(.+)$'] = "$1";
$route['^es/(.+)$'] = "$1";
$route['^eu/(.+)$'] = "$1";

// '/en' and '/es' URIs -> use default controller
$route['^en$'] = $route['default_controller'];
$route['^es$'] = $route['default_controller'];
$route['^eu$'] = $route['default_controller'];


/* End of file routes.php */
/* Location: ./application/config/routes.php */


Messages In This Thread
Can't post with JQuery - by El Forum - 04-24-2011, 01:37 PM
Can't post with JQuery - by El Forum - 04-25-2011, 09:37 PM
Can't post with JQuery - by El Forum - 04-26-2011, 03:47 AM
Can't post with JQuery - by El Forum - 04-26-2011, 06:47 AM
Can't post with JQuery - by El Forum - 04-26-2011, 07:43 AM
Can't post with JQuery - by El Forum - 04-26-2011, 07:48 AM
Can't post with JQuery - by El Forum - 04-27-2011, 08:25 AM
Can't post with JQuery - by El Forum - 04-27-2011, 02:00 PM
Can't post with JQuery - by El Forum - 04-28-2011, 12:04 AM
Can't post with JQuery - by El Forum - 04-28-2011, 03:31 AM
Can't post with JQuery - by El Forum - 04-28-2011, 06:30 AM
Can't post with JQuery - by El Forum - 04-28-2011, 06:45 AM
Can't post with JQuery - by El Forum - 04-28-2011, 06:59 AM
Can't post with JQuery - by El Forum - 04-28-2011, 07:39 AM
Can't post with JQuery - by El Forum - 04-28-2011, 12:56 PM
Can't post with JQuery - by El Forum - 04-30-2011, 05:07 AM
Can't post with JQuery - by El Forum - 04-30-2011, 12:37 PM
Can't post with JQuery - by El Forum - 04-30-2011, 01:37 PM
Can't post with JQuery - by El Forum - 04-30-2011, 03:04 PM
Can't post with JQuery - by El Forum - 05-01-2011, 03:25 AM
Can't post with JQuery - by El Forum - 05-01-2011, 04:25 AM
Can't post with JQuery - by El Forum - 05-01-2011, 04:36 AM



Theme © iAndrew 2016 - Forum software by © MyBB