rulerofzu Posted July 24, 2010 Posted July 24, 2010 Depends on your apache config and whats going wrong. try RewriteCond %{HTTP_HOST} ^crimgame\.com rather than RewriteCond %{HTTP_HOST} ^crimgame\.com$ Quote
Danny696 Posted July 24, 2010 Posted July 24, 2010 If that doesn't work, try doing; RewriteCond %{HTTP_HOST} ^crimgame\.com?$ Quote
NarutoPRG.com Posted July 24, 2010 Posted July 24, 2010 Hmmm... I no this has nothing TO-DO with the thread, but is this Crimgame? I thoughts your name was Darren. I've never seen you use a capital (I) before. .htaccess has something todo with file security or something. As you can secure yourself. Why do you need our help? Please forgive me if it really is you. But its quite weird. :S Quote
Danny696 Posted July 24, 2010 Posted July 24, 2010 .htaccess has something todo with file security or something << incorect And mabey he's using gramatically correct english. :) Quote
Dominion Posted July 24, 2010 Posted July 24, 2010 to secure a file is fine crimgame is very good at that .htaccess you can do stuff like hide the .php and what is in say the "img" folder if your files are not secure it does not magicly make them so i think hes just trying to use it to make his site look that little bit better eg just crimgame.com rather then crimgame.com/register.php etc (may be wrong as i have not looked into it but i think thats what that does) Quote
NarutoPRG.com Posted July 24, 2010 Posted July 24, 2010 .htaccess has something todo with file security or something << incorect And mabey he's using gramatically correct english. Ahh.. I seen it once, but what, wrong. :pinch: Sorry Crim :) Quote
Zero-Affect Posted July 24, 2010 Author Posted July 24, 2010 I apologise i didn't actually specify the issue with it, I seem to be having internal file issues (a global file) is showing as white and my host said it could be due to the htaccess file (i seldom touch it) so i was wondering would anything be wrong with the error reporting section or something above to cancel it out. My real name is Paul, My unofficial middle name is Darren i think i went over this on my introduction. Quote
rulerofzu Posted July 25, 2010 Posted July 25, 2010 Correct me if im wrong. By the look of the code your doing a redirect to the www. So if you enter http://crimgame.com it will auto come up with www.crimgame.com Maybe try RewriteRule (.*) http://www.%1/$1 [R=301,L] which should redirect to the HTTP_HOST Quote
Zero-Affect Posted July 25, 2010 Author Posted July 25, 2010 sadly that simply redirects to http://www..com It seems the internal files ain't working due to my header.php consisting with a error (i think) but the error report ain't showing. Quote
Zero-Affect Posted July 25, 2010 Author Posted July 25, 2010 This is the section of the code which isn't working, no errors showing. php_value display_errors on Quote
CJ - Twitch Posted July 25, 2010 Posted July 25, 2010 Errm.. Try.. RewriteEngine On RewriteCond %{HTTP_HOST} ^crimgame\.com$ RewriteRule (.*) http://www.crimgame.com/$1 [R=301,L] Quote
Zero-Affect Posted July 25, 2010 Author Posted July 25, 2010 No different pal, i think it's my host being a bugger personally. Quote
Equinox Posted July 25, 2010 Posted July 25, 2010 I helped Paul go through some stuff that may help, but it's not working. It's the host that needs to fix this one I guess Quote
Zero-Affect Posted July 25, 2010 Author Posted July 25, 2010 Thank you all for your comments, my host finally replied to my support tickets. Quote
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.