Page 1 of 2
How To Make s9y ignore Real Folders?
Posted: Wed Oct 01, 2008 5:26 am
by ameo
i tried installing feed reader and webmail script and when i go to their folders s9y takes over and redirect to the main!?
how can this be fixed
Re: How To Make s9y ignore Real Folders?
Posted: Wed Oct 01, 2008 11:47 am
by garvinhicking
Re: How To Make s9y ignore Real Folders?
Posted: Wed Oct 01, 2008 2:22 pm
by ameo
i've made a .htaccess file with the content above and still not working!
Re: How To Make s9y ignore Real Folders?
Posted: Wed Oct 01, 2008 2:33 pm
by garvinhicking
Hi!
You posted in the other mod_rewrite thread as well. Your server definitely seems to have trouble with mod_rewrite, please check your server configuration....
And make sure that the applications you put in your s9y subdirectory do NOT use mod_rewrite. If they need mod_rewrite, you cannot put them in a subdirectory of s9y, you must put it into a parallel directory structure, unrelated to s9y. The rewriterules of s9y and rewrite rules in a subdirectory will intersect, so this cannot work in most cases.
Regards,
Garvin
Re: How To Make s9y ignore Real Folders?
Posted: Wed Oct 01, 2008 2:51 pm
by ameo
garvinhicking wrote:Hi!
You posted in the other mod_rewrite thread as well. Your server definitely seems to have trouble with mod_rewrite, please check your server configuration....
And make sure that the applications you put in your s9y subdirectory do NOT use mod_rewrite. If they need mod_rewrite, you cannot put them in a subdirectory of s9y, you must put it into a parallel directory structure, unrelated to s9y. The rewriterules of s9y and rewrite rules in a subdirectory will intersect, so this cannot work in most cases.
Regards,
Garvin
i don't really know whether that feed reader need mod rewrite or not? i'm gonna check with it's dev.
as for s9y i have it on my root so if i wanted to install any other application beside it where should i put that new script?
Posted: Wed Oct 01, 2008 4:13 pm
by judebert
Good question. You may need to move s9y to a subdirectory.
I've got another idea, but I'm not sure it would work.
I'd make a directory "apps" in my root, and put the .htaccess with "RewriteEngine Off" in there. Then I'd install my other apps in the apps/ directory, and see if their .htaccess rewrite rules work.
Posted: Wed Oct 01, 2008 6:42 pm
by ameo
judebert wrote:Good question. You may need to move s9y to a subdirectory.
I've got another idea, but I'm not sure it would work.
I'd make a directory "apps" in my root, and put the .htaccess with "RewriteEngine Off" in there. Then I'd install my other apps in the apps/ directory, and see if their .htaccess rewrite rules work.
i'll try that now
Posted: Wed Oct 01, 2008 6:48 pm
by ameo
Not Working!
Posted: Thu Oct 02, 2008 4:01 pm
by judebert
Yeah, I was afraid of that. It sounds like you'll need to move s9y to a subdirectory so its .htaccess doesn't try to control all the other subdirectories.
Posted: Thu Oct 02, 2008 4:36 pm
by ameo
judebert wrote:Yeah, I was afraid of that. It sounds like you'll need to move s9y to a subdirectory so its .htaccess doesn't try to control all the other subdirectories.
that might be a problem as s9y is the main site engine!
why does s9y take control like this? i've tried so many other cms and all didn't take over all .htaccess rules!?
i can't deny that s9y is the BEST CMS i've ever used to far but forcing me to use ONLY s9y on my web space .. this is a killing point
hope there is anyway to fix this,
Posted: Thu Oct 02, 2008 5:29 pm
by garvinhicking
Hi!
that might be a problem as s9y is the main site engine!
why does s9y take control like this? i've tried so many other cms and all didn't take over all .htaccess rules!?
Because s9y tries to be flexible to support all kinds of custom permalinks! This can only be done if s9y accepts all *.html links and refers them back to its parent file.
mod_rewrite is simply not biult to "overwrite" .htaccess rules for subdirectories. This is more a flaw of mod_rewrite, not of s9y.
There are also many other CMSes that act like this and redirect all their subpages to the main index. I believe, even Typo3 does something like this.
i can't deny that s9y is the BEST CMS i've ever used to far but forcing me to use ONLY s9y on my web space .. this is a killing point
Of course it allows you to, but then you cannot use s9y in the main root directory. You need to use a different VHost for your other applications, or make s9y live within a subdir and you make a default redirection from your root to the s9y directory by default.
regards,
Garvin
Posted: Fri Oct 03, 2008 7:33 am
by ameo
garvinhicking wrote:Hi!
Because s9y tries to be flexible to support all kinds of custom permalinks! This can only be done if s9y accepts all *.html links and refers them back to its parent file.
There are also many other CMSes that act like this and redirect all their subpages to the main index. I believe, even Typo3 does something like this.
Of course it allows you to, but then you cannot use s9y in the main root directory. You need to use a different VHost for your other applications, or make s9y live within a subdir and you make a default redirection from your root to the s9y directory by default.
regards,
Garvin
i agree with you that s9y gives us really good premalinks control, but i also need to mention that habber, chyrp, joomla and wordpress all offer a respectable [pretty] premalinks too and without the complications in .htaccess rules that s9y has.
i'm not saying they're better - coz they aren't- i tried almost all blogging engines listed and all was giving me hard time is things related to the core / content handling, and not links structure.
***********************************
as for moving s9y to a subdir. do i need to do anything beside moving all the files related to s9y in my root to a subdir?
thanks
[/quote]
Posted: Fri Oct 03, 2008 4:22 pm
by judebert
Posted: Sat Oct 04, 2008 6:51 am
by ameo
Thanks , i think that would do the job

Posted: Sat Oct 04, 2008 11:14 am
by ameo
i got the whole moving to subdir steps,
just one point that i wanna know about!
the images saved into my posts!
all the URL are like " ROOT/Uploads/Img-Name "
will that be auto-fixed through the engine or i'll have to edit ALL the entries i have on my blog?
i have about 150 img there and it'd be painful to keep on editing all the URLS !
thanks