I initiatially installed serendipity into my root directory. It was working fine, until I realized that if I created a new non-serendipity-related directory in / I could not access it: typing nibz.org/something/index.html always landed me on nibz.org/index.php.
I assumed there must be a reason for the default installation to /serendipity, so I changed the paths, and copied all of the serendipity files to /serendipity. I then created a new index.php files as advised in this forum, but got an error mistake about cyclic links.
So I tried editing the .htaccess file, and this worked.
But I have new problems:
1. my serendipity v2.3 style is gone; in fact there is no style at all, and logging in as admin to change the style does not change anything.
2. while the url www.nibz.org/ lands me in the serendipity blog, typing www.nibz.org/serendipity displays the list of files, despite the presence of the index.php file. Surely this is not normal, and dangerous.
3. The same applies to the new directories I create in /. So nibz.org/something/ displays the list of files, despite the presence of index.html.
How can I solve these problems?
Thanks a lot
Directory problems
-
garvinhicking
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Re: Directory problems
The easiest way would be to change back serendipity having in your root directory.
Then just put a .htaccess file into each subdirectory you want to use that is not serendipity related with this content:
The harder way for you to get it running is to make sure all your serendipity Path configuration settings are properly configured. When the styles are missing it usually means you have wrong paths in your .htaccess or in your serendipity_config database table.
The second issue is because your Apache has DirectoryIndex options set to true.
Regards,
Garvin
Then just put a .htaccess file into each subdirectory you want to use that is not serendipity related with this content:
Code: Select all
RewriteEngine Off
The second issue is because your Apache has DirectoryIndex options set to true.
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/