For example, in the apache config or .htaccess file in combination with an
actual short links subdomain setup as you described:
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f [OR]
RewriteCond %{REQUEST_FILENAME} !-d
# assumes /whatever is the short-link
# change 301 to 302 for temporary redirect vs permanent
RewriteRule (.*) http://goto.erapanama.com/$1 [R=301,L]
I use something similar to this to allow for both base domain &
www.{domain} processing to work with short links when I don't use other
services on Google.
Bob Parker
b...@perldevgeek.com
>--
>You received this message because you are subscribed to the Google Groups
>"Google Apps Labs Short Links" group.
>To post to this group, send email to
>google-apps-la...@googlegroups.com.
>To unsubscribe from this group, send email to
>google-apps-labs-sho...@googlegroups.com.
>For more options, visit this group at
>http://groups.google.com/group/google-apps-labs-short-links?hl=en.
>
--
You received this message because you are subscribed to the Google Groups "Google Apps Labs Short Links" group.
To post to this group, send email to google-apps-la...@googlegroups.com.
To unsubscribe from this group, send email to google-apps-labs-sho...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-apps-labs-short-links?hl=en.
Great contribution, Bob!
lilurl is useful if you want to avoid editing the file. htaccess and manage your short links in a database.
Anyway, I suspect that Alfonso is using IIS; and ISAPI_Rewrite would be very useful
* http://www.helicontech.com/isapi_rewrite/doc/