2012-02-16 21 views
5

मेरा कोडिनेटर स्थानीय मेजबान पर पूरी तरह से काम करता है लेकिन live.my codeigniter पर काम नहीं करता नवीनतम संस्करण है। मैं भी पुरानी कोशिश करता हूं। हमेशा मुझे रीडायरेक्ट पर नहीं मिला पृष्ठ दिखाएं।कोडिनेटर लाइव पेज पर काम नहीं करता है सर्वर पर त्रुटि नहीं मिली

routes.php सेटिंग

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

मैं भी server.i पर इनको अपलोड दोनों linux और विंडो में करने की कोशिश की है।

इनको

RewriteEngine on 
RewriteCond $1 !^(index\.php|resources|robots\.txt) 
RewriteCond %{REQUEST_FILENAME} !-f 
RewriteCond %{REQUEST_FILENAME} !-d 
RewriteRule ^(.*)$ index.php?/$1 [L,QSA] 
+0

आपकी स्थानीय और दूरस्थ एचटीएसीएसी लाइन 'रिवाइटबेस /' कैसे है? – Gerep

+0

हां, कृपया अपना '.htaccess' पोस्ट करें। – bottleboot

+0

htaccess मेरे प्रश्न में अपडेट किया गया। कृपया यह जांचें –

उत्तर

2

आप कर सकते हैं:

$config['base_url'] = 'http://'.$_SERVER['HTTP_HOST']; //you can also leave blank this CI tend to find this by himself 
$config['index_page'] = ''; 

$config['uri_protocol'] = 'AUTO'; //if not working try one of these: 
    'PATH_INFO'  Uses the PATH_INFO 
    | 'QUERY_STRING' Uses the QUERY_STRING 
    | 'REQUEST_URI'  Uses the REQUEST_URI 
    | 'ORIG_PATH_INFO' Uses the ORIG_PATH_INFO 

और इस .htaccess मैं कई साइटों

RewriteEngine On 
RewriteBase/
RewriteCond %{REQUEST_FILENAME} !-f 
RewriteCond %{REQUEST_FILENAME} !-d 
RewriteRule ^(.*)$ /index.php/$1 [L] 

के लिए उपयोग करता है, तो अभी तक काम नहीं कर रहा है, एक phpinfo(); का उपयोग करें और अगर जाँच की कोशिश mod_rewrite enabled

है
संबंधित मुद्दे