Try the first code block you posted, but instead of /index.php try using /(site)/index.php (obv replacing (site) with whatever your site folder is named).
More Related Contents:
- URL rewrite with .htaccess for wildcard domain
- CodeIgniter removing index.php from url
- CodeIgniter htaccess and URL rewrite issues
- .htaccess issues: No input file specified
- Directory index forbidden by Options directive
- .htaccess Redirect non-WWW to WWW preserving URI string
- Need assistance with regards to htaccess
- URL rewriting with PHP
- How to hide config files from direct access?
- How to check whether mod_rewrite is enable on server?
- How to hide .php extension in .htaccess [duplicate]
- how to change php version in htaccess in server
- Codeigniter cron job not working
- Secure files for download
- How can I use .htaccess to hide .php URL extensions?
- CodeIgniter – best place to declare global variable
- PHP – get base64 img string decode and save as jpg (resulting empty image )
- CodeIgniter – why use xss_clean
- PHP cookie problem – www or without www
- Upload multiple files in CodeIgniter
- Codeigniter session data lost after redirect
- Codeigniter CSRF – how does it work
- How to select rows where column value IS NOT NULL using CodeIgniter’s ActiveRecord?
- codeigniter check for user session in every controller
- Codeigniter CSRF valid for only one time ajax request
- Forbidden Error When Submitting Simple PHP Form
- How to make CodeIgniter accept “query string” URLs?
- Excel – Getting the Top 5 data of a column and their matching title but produces duplicates
- Using slugs in codeigniter
- How can I create custom SEO-friendly URLs in OpenCart?