n000bie Posted October 16, 2009 Share Posted October 16, 2009 I have this in my .htaccess file RewriteEngine on RewriteBase / RewriteRule index_systems.php system.php I got this folder in localhost and all php files are inside this folder http://localhost/sjli Why this code is not working ? Can anyone help me please... Link to comment https://forums.phpfreaks.com/topic/177868-mod_rewrite-gives-404-not-found-error/ Share on other sites More sharing options...
cags Posted October 16, 2009 Share Posted October 16, 2009 Looks like your base is http://localhost/ which means the rule would need to Options +FollowSymLinks RewriteEngine on RewriteRule sjli/index_systems.php sjli/system.php Link to comment https://forums.phpfreaks.com/topic/177868-mod_rewrite-gives-404-not-found-error/#findComment-938019 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.