Assuming you're using PHP, you can create a script that handles /folder/.* and responses with the corresponding redirection headers to GCS objects.
On Wednesday, March 25, 2015 at 9:18:06 AM UTC-7, Paul Canning wrote: > > I have a static file in my app that ideally needs to sit in a bucket in > GCS. > > Unfortunately, there are old references to the direct URL, so I am unable > to use the GCS public URL. > > How can I redirect (think htaccess 301) the static file URL to the GCS > object URL? > > Example: > > http://www.domain.com/folder/file.zip > > http://storage.googleapis.com/bucket-name/file.zip > -- You received this message because you are subscribed to the Google Groups "Google App Engine" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/google-appengine. To view this discussion on the web visit https://groups.google.com/d/msgid/google-appengine/ea84c49b-e0cb-4b69-8e93-00dce3c848c9%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
