![]() ![]() The Map Remote tool can map an HTTP request to an HTTPS destination and vice-versa, so you can have HTTP or HTTPS sites mapped into their opposites. If you want to map to the root directory, put a / in the destination path field. If you don't specify a path in the destination mapping then the path part of the URL will not be changed. You can map directory with file pattern to directory, such as /charles/*.php to localhost/charlesdev/ You can map file to file, such as /charles/download.php to abc.com/testing/test.html You can map directory to directory, such as /charles/ to localhost/charlesdev/ Use a mapping like /css/ to dev.com/css/ or /*.css to dev.com. For example, you may want to serve the css and images directories from your development server. Map Remote is useful if you have a development version of a site and would like to be able to browse the live site with some of the requests being served from development. For example, you could serve a subdirectory of one site for another with a mapping from /charles/ to localhost/charlesdev/, or serve all files with a given suffix from another site with a mapping from /*.php to localhost/charlesdev/. This mapping enables you to serve all or part of one site from another. The Map Remote tool changes the request location, per the configured mappings, so that the response is transparently served from the new location as if that was the original request.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |