Forum Moderators: phranque
ForceType application/x-httpd-php
RewriteEngine On
Options FollowSymLinks MultiViews
RewriteCond %{REQUEST_URI}!\.(css¦gif¦jpg)
The RewriteCond here is simply to deal with any images or style sheets I may be using. With these directives I can create SEO friendly URLs like:
1.) [mysite.com...]
instead of:
2.) [mysite.com...]
Anyone with any search experience can see a spider will like the first URL better.
The new host's server is ignoring my .htaccess directives and to avoid recoding my entire site, I'd like to find a workaround.
Anyone know of any recent info affecting the ForceType directive in Apache 2.0.46 or a way I can coerce Apache to read my extentionless files correctly?
Thanks for your help!
cb
If I leave that in the .htaccess file, I get a 500 internal server error, if I comment it out the htaccess runs fine.
but I know next to nothing about the rewrite rules, maybe somebody else can help?
Are you sure that you are not getting .htaccess support? That would be strange, have you tried making a test gibberish htaccess file and seeing if you get an internal server error?