Page 1 of 1

Not using indexFile (problems with embedding) [SOLVED]

Posted: Mon Oct 03, 2005 1:28 am
by PhragMunkee
I am attempting to embed s9y into a site and it does not seem to be using the indexFile configuration option.

I have a setup similar to the one described here and am using the Smarty template engine. Everything seems to work fine if I link directly to the '/blog/wrapper.php'. However, if any links are followed that do no include the 'wrapper.php', I do not get the template-formatted output.

See here:
- Working
- Not Working

I have double-checked my browser cache and emptied it several times. I also removed all the files in /blog/templates_c.

I've run out of ideas other than s9y's index.php is possibly not doing anything with the indexFile option.

I'm using Serendipity 0.8.5 on Apache/1.3.33 (Unix) PHP/4.4.0. If anyone needs to, you can look at my phpinfo() output here.

Thanks,
PM

[EDIT by PM] Solved! (sorta) See reply below. [/EDIT]

Posted: Mon Oct 03, 2005 8:08 am
by PhragMunkee
I found a fix. I edited the .htaccess file and changed

Code: Select all

DirectoryIndex /blog/index.php
to

Code: Select all

DirectoryIndex /blog/wrapper.php