Wow.
You are the kind of arrogant biggot that give “IT people” a bad name. You’re the kind of guy a company employees and sticks him in dark room to sit down, shut up, make sure everything works and for god’s sake don’t talk to anyone.
Let’s have a look at my original post -
This isn’t my strong area. I’ve pulled down a friend’s website and have set it up on my development server so I can mess around with it.
The site’s original .htaccess looked like this:
You see that? I didn’t write it. Its come from a live, working website. And “this isn’t my strong area”
But I have it hosted on an apache temporary URL that looks like this:
http://myserver/~sitename
You immediately come back asking me all questions related to htaccess files that I naturally have no idea about.
You say “If it’s up and works for the current site, what’s the problem?”
See here:
All I want to do is adjust the htaccess so the site works at the new location.
Is that hard to understand?
More important, if you’re using someone else’s code, WHY DON’T YOU KNOW WHAT IT’S DOING?
It rewrites php URLs to SEO friendly URLs. I know what it does.
You then tell me phpinfo isn’t good enough for you and rewrite the code with red comments all through it like my primary school homework.
You know what I did in the end? I just put the site on a subdomain and made these changes:
RewriteCond %{HTTP_HOST} !^sitename\\.SUBDOMAIN\\.com.au
RewriteRule ^(.*)$ http://sitename.SUBDOMAIN.com.au/$1 [R=permanent,L]
And guess what smarty pants? It works. So I’m sure there was a simple solution despite all the validation errors in the htaccess but you felt this was a great time to beat your chest or keyboard or something like that? And the funny thing is I know nothing about this stuff but I knew the first two lines I posted were where I could fix my problem.
I was completely appreciative and courteous to you for taking interest in my thread. If you don’t want to help people, just do everyone a favour and piss off.