Forum Moderators: phranque
Options +FollowSymLinks
RewriteEngine On
RewriteCond %{HTTP_HOST} ^www\.(.*)
RewriteRule ^([a-zA-Z0-9]+).app$ [%1...] [R=301,L]
... other mappings
... and other mappings...
etc...
1. Options +FollowSymLinks
2. RewriteEngine On
3. RewriteCond %{HTTP_HOST} ^www\.(.*)
4. RewriteRule ^([a-zA-Z0-9]+)\.app$ [http://%1/$1\.app] [R=301,L]
5. RewriteRule ^([a-zA-Z0-9]+).login$ cgi-bin/sys/login.pl?$1 [L,NC]
6. RewriteRule ^([a-zA-Z0-9]+).app$ cgi-bin/core/safecheck.pl?$1 [L,NC]
7. RewriteRule ^([a-zA-Z0-9]+).js$ cgi-bin/core/parsejs.pl?$1 [L,NC]
8. RewriteRule ^rss.html$ cgi-bin/core/rss.pl [L,NC]
9. RewriteRule ^search.bs$ cgi-bin/core/search.pl [L,NC]
10. RewriteRule ^advsearch.bs$ cgi-bin/core/advsearch.pl [L,NC]
11. RewriteRule ^contact.bs$ cgi-bin/core/contact.pl [L,NC]
1. Options +FollowSymLinks
2. RewriteEngine On
3. RewriteCond %{HTTP_HOST} ^www\.(.*)
4. RewriteRule ^([a-zA-Z0-9]+)\.app$ [http://%1/$1\.app] [R=301,L]
5. RewriteCond %{HTTP_HOST} ^www\.(.*)
6. RewriteRule ^([a-zA-Z0-9]+).login$ cgi-bin/sys/login.pl?$1 [L,NC]
7. RewriteCond %{HTTP_HOST} ^www\.(.*)
8. RewriteRule ^([a-zA-Z0-9]+).app$ cgi-bin/core/safecheck.pl?$1 [L,NC]
9. RewriteCond %{HTTP_HOST} ^www\.(.*)
10. RewriteRule ^([a-zA-Z0-9]+).js$ cgi-bin/core/parsejs.pl?$1 [L,NC]
11. RewriteCond %{HTTP_HOST} ^www\.(.*)
12. RewriteRule ^rss.html$ cgi-bin/core/rss.pl [L,NC]
13. RewriteCond %{HTTP_HOST} ^www\.(.*)
14. RewriteRule ^search.bs$ cgi-bin/core/search.pl [L,NC]
15. RewriteCond %{HTTP_HOST} ^www\.(.*)
16. RewriteRule ^advsearch.bs$ cgi-bin/core/advsearch.pl [L,NC]
17. RewriteCond %{HTTP_HOST} ^www\.(.*)
18. RewriteRule ^contact.bs$ cgi-bin/core/contact.pl [L,NC]
1. Options +FollowSymLinks
2. RewriteEngine On
3. RewriteCond %{HTTP_HOST} ^www\.(.*)
4. RewriteRule ^([a-zA-Z0-9]+)\.app$ [http://%1/$1\.app] [R=301,L]
5. RewriteCond %{HTTP_HOST} ^www\.(.*)
6. RewriteRule ^([a-zA-Z0-9]+)\.login$ cgi-bin/sys/login\.pl?$1 [L,NC]
7. RewriteCond %{HTTP_HOST} ^www\.(.*)
8. RewriteRule ^([a-zA-Z0-9]+)\.app$ cgi-bin/core/safecheck\.pl?$1 [L,NC]
9. RewriteCond %{HTTP_HOST} ^www\.(.*)
10. RewriteRule ^([a-zA-Z0-9]+)\.js$ cgi-bin/core/parsejs\.pl?$1 [L,NC]
11. RewriteCond %{HTTP_HOST} ^www\.(.*)
12. RewriteRule ^rss\.html$ cgi-bin/core/rss\.pl [L,NC]
13. RewriteCond %{HTTP_HOST} ^www\.(.*)
14. RewriteRule ^search\.bs$ cgi-bin/core/search\.pl [L,NC]
15. RewriteCond %{HTTP_HOST} ^www\.(.*)
16. RewriteRule ^advsearch\.bs$ cgi-bin/core/advsearch\.pl [L,NC]
17. RewriteCond %{HTTP_HOST} ^www\.(.*)
18. RewriteRule ^contact\.bs$ cgi-bin/core/contact\.pl [L,NC]