Page 1 of 1

Newbie Help with Directories

Posted: Fri Jan 16, 2004 9:50 pm
by cantilever
This is designed to be a helpful post to other noobs, since I just finished installing Serendipity using the following:

OS X 10.2.8
Apache 1.3.x
PHP 4.5
MySQL 4.0.17


The installation went just fine; the only trouble I had was with the 'virtual' directory structure for the following dirs:

/entries
/archives

Since these questions came up in some other posts (with very brief replies), here's a few tips.

These two dirs are virtual, in that no actual files are written by the software when you post -- its all stored in mySQL and accessed by the index file (which is referenced by the htaccess.tpl file, I think).

To enable the correct operation of the virtual directories, you have to do two things (which I found -- finally -- after looking at several different posts:

1. Add the following to your httpd.conf

<Directory "/path/to_serendipity_files">

AllowOverride All

</Directory>

2. Restart the Apache server.

Once I did that. Everything worked like magic.