waynew Posted May 22, 2009 Share Posted May 22, 2009 The following worked on my localhost: Options +FollowSymLinks Options +Indexes RewriteEngine On RewriteRule ^profile/([0-9]+)(.*)\.html$ profile.php?uid=$1 RewriteRule ^skin/(.*)\.html$ bebo-skin.php?skin_url=$1 However, it's giving me 404s when I upload it to a test server that I'm using? Link to comment https://forums.phpfreaks.com/topic/159307-stumped/ Share on other sites More sharing options...
gffg4574fghsDSGDGKJYM Posted May 24, 2009 Share Posted May 24, 2009 404 mean page not found, htaccess or not. If the htaccess was working on the localhost i assume some file are missing on the server. Did you copy profile.php and bebo-skin.php in the same directory with the htaccess ? did you try to access the page directly or with the htaccess mod_rewrite ? Link to comment https://forums.phpfreaks.com/topic/159307-stumped/#findComment-841244 Share on other sites More sharing options...
corbin Posted May 24, 2009 Share Posted May 24, 2009 Try using a better path: /path/to/profile.php Link to comment https://forums.phpfreaks.com/topic/159307-stumped/#findComment-841251 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.