How To Make s9y ignore Real Folders?
How To Make s9y ignore Real Folders?
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
how can this be fixed
-
garvinhicking
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Re: How To Make s9y ignore Real Folders?
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Re: How To Make s9y ignore Real Folders?
Code: Select all
rewriteengine Off-
garvinhicking
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Re: How To Make s9y ignore Real Folders?
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
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
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Re: How To Make s9y ignore Real Folders?
i don't really know whether that feed reader need mod rewrite or not? i'm gonna check with it's dev.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
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?
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'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 nowjudebert 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.
that might be a problem as s9y is the main site engine!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.
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,
-
garvinhicking
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Hi!
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.
regards,
Garvin
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.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!?
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.
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.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![]()
regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
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.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.
regards,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.
Garvin
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]
There are some database settings to change, too. Here's an illustrated guide showing how to move Serendipity to a new directory.
Thanks , i think that would do the jobjudebert wrote:There are some database settings to change, too. Here's an illustrated guide showing how to move Serendipity to a new directory.
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
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