Skip to content
Browse files

Update rewrite rules

  • Loading branch information...
1 parent 36d7111 commit a5e7bd9a769e3503c3fb05e439c0316547bd66f7 @haraldpdl committed Apr 10, 2013
Showing with 7 additions and 1 deletion.
  1. +7 −1 .htaccess
View
8 .htaccess
@@ -1,10 +1,15 @@
+Header set Pinky "Gee, Brain, what do you want to do tonight?"
+Header set TheBrain "The same thing we do every night, Pinky—try to take over the world!"
+
RewriteEngine On
RewriteRule ^shops[\.php]*/live(.*)$ http://shops.oscommerce.com [R=301,L]
RewriteRule ^community[\.php]*/contributions,(.*)$ http://addons.oscommerce.com/info/$1 [R=301,L]
RewriteRule ^community[\.php]*/bugs(.*)$ http://forums.oscommerce.com/tracker [R=301,L]
+RewriteRule ^contributions/(.*)$ http://addons.oscommerce.com/files/$1 [R=301,L]
+
RewriteRule ^oscommerce\.rdf$ /public/sites/Website/rss/news.xml [R=301,L]
RewriteRule ^rss/news_and_blogs\.rss$ /public/sites/Website/rss/news_and_blogs.xml [R=301,L]
RewriteRule ^oscommerce_contributions\.rdf$ /public/sites/Website/rss/addons.xml [R=301,L]
@@ -37,10 +42,11 @@ RewriteCond %{HTTP_USER_AGENT} !FeedBurner
RewriteRule ^public/sites/Website/rss/addons\.xml$ http://feeds.feedburner.com/osCommerce_Contributions [R=301,L]
RewriteCond %{HTTP_HOST} ^usage\.oscommerce\.com$
-RewriteRule ^submit\.php$ RPC&Website&Index&SaveUserServerInfo [L]
+RewriteRule ^submit\.php$ /index.php?RPC&Website&Index&SaveUserServerInfo [L]
Redirect 301 /newsletter/subscribe http://oscommerce.list-manage.com/subscribe?u=a5961750a3635e18fdf4bb539&id=10af90c126
+RewriteCond %{HTTP_HOST} ^[www\.|library\.]*oscommerce\.com$
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php?$1 [L]

0 comments on commit a5e7bd9

Please sign in to comment.
Something went wrong with that request. Please try again.