The14thGOD Posted December 27, 2010 Share Posted December 27, 2010 Trying to get this to work on godaddy but it's not, any ideas? I've done a lot of googleing but all the options (turn multi-view off, rewrite base, follow syslinks) have failed. Anyone have any experience with this? This is just a CMS I made. It works on several other servers, so I'm a little lost as to why it's not working. I did do the mod_rewrite is enabled test and it worked so no idea whats the issue. I get the 500 internal server error. Here's the code: RewriteEngine On RewriteRule ^feed.xml feed.php [L] RewriteRule ^([a-z0-9-_]+)$ page.php?theurl=$1 [L] RewriteRule ^([a-z0-9-_]+)/([a-z0-9-_]+)$ page.php?theurl=$1/$2 [L] RewriteRule ^([a-z0-9-_]+)/([a-z0-9-_]+)/([a-z0-9-_]+)$ page.php?theurl=$1/$2/$3 [L] Thanks for any and all help. Justin p.s. if anyone who knows mod_rewrite better than me could help me condense that into one line, that would be amazing. I tried once before but failed and haven't tried since. Once this project gets launched it's one of my next goals. Quote Link to comment https://forums.phpfreaks.com/topic/222735-rewrite-rules-not-working-on-godaddy-server/ Share on other sites More sharing options...
The14thGOD Posted December 27, 2010 Author Share Posted December 27, 2010 godaddys apache version is 1.3.33 where all the other servers i've tested on are 2.x, looking into possible mod_rewrite issues, if anyone has any info please let me know! Quote Link to comment https://forums.phpfreaks.com/topic/222735-rewrite-rules-not-working-on-godaddy-server/#findComment-1151881 Share on other sites More sharing options...
strago Posted January 22, 2011 Share Posted January 22, 2011 Options +FollowSymLinks +Indexes RewriteEngine on RewriteBase / RewriteRule ^([^.]+)/([^.]+)/([^.]+)$ page.php?theurl=$1/$2/$3 [L] RewriteRule ^([^.]+)/([^.]+)$ page.php?theurl=$1/$2 [L] RewriteRule ^([^.]+)$ page.php?theurl=$1 [L] RewriteRule ^feed.xml feed.php [L] Quote Link to comment https://forums.phpfreaks.com/topic/222735-rewrite-rules-not-working-on-godaddy-server/#findComment-1163456 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.