Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Re: problem with txp or txd?... some help with redirecting needed...
the problem is that i get 500 errors with both
RewriteCond %{HTTP_HOST} ^(www\.)?imca\.neme\.org [NC]
RewriteRule ^/main/(.*)?$ http://neme-imca.org/$1 [R=301,L]
or this
RewriteCond %{HTTP_HOST} !imca.neme.org$
RewriteRule (.*) http://neme-imca.org/$1 [R=301,L]
I also get a 500 with
RewriteLog "my/full/path/to/rewrite.log"
RewriteLogLevel 9
here is my current htaccess again…
ErrorDocument 404 http://www.neme.org/oops.php
ErrorDocument 403 http://www.neme.org/oops403.php
RedirectMatch 301 /forum(.*) http://forum.neme.org/$1
SecFilterEngine On
SecFilterSelective "REQUEST_URI" "http://forum.neme.org/post.php" "allow,nolog"
SecFilterSelective REMOTE_ADDR ^xxx.xxx.x.xxx$ nolog,allow
#SecFilterEngine Off
#RewriteLog "/xx/xx/xx/rewrite.log"
#RewriteLogLevel 9
#DirectoryIndex index.php index.html
#Options +FollowSymLinks
#RewriteBase /relative/web/path/
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteCond %{HTTP_HOST} ^neme\.org$
RewriteRule (.*) http://www.neme.org/$1 [R=301,L]
#RewriteCond %{HTTP_HOST} !imca.neme.org$
#RewriteRule (.*) http://neme-imca.org/$1 [R=301,L]
RewriteCond %{REQUEST_FILENAME} -f [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^(.+) - [PT,L]
RewriteRule ^(.*) index.php
</IfModule>
#php_value register_globals 0
Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.
Offline
Re: problem with txp or txd?... some help with redirecting needed...
Yiannis, have you tried Zem’s Redirect Pro
I don’t know if it will do for your requirements, but may be worth a look.
Offline
Re: problem with txp or txd?... some help with redirecting needed...
hi peter
I don’t think that the plugin will help.
Having a txd account the change of url meant that i kept the database where it was, moved the txp folder to the new ‘folder’ , changed the config files and that was it… there is no ‘imca’ install now in the neme site…
Also… Alex does not accept any new subscriptions.
I just find it strange that whatever i try returns 500 errors… Maybe it is a txd issue in the end…
Last edited by colak (2007-07-01 06:47:52)
Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.
Offline