Buddski Posted December 19, 2009 Share Posted December 19, 2009 Hey, Ive ALWAYS had trouble with .htaccess files Mainly, getting PHP to work in HTML always seems to make my site downloadable *sigh* Anyway. My current issue is, I am trying to make it so http://*insertword*.site.com will access infomation at http://site.com/index.php?word=*insertword* and it just isnt working for me.. Ive tried this and a few other variations to no avail.. Options +FollowSymlinks RewriteEngine on RewriteRule ^http://([^.]+)\.site\.com(.*) index.php?arc=$1$2 Any help would be greatly appreciated. Quote Link to comment https://forums.phpfreaks.com/topic/185697-htaccess-is-annoying-me/ Share on other sites More sharing options...
cags Posted December 19, 2009 Share Posted December 19, 2009 Try looking at this link. Specifically take notice of the first Note. Quote Link to comment https://forums.phpfreaks.com/topic/185697-htaccess-is-annoying-me/#findComment-980555 Share on other sites More sharing options...
Buddski Posted December 19, 2009 Author Share Posted December 19, 2009 I do believe you just saved me a WHOLE heap of cigarettes Thanks heaps for that.. Quote Link to comment https://forums.phpfreaks.com/topic/185697-htaccess-is-annoying-me/#findComment-980566 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.