Page 1 of 1

Rewrite function - 404 error

Posted: Tue 27. Jul 2004, 20:05
by fazer6
I'm new to all of this and have searched through the forum trying various solutions but can't seem to get the url rewrite to work.
I have re-named the _.htaccess which is in the subfolder to .htaccess.
I have copied and pasted the extra info into the .htaccess
I have changed the function url search part of the front.func.inc.php
My public_html and /cms folders are 755
I have made sure in the front.func.inc.php I have the folder info.

I'm only just testing this to see how it all works and when I click on one of the links on the menu it is still trying to find http://www.mydomain.com/cms/3.0.0.1.0.0.htm

What've I done wrong?

Posted: Tue 27. Jul 2004, 21:03
by Paradroid
Hi fazer6,

what Version do you use ? In the current version you don't need to change anything in front.func.inc.php ! You just have to rename the _.htaccess and change the values, if you use a folder. Then be sure to set

Code: Select all

$phpwcms["rewrite_url"]       = 1;        //whether URL should be rewritable
in your conf.inc.php

cu

Posted: Wed 28. Jul 2004, 09:44
by fazer6
It's version 1.1, I just installed it through fantastico.

I've changed the conf.inc.php value to 1, sorry forgot to say that before.

Posted: Wed 28. Jul 2004, 09:46
by Pappnase
hello fazer

if you not afraid to do this. then update to the latest release. :wink:
http://www.phpwcms.de/index.php?id=38,0,0,1,0,0

then you have more feat. and all new contentparts.

Posted: Thu 29. Jul 2004, 14:48
by fazer6
Pappnase you read me like a book, still i guess i'll just have to have a go and see what happens. at least at the moment i don't have any real content in my site so this is the perfect opportunity to try an upgrade, fingers crossed

Posted: Thu 29. Jul 2004, 15:06
by Pappnase
fazer6 wrote:Pappnase you read me like a book, still i guess i'll just have to have a go and see what happens. at least at the moment i don't have any real content in my site so this is the perfect opportunity to try an upgrade, fingers crossed
hello

i like also to repeat myself! if you can use the new conf.inc.php cos there a few new lines in it. so please try to edit the new conf.inc.php manually