Jump to content


Photo
- - - - -

Rewrite or htaccess problem?


  • Please log in to reply
6 replies to this topic

#1 Shady

Shady

    Regular Poster

  • Resource Authors
  • PipPipPip
  • 53 posts
  • IP.Board Version:2.3

Posted 09 August 2012 - 03:38 AM

Ok, I'm not sure if anyone has seen this before or might be able to provide some helpful suggestions.  The problem I have come up against is that suddenly the fURL formatted URL's no longer work.  I caught this when google analytics suddenly had 300+ 404 errors.  This http://pensfans.net/...hp?app=calendar used to be http://pensfans.net/community/calendar but now that second URL is 404.  My knowledge of htaccess is less than nothing so I have no idea what to try and fix.

Redirect to new friendly url format is set to yes
Using Path Info
use htaccess is set to yes and the file is uploaded to the forum root
PHP is running as a module
$INFO['use_friendly_urls']            =    '1'; is in the conf_global
AllowOverride All is showing in the vhost file for the domain.

I dont know if there is something I am missing or what.  I'd appreciate any and all help as this is frustrating the crap out of me.

Thanks
Posted Image

#2 AndyF

AndyF

    Cogito ergo sum

  • Staff
  • 1,148 posts
  • Location:Derby, UK
  • IP.Board Version:3.4
Contributor

Posted 09 August 2012 - 07:10 AM

Long shot but as you say its already enabled. Go back to Search Engine Optimisation and check these:

Redirect to new friendly URL = Yes

Use .htaccess modrewrite = Already at Yes ? :)

URL type = Normally 'Query String' , if its not change it. If it is try it at 'Path Info'

#3 Shady

Shady

    Regular Poster

  • Resource Authors
  • PipPipPip
  • 53 posts
  • IP.Board Version:2.3

Posted 09 August 2012 - 10:43 AM

Redirect to new friendly URL is set to yes. I have been using Path Info since I am running php as a module I did however try query string as well but no joy. And use htaccess mod_rewrite is set to yes with the file uploaded.

Sadly this all stopped working while I was on vacation and refusing to look at a computer. I did try just tossing junk into the htaccess file and that does cause it to stop loading any pages so it seems it sees the file. Wondering if for some reason mod_rewrite isn't working but not sure how to test that. That or possibly something in ispconfig3 that got changed in the last update.
Posted Image

#4 AndyF

AndyF

    Cogito ergo sum

  • Staff
  • 1,148 posts
  • Location:Derby, UK
  • IP.Board Version:3.4
Contributor

Posted 09 August 2012 - 11:31 AM

I'd agree with the latter it may well be a server configuration.

You can try this simple test > http://www.webasyst....write-test.html

Basically a new directory (don't use your existing ones, put it into a test dir or suchlike) with a rewrite rule in to display some content in a different file. If that fails then its certainly a server concern.

#5 Shady

Shady

    Regular Poster

  • Resource Authors
  • PipPipPip
  • 53 posts
  • IP.Board Version:2.3

Posted 10 August 2012 - 04:40 AM

Well, mod_rewrite is working, thats a plus I suppose. Was kind of hoping it wasnt as at least then I would have had somethign to work with. Not sure what else to try at this point. I'm sure I'm missing something somewhere.
Posted Image

#6 AndyF

AndyF

    Cogito ergo sum

  • Staff
  • 1,148 posts
  • Location:Derby, UK
  • IP.Board Version:3.4
Contributor

Posted 10 August 2012 - 07:46 AM

Not too sure what to suggest then , as usually it does work.

Carefully compare what is suggested in the rewrite description with what you have present.

#7 Shady

Shady

    Regular Poster

  • Resource Authors
  • PipPipPip
  • 53 posts
  • IP.Board Version:2.3

Posted 11 August 2012 - 09:35 AM

So on a whim I just re-uploaded all the board files and now its working again. I had upgraded to 3.3.4 right before leaving for vacation which is about the time it got messed up. Gonna guess a file got corrupted during the upgrade or something. Oh well, glad its working again. Thanks for the assist Andy!
Posted Image




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users