static pathname problem
Posted: Thu May 04, 2006 1:21 pm
I've installed Serendipity to make it accessable via domain.com/blog. Now I've created a subdomain called blog.domain.com and set the DocumentRoot (Apache2) to the same dir which has domain.com/blog.
I took a look at the .htaccess file which is in /blog and I found the reason why it doesnt works:
The reason are static pathnames. It would be nice if there would be a solutions for this problem because Serendipity really rocks... If there is a way I can change the php-code, please let me know.
I use Serendipity 1.0 Beta 2 on a Debian 3.1 System together with Apache2.
I took a look at the .htaccess file which is in /blog and I found the reason why it doesnt works:
Code: Select all
# BEGIN s9y
DirectoryIndex /blog/index.php
php_value session.use_trans_sid 0
php_value register_globals off
<Files *.tpl.php>
deny from all
</Files>
<Files *.tpl>
deny from all
</Files>
<Files *.sql>
deny from all
</Files>
<Files *.inc.php>
deny from all
</Files>
<Files *.db>
deny from all
</Files>
# END s9yI use Serendipity 1.0 Beta 2 on a Debian 3.1 System together with Apache2.