Using index.html as cover page instead index.php?

Having trouble installing serendipity?
Post Reply
Huhu
Regular
Posts: 157
Joined: Tue Oct 04, 2011 3:22 pm

Using index.html as cover page instead index.php?

Post by Huhu »

EDIT Solved, at least it seems so.
I got the DirectoryIndex working with an index.html file instead of the index.php by commenting out

Code: Select all

# RewriteRule ^index\.(html?|php.+) index.php?url=index.html [L,QSA]
# RewriteRule (.*\.html?) index.php?url=/$1 [L,QSA][/quote]
It currently does not *seem* to have bigger impact on the overall behaviour.

----
I want to create a cover page that is *not* part of the s9y installation, but resides in the s9y root directory.
In previous installations, this had not been an issue.

To change the s9y index file in Server Settings is not an option since s9y wouldn't work anymore, of course.
I guess this is just a simple rule-outcommenting problem? Which line should be changed so that it would *not* affect the cms behaviour?

Then, I also have issues with the "Set as 404 error page" on Static pages. It does not seem to work.
it should be like this,
but throws this standard response.

Thanks for any help!


Code: Select all

DirectoryIndex /index.html

Options -MultiViews

<IfModule mod_rewrite.c>
RewriteEngine On
(RewriteBase /s9yFolder/)
RewriteRule ^plugins/.+/documentation.*\.html - [L]
RewriteRule ^serendipity_admin.php serendipity_admin.php [NC,L,QSA]
RewriteRule ^((archives/([0-9]+)\-[0-9a-z\.\_!;,\+\-\%]+\.html)/?) index.php?/$1 [NC,L,QSA]
RewriteRule ^(authors/([0-9]+)\-[0-9a-z\.\_!;,\+\-\%]+) index.php?/$1 [NC,L,QSA]
RewriteRule ^(feeds/categories/([0-9;]+)\-[0-9a-z\.\_!;,\+\-\%]+\.rss) index.php?/$1 [NC,L,QSA]
RewriteRule ^(feeds/authors/([0-9]+)\-[0-9a-z\.\_!;,\+\-\%]+\.rss) index.php?/$1 [NC,L,QSA]
RewriteRule ^(categories/([0-9;]+)\-[0-9a-z\.\_!;,\+\-\%]+) index.php?/$1 [NC,L,QSA]
RewriteRule ^archives([/A-Za-z0-9]+)\.html index.php?url=/archives/$1.html [NC,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 ^(artrats|entries)(/.+)?$ index.php?url=artrats/ [L,QSA]
RewriteRule ^archive/? index.php?url=/archive [L,QSA]
RewriteRule ^(index|atom[0-9]*|rss|b2rss|b2rdf).(rss|rdf|rss2|xml) rss.php?file=$1&ext=$2
RewriteRule ^(plugin|plugin)/(.*) index.php?url=$1/$2 [L,QSA]
RewriteRule ^search/(.*) index.php?url=/search/$1 [L,QSA]
RewriteRule ^comments/(.*) index.php?url=/comments/$1 [L,QSA]
RewriteRule ^(serendipity\.css|serendipity_admin\.css)$ index.php?url=/$1 [L,QSA]
RewriteRule ^(serendipity\.js|serendipity_admin\.js)$ index.php?url=/$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]
</IfModule>
Post-apocalyptic Jugger sports: What is Jugger? Video I Free ebook on the sport
Post Reply