Page 7 of 7

Posted: Fri 23. Dec 2005, 23:59
by frold

Posted: Tue 27. Dec 2005, 20:05
by fbatista
DeXXus wrote:
fbatista wrote:My Site running with rewrite-URL ON .
Example: http://ww2.estg.ipleiria.pt/~fbatista/p ... 0.1.0.html.

Code: Select all

$phpwcms["rewrite_url"]       = 1; 
$phpwcms["wysiwyg_editor"]    = 2 ; 
with file .htaccess in DIR phpWCMS

Code: Select all

php_flag magic_quotes_gpc Off
php_flag register_globals Off

RewriteEngine On

RewriteBase /~fbatista/phpwcms
RewriteRule ^([0-9]+)\.([0-9]+)\.([0-9]+)\.([0-9]+)\.([0-9]+)\.([0-9]+)\.html$ /~fbatista/phpwcms/index.php?id=$1,$2,$3,$4,$5,$6
RewriteRule ^(.+)\.html$ /~fbatista/phpwcms/index.php?$1 
If your "config.inc.php" is like this:

Code: Select all

// site values
$phpwcms["site"]            = "http://ww2.estg.ipleiria.pt/~fbatista/";
// paths
$phpwcms["root"]              = "phpwcms";
Shouldn't your entries be like this?

Without:
/~fbatista

Code: Select all

RewriteBase /phpwcms
RewriteRule ^([0-9]+)\.([0-9]+)\.([0-9]+)\.([0-9]+)\.([0-9]+)\.([0-9]+)\.html$ /phpwcms/index.php?id=$1,$2,$3,$4,$5,$6
RewriteRule ^(.+)\.html$ /phpwcms/index.php?$1 

Those alterations don't solve the problem.

Posted: Mon 9. Jan 2006, 16:08
by frold
A new version can be found here and a supported there: http://www.phpwcms.de/forum/viewtopic.p ... highlight=