Toggle navigation
Koozali.org: home of the SME Server
Community
Forums
Bugs
Lists
Forum Help
Download
SME Server ISOs
Contribs
Documentation
Manual
Wiki
FAQ
HowTo
Donate
Search
Login
Register
Login
Register
×
Close
Login
Remember me
Koozali.org: home of the SME Server
Obsolete Releases
SME Server 7.x
Topic:
Building Rewrite Rules in 1 ibay (template help)
« previous
next »
+
Print
Pages: [
1
]
Go Down
Building Rewrite Rules in 1 ibay (template help)
1 Replies
1454 Views
jfarschman
406
+0/-0
Building Rewrite Rules in 1 ibay (template help)
«
on:
June 19, 2006, 10:47:38 PM »
Hello,
I need some template help. I'm trying to migrate a website to a virtual host ibay on my SME server. The problem is... this web site needs to do redirection:
RewriteEngine on
RewriteRule ^([^-]+)\.htm$ redirect.php?page=$1.htm
RewriteRule ^([^-]+)\.html$ redirect.php?page=$1.html
These rules will take an URL like:
http://www.specialibay.com/ContactUs.html
and change it to:
http://www.specialibay.com/redirect.php?page=ContactUs.html
Then redirect.php pulls the web page from the mysql DB.
Anybody know how to template this?
Logged
Jay Farschman
ICQ - 60448985
jay@hitechsavvy.com
davibou
79
+0/-0
Building Rewrite Rules in 1 ibay (template help)
«
Reply #1 on:
September 09, 2006, 11:43:29 PM »
Think template not needed
try this
# db accounts setprop ibayname AllowOverride All
# signal-event ibay-modify ibayname
and after just create a .htaccess with your rewrite rules
tell me if it works
)
Logged
+
Print
Pages: [
1
]
Go Up
« previous
next »
Koozali.org: home of the SME Server
Obsolete Releases
SME Server 7.x
Topic:
Building Rewrite Rules in 1 ibay (template help)