Forum Moderators: phranque

Message Too Old, No Replies

Bad Need of htaccess help

         

mkingsle

1:54 pm on Mar 28, 2008 (gmt 0)

10+ Year Member



My site has been acting up for a couple weeks or so and I am not sure what is going on. Just a quick background. My site is an Amazon affiliate site whereby I use pricing information from Amazon via an xml feed and parse it with php, using php5. My site also is using extensionless urls and I have the need to do away with conical issues. Everything was working fine, but now I am having major troubles. What I have is an include file that automatically generates a page title from it's file name. That is a variable that I not only use in the meta tag for title and description, but I use it for an <h1> tag and in two other spots.

The error that I am getting is not really a page error, but what it is doing is instead of pulling the page title, it is populating "X-httpd-php5"

It's got to be a htaccess problem, but not sure what. I haven't chnaged anything and it was working fine a couple weeks ago. Here's my file:

DefaultType application/x-httpd-php
AddHandler x-httpd-php5 .php
AddHandler x-httpd-php .php4
Options +FollowSymLinks
RewriteEngine on
RewriteCond %{THE_REQUEST} ^[A-Z]{3,9}\ /.*index\.php?\ HTTP/ [NC]
RewriteRule ^(.*)index.php?$ http://www.example.com/$1 [R=301,L]
RewriteCond %{HTTP_HOST} ^example\.com
RewriteRule ^(.*)$ http://www.example.com/$1 [R=permanent,L]
rewriterule ^ama/([A-Za-z0-9]+)$ /global/amazon.php?id=$1

Any help is appreciated.

Michael

[edited by: jdMorgan at 2:29 pm (utc) on Mar. 28, 2008]
[edit reason] example.com [/edit]

wilderness

4:22 pm on Mar 28, 2008 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



See if these threads [google.com] help:

[edited by: jdMorgan at 5:21 pm (utc) on Mar. 28, 2008]
[edit reason] embedded link to fix side-scroll [/edit]