big problem with mod_rewrite |
[eluser]jparent[/eluser]
Hi I move my application from localhost to my hostsite (www.vigilant.es/vigilant/) and when my application was in localhost it removes de index.php correctly but now in www.vigilant.es/vigilant/ I need to add index.php to move to the other controllers like www.vigilant.es/vigilant/index.php/other_controller. this are my mods loaded, look mod_rewrite is enabled. core mod_win32 mpm_winnt http_core mod_so mod_access mod_actions mod_alias mod_asis mod_auth mod_autoindex mod_cgi mod_dir mod_env mod_headers mod_imap mod_include mod_info mod_isapi mod_log_config mod_mime mod_negotiation mod_rewrite mod_setenvif mod_userdir sapi_apache2 My php version is: 4.4.3 My apache version is: Apache/2.0.59 under Win32 XP My .htacces is <IfModule mod_rewrite.c> RewriteEngine On RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteCond $1 !^(index\.php|img|img_public|css|js|\.txt|fckeditor|docs) RewriteRule ^(.*)$ /vigilant/index.php/$1 [L] </IfModule> <IfModule !mod_rewrite.c> ErrorDocument 404 index.php </IfModule> My conf.php file have: $config['base_url'] = "http://www.vigilant.es/vigilant/"; $config['index_page'] = ""; $config['uri_protocol'] = "AUTO"; ¿Could you help me? |
Messages In This Thread |
big problem with mod_rewrite - by El Forum - 10-07-2009, 05:53 AM
big problem with mod_rewrite - by El Forum - 10-07-2009, 07:06 AM
big problem with mod_rewrite - by El Forum - 10-07-2009, 09:31 AM
big problem with mod_rewrite - by El Forum - 10-07-2009, 09:34 AM
big problem with mod_rewrite - by El Forum - 10-07-2009, 09:36 AM
|