Koozali.org: home of the SME Server

httpd.conf

Offline ElFroggio

  • *
  • 262
  • +0/-0
httpd.conf
« on: November 01, 2010, 08:43:37 PM »
Hi,

I have a very large .htaccess file in one of the ibay. with a couple of hundreds of RewriteRule[1]. I'd like to move them to httpd.conf so it's read only one, instead of every single page. I took a look at: http://wiki.contribs.org/Htaccess but I don't understand it. I want to have the rewriterules apply to only one ibay.

Could somebody point me to some examples?

Thanks

[1]: The website was rewriten a few times with different wiki/cms, so the rewriterules do the redirects for the various softwares.

Offline janet

  • *****
  • 4,812
  • +0/-0
Re: httpd.conf
« Reply #1 on: November 01, 2010, 10:30:04 PM »
ElFroggio

Quote
I took a look at: http://wiki.contribs.org/Htaccess but I don't understand it.

That wiki article refers to an example which is password protecting an ibay subfolder, implemented using the same procedure of creating a custom template, but for three different password protection methods. The content of the custom template was varied to suit the password method required.

You would use the same concept, but alter the contents of the custom template to include your Rewrite Rules and leave out the password information.
Specify the ibay location rather than the ibay subfolder location.

Search these forums on htaccess as  I recall there being a number of posts on the topic over the years. Also review the links in the wiki article to give you a better understanding.

You would need to be more specific about what exactly it is that you do not understand, the instructions are reasonably explicit & thorough, ie for the specific examples given.
« Last Edit: November 02, 2010, 09:44:42 AM by mary »
Please search before asking, an answer may already exist.
The Search & other links to useful information are at top of Forum.