Hi Garvin
Yes thats what I said... it seems like a matter of .htaccess
I did not change my "URL Rewriting" option in the s9y configuration,
see examples:
Regards, Ian
Code: Select all
/s9y/pages/imprint.html [Template 1]
/s9y/index.php?pages/imprint.html [url look in Template 2]
changing template this will
not get redirected and shows just the start page
Code: Select all
/s9y/pages/contact.html [Template 1]
/s9y/index.php?pages/contact.html [url look in Template 2]
changing template this will
not get redirected and shows just the start page
Code: Select all
/s9y/archives/269-Die-letzte-Fahrt.html [Template 1]
/s9y/index.php?archives/269-Die-letzte-Fahrt.html [url look in Template 2]
changing template this
will get redirected and shows the correct page!!
Code: Select all
/s9y/plugin/bookmarks [Template 1]
/s9y/index.php?plugin/bookmarks [url look in Template 2]
changing template this will
not get redirected and shows just the start page
Code: Select all
/s9y/archive [Template 1]
/s9y/index.php?archive [url look in Template 2]
changing template this will
not get redirected and shows just the start page
.htaccess
Code: Select all
# BEGIN s9y
ErrorDocument 404 /s9y/index.php
DirectoryIndex /s9y/index.php
RewriteEngine On
RewriteBase /s9y/
RewriteRule ^archives([/A-Za-z0-9]+)\.html index.php?url=/archives/$1.html [L,QSA]
RewriteRule ^([0-9]+)[_\-][0-9a-z_\-]*\.html index.php?url=$1-article.html [L,NC,QSA]
RewriteRule ^feeds/(.*) index.php?url=/feeds/$1 [L,QSA]
RewriteRule ^unsubscribe/(.*)/([0-9]+) index.php?url=/unsubscribe/$1/$2 [L,QSA]
RewriteRule ^approve/(.*)/(.*)/([0-9]+) index.php?url=approve/$1/$2/$3 [L,QSA]
RewriteRule ^delete/(.*)/(.*)/([0-9]+) index.php?url=delete/$1/$2/$3 [L,QSA]
RewriteRule ^(admin|entries)(/.+)? index.php?url=admin/ [L,QSA]
RewriteRule ^archive$ index.php?url=/archive [L,QSA]
RewriteRule ^categories/([0-9]+) index.php?url=/categories/$1 [L,QSA]
RewriteRule ^(index|atom|rss|b2rss|b2rdf).(rss|rdf|rss2|xml)$ rss.php?file=$1&ext=$2
RewriteRule ^plugin/(.*) index.php?url=plugin/$1 [L,QSA]
RewriteRule ^search/(.*) index.php?url=/search/$1 [L,QSA]
RewriteRule ^(serendipity\.css|serendipity_admin\.css) index.php?url=/$1 [L,QSA]
RewriteRule ^authors/([0-9]+) index.php?url=/authors/$1 [L,QSA]
RewriteRule ^index\.(html?|php.?) index.php?url=index.html [L,QSA]
RewriteRule ^htmlarea/(.*) htmlarea/$1 [L,QSA]
RewriteRule (.*\.html?) index.php?url=/$1 [L,QSA]
<Files *.tpl>
deny from all
</Files>
<Files *.sql>
deny from all
</Files>
<Files *.inc.php>
deny from all
</Files>
<Files *.db>
deny from all
</Files>
# END s9y