Page 1 of 1

can't access other folders on serendipity domain

Posted: Mon Nov 26, 2007 9:37 pm
by Ralf Skirr
Hi,

I have serendipity installed in the root of the domain.
Now I want to install separate content in subfolders at the same domain.

When I enter the path to the subfolder I am redirected to the root and thus to the serendipity main page.

Can I fix this?

In case this has to do with htaccess rewrite rules, here's the content of htaccess in root of domain:
# BEGIN s9y
ErrorDocument 404 /index.php
DirectoryIndex /index.php
php_value session.use_trans_sid 0
php_value register_globals off

RewriteEngine On
RewriteBase /
RewriteRule ^(([0-9]+)-[0-9a-z\.\_!;,\+\-\%]+\.html) index.php?/$1 [NC,L,QSA]
RewriteRule ^(authors/([0-9]+)-[0-9a-z\.\_!;,\+\-\%]+) index.php?/$1 [NC,L,QSA]
RewriteRule ^(feeds/categories/([0-9;]+)-[0-9a-z\.\_!;,\+\-\%]+\.rss) index.php?/$1 [NC,L,QSA]
RewriteRule ^(feeds/authors/([0-9]+)-[0-9a-z\.\_!;,\+\-\%]+\.rss) index.php?/$1 [NC,L,QSA]
RewriteRule ^(categories/([0-9;]+)-[0-9a-z\.\_!;,\+\-\%]+) index.php?/$1 [NC,L,QSA]
RewriteRule ^articles([/A-Za-z0-9]+)\.html index.php?url=/articles/$1.html [NC,L,QSA]
RewriteRule ^([0-9]+)[_\-][0-9a-z_\-]*\.html index.php?url=$1-article.html [L,NC,QSA]
RewriteRule ^feeds/(.*) index.php?url=/feeds/$1 [L,QSA]
RewriteRule ^unsubscribe/(.*)/([0-9]+) index.php?url=/unsubscribe/$1/$2 [L,QSA]
RewriteRule ^approve/(.*)/(.*)/([0-9]+) index.php?url=approve/$1/$2/$3 [L,QSA]
RewriteRule ^delete/(.*)/(.*)/([0-9]+) index.php?url=delete/$1/$2/$3 [L,QSA]
RewriteRule ^(admin|entries)(/.+)? index.php?url=admin/ [L,QSA]
RewriteRule ^archive/? index.php?url=/archive [L,QSA]
RewriteRule ^(index|atom[0-9]*|rss|b2rss|b2rdf).(rss|rdf|rss2|xml) rss.php?file=$1&ext=$2
RewriteRule ^(plugin|plugin)/(.*) index.php?url=$1/$2 [L,QSA]
RewriteRule ^search/(.*) index.php?url=/search/$1 [L,QSA]
RewriteRule ^comments/(.*) index.php?url=/comments/$1 [L,QSA]
RewriteRule ^(serendipity\.css|serendipity_admin\.css) index.php?url=/$1 [L,QSA]
RewriteRule ^index\.(html?|php.+) index.php?url=index.html [L,QSA]
RewriteRule ^htmlarea/(.*) htmlarea/$1 [L,QSA]
RewriteRule (.*\.html?) index.php?url=/$1 [L,QSA]
I don't understand a word of this, so if a change is needed in these rewrite rules please give dummy-proof instructions. :lol:

Thanks

Re: can't access other folders on serendipity domain

Posted: Mon Nov 26, 2007 9:49 pm
by garvinhicking
Hi!

You can't run the same s9y installation in the / of a domain and at the same time also in a /directory of another domain. You can only run s9y on different domains in the same paths (blog.xx.x/s9y/ adsasd.xx.x/s9y/s9y/).

Regards,
Garvin

misunderstanding

Posted: Mon Nov 26, 2007 10:01 pm
by Ralf Skirr
Hi Garvin,

thanks for the quick answer.

There's a misunderstanding.

I want to run serendipity in the root of the domain.

Then I want to have subfolders on the same domain where I put content completely unrelated to serendipity. But I can't access that sub folder because the browser immediately shows the serendipity main page again.

mydomain.com/ = blog

mydomain.com/folder/ = any content, e.g. simple html page

Ralf

Re: misunderstanding

Posted: Mon Nov 26, 2007 10:04 pm
by garvinhicking
Hi RAlf!

Aaah, now I see. Sorry for misunderstanding you. Must be too late ;)

You can follow the FAQ:

http://www.s9y.org/11.html#A13

Regards,
Garvin

Re: misunderstanding

Posted: Mon Nov 26, 2007 10:26 pm
by Ralf Skirr
garvinhicking wrote: Aaah, now I see. Sorry for misunderstanding you. Must be too late ;)
Or maybe the guy posting his question wasn't very clear. That's what happens when German guys visit english speaking forums and try to express themselves.

:D

Thanks for the pointer to the FAQ, that helps.

Ralf