Koozali.org: home of the SME Server

Obsolete Releases => SME Server 7.x => Topic started by: ElFroggio on August 04, 2010, 11:03:18 PM

Title: Trying to reload .htaccess
Post by: ElFroggio on August 04, 2010, 11:03:18 PM
I thought that doing a signal-event ibay-modify ibayname would reload .htaccess . It doesn't look like it's doing it.

I have many rewriterules in .htaccess for the conversion of a website to another. As the pages are converted, I remove the specific rule for the page and issue a signal-event. But this doesn't remove the redirection.

Any suggestion of either what I'm doing wrong or a better way of doing the migration from 1 website to another, while keeping the old website live and the new website with the new stuff.

Thanks.
Title: Re: Trying to reload .htaccess
Post by: CharlieBrady on August 05, 2010, 01:59:35 PM
I thought that doing a signal-event ibay-modify ibayname would reload .htaccess . It doesn't look like it's doing it.

SME server by default does not use .htaccess. Put any access control rules in a template fragment for htttpd.conf.
Title: Re: Trying to reload .htaccess
Post by: janet on August 05, 2010, 02:29:28 PM
ElFroggio

See http://wiki.contribs.org/Htaccess
Title: Re: Trying to reload .htaccess
Post by: ElFroggio on August 05, 2010, 04:19:18 PM
See http://wiki.contribs.org/Htaccess

Thanks for letting me know, but isn't this as a global?

There's also something that I didn't mention, like always. This ibay runs with the contribs php5 and I have 3 php flags in the .htaccess. As far as I know, 1 of the flag is php5 flag.

Thanks
Title: Re: Trying to reload .htaccess
Post by: janet on August 05, 2010, 08:00:37 PM
ElFroggio

Quote
....isn't this as a global?

Did you read the Howto ?
The very first line mentions ibays.
This howto is really just one example of what can be done, you can put whatever settings you want.