Koozali.org: home of the SME Server
Obsolete Releases => SME Server 7.x => Topic started by: ElFroggio 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.
-
ElFroggio
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.