Page 1 of 1
root directory and other directories!!
Posted: Tue Dec 07, 2004 10:43 am
by Liquid Crystal
Hi all,
I have s9y set up fine on my web server (Apache2) and s9y is installed on the "DocumentRoot", for example; it is in /var/www/localhost/htdocs.
Now if I try to create any subdirectory under my DocumentRoot and try to point to it through my browser, I get routed back to s9y!!!!
I hope I was clear enough for you all to understand my problem...As I would really appreciate any suggestions/solutions or ideas.
Re: root directory and other directories!!
Posted: Tue Dec 07, 2004 11:00 am
by garvinhicking
Serendipity usually only routes back to the blog for non-existing subdirectories (404). So are you sure you're using the right URL?
You could also try to set the 'Rewrite' Serendipity Configuration directive to 'None' and then no routing should take place...
Regards,
Garvin
Posted: Tue Dec 07, 2004 1:12 pm
by Liquid Crystal
Do you mean to set "URL Rewriting" option to "Disable URL Rewriting" in "Appearance and Options" under the s9y configuration?
Configuration > Appearance and Options > URL Rewriting
Or is it somewhere else?
Posted: Tue Dec 07, 2004 5:55 pm
by garvinhicking
Yes, that's what I meant
Regards,
Garvin
Posted: Sat Dec 11, 2004 5:12 pm
by Liquid Crystal
Unfortunately that didn't solve my problem
could it be something in my commonapache2.conf file?
like this part?
Code: Select all
<Directory />
Options Multiviews Indexes Includes FollowSymLinks
AllowOverride All
<IfModule mod_access.c>
Order allow,deny
Allow from all
</IfModule>
</Directory>
Posted: Sat Dec 11, 2004 5:35 pm
by garvinhicking
Hm, no, that shouldn't be part of the problem.
Try to temporarily remove your '.htaccess' file of the s9y root and see if that works out. If it does work afterwards, please post what your .htaccess looks like exactly.
If it still doesn't work (what I somehow expact), the trouble lies somewhere else in your Apache config...
Regards,
Garvin.
Posted: Sun Dec 12, 2004 1:10 pm
by Guest
Ok, removing my .htaccess did solve the problem
Now I can go to any directory under my DocumentRoot.
This was my .htaccess:
Code: Select all
# BEGIN s9y
DirectoryIndex /index.php
php_value session.use_trans_sid 0
php_value register_globals off
<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 s9y
Posted: Sun Dec 12, 2004 1:12 pm
by Liquid Crystal
Sorry I wasn't logged in, it is my reply
Thanks a lot garvinhicking, it's working fine
