Koozali.org: home of the SME Server

Trying to reload .htaccess

Offline ElFroggio

  • *
  • 262
  • +0/-0
Trying to reload .htaccess
« 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.

Offline CharlieBrady

  • *
  • 6,918
  • +3/-0
Re: Trying to reload .htaccess
« Reply #1 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.

Offline janet

  • *****
  • 4,812
  • +0/-0
Re: Trying to reload .htaccess
« Reply #2 on: August 05, 2010, 02:29:28 PM »
Please search before asking, an answer may already exist.
The Search & other links to useful information are at top of Forum.

Offline ElFroggio

  • *
  • 262
  • +0/-0
Re: Trying to reload .htaccess
« Reply #3 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

Offline janet

  • *****
  • 4,812
  • +0/-0
Re: Trying to reload .htaccess
« Reply #4 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. 
Please search before asking, an answer may already exist.
The Search & other links to useful information are at top of Forum.