Hej,
I would like to have a frontpage before going directly into my blog, so I changed the name of index.php to index2.php.
But of course the content of the BaseUrl-variable is now wrong, which the css-stylesheets-link needs now. Where in this bundle of scripts can I found where these variables are set? Does anybody know that?
Would be happy for some help
Thank you
Stefan
changing the name of index.php
-
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Re: changing the name of index.php
Hi!
Instead look up the technical documentation regarding the "embedded mode" and the "IndexFile" s9y configuration option.
The other way would be for you to create a "index.html" file instead, edit your .htaccess to use "DirectoryIndex index.html /index.php" (or "/path/to/your/s9y/index.php). If you are using mod_Rewrite, you will also need to add a
before the two RewriteRules that affect index.html matches.
Best regards,
Garvin
You can't do that, Serendipity depends on that and you would have to change many places.I would like to have a frontpage before going directly into my blog, so I changed the name of index.php to index2.php.
Instead look up the technical documentation regarding the "embedded mode" and the "IndexFile" s9y configuration option.
The other way would be for you to create a "index.html" file instead, edit your .htaccess to use "DirectoryIndex index.html /index.php" (or "/path/to/your/s9y/index.php). If you are using mod_Rewrite, you will also need to add a
Code: Select all
RewriteCond !^.*index\.html.*$ %{REQUEST_URI}
Best regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/