UseVirtualHosting Property
Determines which style request to use.
Object Oriented Interface
public function getUseVirtualHosting(); public function setUseVirtualHosting($value);
Procedural Interface
incloudstorage_amazons3_get($res, 71 ); incloudstorage_amazons3_set($res, 71, $value );
Default Value
false
Remarks
If set to true, buckets will be referenced in the request using the hosted-style request: http://yourbucket.s3.amazonaws.com/yourobject. If false (default), the class will use the path-style request: http://s3.amazonaws.com/yourbucket/yourobject. This must be set to true when LocationConstraint is true.
NOTE: When set to true, there are more limitations when choosing a bucket name due to DNS server naming restrictions. See Amazon's documentation for more detailed naming information.
This property is not available at design time.
Data Type
Boolean