Rewrite or htaccess problem?
Started by Shady, Aug 09 2012 03:38 AM
6 replies to this topic
#1
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
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
#2
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'
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
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.
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.
#4
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.
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.
#7
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!
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users






Contributor








