Internal Server Error Codeigniter .htaccess
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company Business Learn more about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 4.7 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up Codeigniter 500 internal server error due to index.php up vote 4 down vote favorite I am working with codeigniter framework, and as I upload it to a host, it gave me a 500 Internal error. But when I add index.php to config.php , it worked. What should I do? In my .htaccess I have this: RewriteEngine On RewriteBase /ci-framework/ And also when I clean /ci-framework/ from end of RewriteBase it doesn't work. Thank you very much. php .htaccess codeigniter internal-server-error share|improve this question asked Jan 30 '15 at 23:12 vahid najafi 7411522 1 make sure your wamp rewrite_modue is on.. in APACHE > APACHE Modules > rewrite_module –Hardik Ranpariya Jan 31 '15 at 4:03 @HardikRanpariya I just cleaned RewriteBase /ci-framework/ and it works. Any way Thank you :) –vahid najafi Jan 31 '15 at 8:55 add a comment| 1 Answer 1 active oldest votes up vote 3 down vote accepted You don't need to add index.php in config.php file. Make sure you have following line in .htaccess file:
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company Business Learn more about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 4.7 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up Internal Server Error in Codeigniter htaccess up vote 0 down vote favorite I am new to codeigniter, I just want to switch from one page to another. I http://stackoverflow.com/questions/28246168/codeigniter-500-internal-server-error-due-to-index-php am using localhost and wamp server In config file: $config['index_page'] = 'index.php'; I change it to $config['index_page'] = ''; In .htaccess file: Deny from all I change it to RewriteEngine on RewriteCond $1 !^(index\.php|images|stylesheets|scripts|robots\.txt) RewriteRule ^(.*)$ index.php/$1 [L] and save this file in application, system and root directory. Thanks in advance, kindly help me, really need help. php apache .htaccess codeigniter localhost share|improve this question asked Dec 20 '14 at 16:06 khan xada 7017 add a comment| http://stackoverflow.com/questions/27581970/internal-server-error-in-codeigniter-htaccess 2 Answers 2 active oldest votes up vote 0 down vote accepted make sure mod_rewrite is enabled in php.ini file after that use this following into your htaccess file. # Use PHP5CGI as default
τη γλώσσα σας. Κλείσιμο Μάθετε περισσότερα View this message in English Το YouTube εμφανίζεται στα Ελληνικά. Μπορείτε να αλλάξετε αυτή την προτίμηση παρακάτω. Learn more https://www.youtube.com/watch?v=Q9Hrf01-1oY You're viewing YouTube in Greek. You can change this preference below. Κλείσιμο Ναι, θέλω να τη κρατήσω Αναίρεση Κλείσιμο Αυτό το βίντεο δεν είναι διαθέσιμο. Ουρά παρακολούθησηςΟυράΟυρά παρακολούθησηςΟυρά Κατάργηση όλωνΑποσύνδεση Φόρτωση... Ουρά παρακολούθησης Ουρά __count__/__total__ codeigniter problem : 500 internal server Internal server error Ambar Hasbiyatmoko ΕγγραφήΕγγραφήκατεΚατάργηση εγγραφής8585 Φόρτωση... Φόρτωση... Σε λειτουργία... Προσθήκη σε... Θέλετε να το δείτε ξανά αργότερα; Συνδεθείτε για να προσθέσετε το βίντεο σε playlist. Σύνδεση Κοινή χρήση Περισσότερα Αναφορά Θέλετε να αναφέρετε το βίντεο; Συνδεθείτε για να internal server error αναφέρετε ακατάλληλο περιεχόμενο. Σύνδεση Στατιστικά στοιχεία 2.930 προβολές 4 Σας αρέσει αυτό το βίντεο; Συνδεθείτε για να μετρήσει η άποψή σας. Σύνδεση 5 0 Δεν σας αρέσει αυτό το βίντεο; Συνδεθείτε για να μετρήσει η άποψή σας. Σύνδεση 1 Φόρτωση... Φόρτωση... Φόρτωση... Η δυνατότητα αξιολόγησης είναι διαθέσιμη όταν το βίντεο είναι ενοικιασμένο. Αυτή η λειτουργία δεν είναι διαθέσιμη αυτήν τη στιγμή. Δοκιμάστε ξανά αργότερα. Δημοσιεύτηκε στις 4 Δεκ 2015ci : how to solving 500 internal server error in codeigniter Κατηγορία Πρόσωπα και ιστολόγια Άδεια Τυπική άδεια YouTube Εμφάνιση περισσότερων Εμφάνιση λιγότερων Φόρτωση... Διαφήμιση Αυτόματη αναπαραγωγή Όταν είναι ενεργοποιημένη η αυτόματη αναπαραγωγή, το επόμενο προτεινόμενο βίντεο παίζει αυτόματα. Επόμενο PHP codeigniter HTTP Error 500 - Fixed - Διάρκεια: 4