On Sunday, April 14, 2013 6:27:55 PM UTC-5, Wilson Styres wrote: > So I want to have multiple pages on my site so for example I have: > > example.appspot.com > > and I want to add a: > > example.appspot.com/hello > > Hello Wilson,
It depends on the programming language and type of page you're using. If you're just using a static page, then you can put a folder and a static index.html in that folder. For example, to do example.appspot.com/hello, you would put a folder named "hello" in your root directory, then put index.html in that folder. For Java, you declare it in your web.xml: https://developers.google.com/appengine/docs/java/config/webxml#About_Deployment_Descriptors <servlet> <servlet-name>comingsoon</servlet-name> <servlet-class>mysite.server.ComingSoonServlet</servlet-class> </servlet> <servlet-mapping> <servlet-name>comingsoon</servlet-name> <url-pattern>/*</url-pattern> </servlet-mapping> For Python, you can declare the handlers in your app.yaml: https://developers.google.com/appengine/docs/python/gettingstarted/helloworld handlers: - url: /.* script: helloworld.py For Go, you have to write the handlers into your Go file. For example: func init() { http.HandleFunc("/", handler) http.HandleFunc("/hello/", helloHandler) } ----------------- -Vinny P Technology & Media Advisor Chicago, IL @GOV on AppDotNet: https://alpha.app.net/gov -- 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 google-appengine+unsubscr...@googlegroups.com. To post to this group, send email to google-appengine@googlegroups.com. Visit this group at http://groups.google.com/group/google-appengine?hl=en. For more options, visit https://groups.google.com/groups/opt_out.